Replies: 1 comment 2 replies
-
With a custom move you can implement this, see MoveIteratorFactory in the docs. That being said, note that we're working on a much easier and powerful way to implements custom moves, codename "move streams", but that will take a good while still. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
First off, big thanks to the Timefold community! My college scheduling model is nearly complete, and I’ve been able to reach this point thanks to the resources and helpful folks here.
My generated timetable correctly satisfies all hard constraints (like no student overlap and time rules). Here's a snapshot of the result:
Schedule
Right now, I’m noticing that:
This makes the weekly schedule unbalanced, even though it’s technically feasible.
I attempted to use load-balancing constraints to spread different session types across the week, but, The inbuilt swap moves result in highly negative scores because they operate on individual lessons, which causes impractical intermediate states. As a result, the solver quickly undoes them.
I believe the right solution is to implement a custom move that can:
My question:
How can I define a move that acts on a group of planning entities (e.g., all periods within a timespan)?
Are there any code examples or best practices for implementing grouped or timespan-aware moves?
Beta Was this translation helpful? Give feedback.
All reactions