coin-or / prtpy

Number partitioning in Python
MIT License
46 stars 20 forks source link

Add integer_programming_avg.py #21

Closed 8onlichtman closed 5 months ago

8onlichtman commented 6 months ago

Integer_programming_avg.py produces a partition that minimizes the sum of the positive differences from the avg, by solving an integer linear program (ILP).