Spanning intervals over breaks #3813
Unanswered
andrea-buso
asked this question in
CP-SAT questions
Replies: 2 comments 2 replies
-
The code does not depend on the interval being repeated every day. It depends on the intervals being fixed. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello! Did you find any solution for this? I have the save problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to generalize the code in
https://github.com/google/or-tools/blob/stable/ortools/sat/docs/scheduling.md#intervals-spanning-over-breaks-in-the-calendar
with the use of n intervals over more than one day.
The example above considers the breaks already known in advance: what if I have the breaks expressed with fixed intervals that may vary from one day to another?
Thanks
Andrea
Beta Was this translation helpful? Give feedback.
All reactions