Add setup time to tasks in job shop scheduling #4219
Unanswered
uprox
asked this question in
CP-SAT questions
Replies: 1 comment 2 replies
-
I recommend to prefer a light version. |
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
-
Hi all.
I wrote (copy, cut, paste, merge from many examples) an algorithm for flexible job shop scheduling, where I could have more than 1 alternative for each task. It works as expected, but now I'm trying to add a constraint to get a fixed setup time in advance an all tasks. I'm not figuring out how to achieve it.
I need just to have a setup time of 4 hours before each task. It not depends on any other variable, condition, constraint... just fixed 4 hours before each task start.
I already checked examples from this repository (job shop, job shop with distance, ...) but any of them helped me.
Can you suggest me what kind of constraint should I add to the model in order to get it, please?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions