SimplexSolver, binary or semi-continuous variables

333 views Asked by At

In my long search for a pure JAVA simplex solver I have come across the SimplexSolver from Apache Commons Math 3.3 API.

Now I have figured out the basics, but what I want to know is, if this simplex solver is able to solve problems that include binary(may, or may not have been used in the solution) or semi-continuous variables.

I have spent a couple of days on google searching for a solution that uses Simplex and that I can use in JAVA without any JNIs, but sadly this is as far as I've gotten.

The problem I'm trying to solve: X needs to be >= 100 and <= 10000 OR 0. Which is what semi-continuous variables are for...

Any help would be appreciated..

1

There are 1 answers

0
Armali On

The Apache Simplex solver is for pure Linear Programming (LP) problems only. You are looking for a Mixed Integer Programming (MIP) solver. – Erwin Kalvelagen