Skip to content

Shift schedule: excluding a certain type of shift when and other has been done #4164

Discussion options

You must be logged in to vote

Context seems to be missing here.

If your underlying decision-variables are of boolean type, consider going for a conflict-graph:

worker_w@shift_s_a IMPLIES !worker_w@shift s_b

Don't be scared about the size of such a graph (at least in most use-cases). It's basically the native-language of the solver and there are some clique-table/merging-actions designed to reason about this stuff.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@techhead2
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by techhead2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants