bins:
b1: 10
b2: 10
b3: 5
items:
i1:
quantity: 12
groupSize: 4
affinity:
soft:
- bins:
i2:
quantity: 6
groupSize: 2
affinity:
soft:
- bins:
i3:
quantity: 5
# NOTE: If you comment out groupSize, you can see that
# the microlp solver is unable to find a solution, but
# the coin_cbc solver can
groupSize: 5
affinity:
soft:
- bins:
solution:
i1:
b1: 8
b2: 4
i2:
b2: 6
i3:
b3: 5