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?