OR_tool shift scheduling: shift_scheduling_sat.py More that 3 shifts adjustment #4576
Unanswered
jbetkowska
asked this question in
CP-SAT questions
Replies: 1 comment 2 replies
-
6 shifts ? |
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
-
Dears,
I am new in this area, I tried to adjust code for shift scheduling by myself but seems that I stuck.
In my company we have 5 shifts: M, A, N from Monday to Sunday and W and Z in Saturday and Sunday.
I wanted to change this as follows:
However I got an error: IndexError: list index out of range
And I don't know how to adjust this code to handle this.
In attachment my file with other changes I've already made to fit my company's needs.
rota_scheduler.txt
Beta Was this translation helpful? Give feedback.
All reactions