How to select the constraint type dynamically in TimeFold
I have a RuleSetting
class that is a problem fact
. It stores the type which can be Soft
, Medium
, and Hard
. Based on it the rule type will be changed.
How to use SolverConfigOverride class to let the user decide the termination of the solver in Timefold?
I want to override the configuration provided in the XML and application.properties to let the user decide the termination time of the Solver and also to let the user configure the duration of each Phase (including Construction Heuristics and Local Search).
Timefold: Best practices to use Spring JPA in School Timetabling project
Starting from the project on GitHub (https://github.com/TimefoldAI/timefold-quickstarts/tree/stable/technology/java-spring-boot), what are the best practices to use Spring JPA in the project to store all relevant entities for timetable generation (lessons, rooms, timeslot, timetable, constraints, teachers, students, etc.)?