timefold-solver
timefold-solver copied to clipboard
The open source Solver AI for Java, Python and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other plann...
Dear TimefoldAI, **Describe the bug** I created a basic demonstration of a timeshift employee schedule. It uses overconstraint in order to leave unassinged shifts. But having extra shifts, way more...
If the python solver is executed from a working directory that contains a directory called `java` (or maybe `javax` too), we get this error message: ``` ModuleNotFoundError: No module named...
**Describe the bug** Gradle build fails with an exception when running the upgrade script for Timefold Solver. The error indicates that the `rewrite()` method is not found. **Expected behavior** he...
When run 100_000 times on my laptop, it timed out 5 times. In that case, the test would hang on job.getFinalBestSolution().
**Describe the bug** An error is encountered when attempting to annotate a ValueRangeProvider as a CountableValueRange **Expected behavior** No error is encountered **Actual behavior** ``` java.lang.java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: The entityClass (class...
**Describe the bug** When instantiating a planning entity with a lambda as an attribute, an error will be thrown at runtime **Expected behavior** It should work equivalently to passing a...
**Describe the bug** Attempting to have two planning entities refer to each other leads to a runtime error **Expected behavior** It should work just as it already does if the...
**Describe the bug** Attempting to make a planning entity class generic fails with a runtime error **Expected behavior** Solving succeeds just as it does without the generic **Actual behavior** ```...
**Describe the bug** Attempting to use easy_score_calculator in a python solver causes a runtime error **Expected behavior** No error **Actual behavior** ``` Traceback (most recent call last): File "DefaultSolver.java", line...
**Describe the bug** After upgrading Python from version 3.10.12 to 3.11.10 my previously working code stopped working. **To Reproduce** I believe this is the relevant bit of code: ```python @planning_entity...