Installing Timefold Solver Plus & Enterprise
In order to work with the commercial editions of Timefold Solver, 2 actions need to be taken:
License Key
A correctly configured and active license key is required in order for our commercial versions to function.
Obtaining a license key
Contact us through our webform.
|
Take care not to leak the license file, for example by committing it to a public repository, logging the license file content in logs, or sharing it with unauthorized parties. |
Set up your license key
After obtaining your license file (.pem) you can introduce it to your project by one of the following methods:
-
Store the license’s PEM string in the
TIMEFOLD_ENTERPRISE_LICENSEenvironment variable. -
Store the absolute path to the file in
TIMEFOLD_ENTERPRISE_LICENSE_PATHenvironment variable. -
Place the file in the user’s home directory.
-
Place the file in the root of your application classpath.
Use the enterprise artifacts
The commercial edition uses different artifacts than our open-source version. These artifacts are available from Maven Central, so no additional repositories need to be configured.
|
To avoid operational complexity, both Plus and Enterprise editions of Timefold Solver use the |
Replace references to open-source artifacts by their enterprise counterparts
as shown in the following table:
| Open source | Enterprise |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
If you were not using some of these open source artifacts until now, you do not need to add the enterprise counterparts to your project either.
Troubleshooting
After migrating to a commercial edition, most projects work out of the box.
When using the Enterprise version, automatic node sharing is the only feature that places additional restrictions on your code. If you run into unexpected behavior, try disabling that feature or align your code to comply.
If that did not resolve the issue, contact Timefold support.