Repository navigation
Replies: 2 comments 4 replies
|
This old example might be related: https://github.com/TimefoldAI/timefold-solver/tree/main/examples/src/main/java/ai/timefold/solver/examples/examination |
|
Hi, If I try to set custom heuristics as: I've got the following exception Then, I have tried to customize, according to Optaplanner documentation, the FIRST_FIT metaheuristic to specify which entity to move. And now, an exception appears saying that the FIRST_FIT must not be configured: The constructionHeuristicType (FIRST_FIT_DECREASING) must not be configured if the entityPlacerConfig (QueuedEntityPlacerConfig(EntitySelectorConfig(class edu.uoc.examplanner.api.domain.model.MasterExam), [ChangeMoveSelectorConfig(EntitySelectorConfig(null), null)])) is explicitly configured.] with root cause Could you tell me what I am doing wrong? |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am currently trying to model a variation of the exam scheduling problem.
In this case, an Exam of a given Topic is performed in several Centers, every Center has 1 or more Rooms.
I want to ensure the constraint that all Exams of a given Topic are scheduled exactly to the same timeslot. For this reason, I introduced in the UML diagram a planning entity Exam that has associated several ExamInCenter (which also becomes a planning entity). In this way, the timeslot is only assigned to the Exam and, on the other hand, the Room is only assigned to the ExamInCenter.
I would like to know whether the TimeFold solver supports such a situation, where a planning entity has associated a collection of planning entities. If not, how can I design the system to enforce the restriction "Same timesolt for all exams in centers" by domain model instead of by HardConstraint?
Thank you very much in advance,
Josep
All reactions