We forked OptaPlanner as Timefold some time ago. We often get this question:
Timefold changes all import statements and dependencies. How do I migrate an OptaPlanner codebase to Timefold efficiently?
We forked OptaPlanner as Timefold some time ago. We often get this question:
Timefold changes all import statements and dependencies. How do I migrate an OptaPlanner codebase to Timefold efficiently?
No need to manually change imports statements, dependencies, etc. Just run a single command:
Pick the right Timefold version:
Copy paste the Maven or Gradle command from here. For Maven it looks like this:
mvn org.openrewrite.maven:rewrite-maven-plugin:4.46.0:run -Drewrite.recipeArtifactCoordinates=ai.timefold.solver:timefold-solver-migration:0.8.39 -Drewrite.activeRecipes=ai.timefold.solver.migration.ToLatest
Run the solver in your application. Verify the score calculation speed is faster now. Look at the last log message:
INFO Solving ended: ... score calculation speed (103322/sec) ...
Commit the local changes.