Use karmarkar with integer constraint

208 Views Asked by At

I'd like to use Scilab's Karmarkar (https://help.scilab.org/docs/5.3.2/fr_FR/karmarkar.html) considering only integer on solutions, like the parameter "I" on vartype's Octave (https://www.gnu.org/software/octave/doc/interpreter/Linear-Programming.html). Is it possible?

1

There are 1 best solutions below

0
On BEST ANSWER

No, it is not possible. That is an algorithm for linear programs, not integer programs (although integer programs can be solved as series of linear programs).

SciGLPK might be a good option, if you can get it to install. I'd recommend using PuLP though if possible, its a better interface.