Skip to content

Bin-packing problem: struggling to add constraint such that all items packed in bin MUST have same delivery destination #3419

Closed Answered by lperron
blaffster asked this question in Linear Solver questions
Discussion options

You must be logged in to vote

I would recommend:

  1. using CP-SAT
  2. looking at https://github.com/google/or-tools/blob/stable/ortools/sat/docs/channeling.md for the first and the second example.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@Mizux
Comment options

Mizux Aug 8, 2022
Maintainer

@blaffster
Comment options

@Mizux
Comment options

Mizux Aug 8, 2022
Maintainer

@jmarca
Comment options

@blaffster
Comment options

Comment options

You must be logged in to vote
4 replies
@blaffster
Comment options

@JustinOstrowsky
Comment options

@blaffster
Comment options

@JustinOstrowsky
Comment options

Answer selected by lperron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants