0

I try to use a Integer programming solver.

The problems I try to solve are small (typically 4 variables and 10 constraints)

The main issue I face is that I can only use numpy or scipy and not regular solvers such as ortools, mip, ...

There is a linear optimization in scipy (from scipy.optimize import linprog) but it only works with floats.

Is there a way to do integer programming with scipy/numpy or through a pure python implementation?

Maxime B.
  • 1,116
  • 8
  • 21
  • Check out [How can I get integer solutions with scipy.optimize.linprog?](https://stackoverflow.com/questions/39101137/how-can-i-get-integer-solutions-with-scipy-optimize-linprog) – DarrylG Nov 13 '20 at 12:46
  • 1
    SciPy (or NumPy) has no integer programming solvers. – Erwin Kalvelagen Nov 13 '20 at 12:51

0 Answers0