Skip to content
Discussion options

You must be logged in to vote

Now, you can go a bit deeper and look at the jobshop_sat.cc examples.
In particular, you can decide to share the start, and end variables between the main interval and its copies.

By default, as it is simpler, each copy has its own variables. Then you use the performed literal to enforce the synchronization between the main interval and the selected copy.

The sharing approach forces you to be very careful on the constraints between copies, as they need to be protected by the performed status of these copies.

At this point, it is unclear which version is faster.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by Mizux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Needed Modeling/Usage problem Solver: CP-SAT Solver Relates to the CP-SAT solver
2 participants