binpack 0.1.0

solve binpacking problems using Linear Programming
Documentation
bins:
  b1: 10
  b2: 10
  b3: 5
items:
  i1:
    quantity: 12
    groupSize: 4
    affinity:
      soft:
        - bins: [b1]
  i2:
    quantity: 6
    groupSize: 2
    affinity:
      soft:
        - bins: [b2]
  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: [b3]
solution:
  i1:
    b1: 8
    b2: 4
  i2:
    b2: 6
  i3:
    b3: 5