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...
Assume two constraints sharing the same `UniConstraintStream`: ``` @Override public Constraint[] defineConstraints(ConstraintFactory factory) { UniConstraintStream nonVirtualVehicles = factory.forEach(VehicleShift.class) .filter(vehicleShift -> !vehicleShift.isVirtual()); return new Constraint[] { // hard endLocationMaxArrivalTimeHardLimit(nonVirtualVehicles), lastVisitMaxDepartureTimeHardLimit(nonVirtualVehicles) };...
We need to keep an eye on the performance of SolutonManager.explain() . Let's have a test that calls it a 100(00) times for a number of random datasets (small/medium/big?) so...
`SolverManager.terminateEarly()` does not offer any kind of blocking until the underlying solver really terminates. Add a new method `SolverManager.terminateEarlyAndWait(... [, timeout])`.
This pull request enhances the logic of the shadow variable @CascadingUpdateShadowVariable. The new approach eliminates the need to define sources and automatically runs the listener at the end of the...
Opening this draft PR to see CI results for javadoc & collect early feedback #### Open items - [x] domain - [x] impl related to domain package - [x] function...
There is currently no way to notify a user that the solver has started for any particular `SolverJob`. Therefore we're seeing people use `problemFinder` to do all sorts of initialization...
Is there a reason why this has not been implemented yet? As far as I am aware, the following terminations are available: | | Total | Unimproved | Unimproved with...
To reproduce: ``` sdk java use 11.2.3-tem (or whatever is the latest today) cd school-timetabling mvn quarkus:dev ``` Result: ``` File "org.jpype.pkg.JPypePackage.java", line -1, in org.jpype.pkg.JPypePackage.getObject Exception: Java Exception The...
**Describe the bug** ArrivalTimeUpdatingVariableListener is not working and not updating arrival time in tests folder **Expected behavior** arrival_time variable should not be None **Actual behavior** arrival_time variable is None in...