Skip to content
Discussion options

You must be logged in to vote

The constraint does NOT limit which days a class will use within the given date pattern. So, if a class uses a date pattern that spans 10 weeks, it cannot be limited to a single week by this constraint. You would need to use a shorter date pattern for that.

However, if there are multiple classes (between which the constraint is set), each using an alternative pattern set date pattern (e.g., imagine a 1x date pattern that consists of Week 1, Week 2, Week 3, ... Week 10 options), the constraint will limit how many distinct weeks can be selected. For instance, imagine multiple classes that must all meet within the same week, but the solver is allowed to choose which week.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mlambie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants