Skip to content

Consequential task assignments with possible soft constraint #2266

Closed Answered by ghost
DaanSijbring asked this question in CP-SAT questions
Discussion options

You must be logged in to vote

Are you using OptionalIntervalVar?
If so, you can create a new boolean that is true iff worker1 does task1 and workerx does task2, and maximize those booleans in the objective

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@ghost
Comment options

@DaanSijbring
Comment options

@DaanSijbring
Comment options

@ghost
Comment options

@DaanSijbring
Comment options

Answer selected by Mizux
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lang: Python Python wrapper issue Solver: CP-SAT Solver Relates to the CP-SAT solver
1 participant