Note that there are some explanatory texts on larger screens.

plurals
  1. POBinary Integer Program Solver for Java
    text
    copied!<p>My problem is in trying to solve a Binary Integer Program through Java. I want to run a series of experiments and an integral component of these experiments is to solve an integer program where the variables are constrained to be between 0 and 1. </p> <p>In the past I have solved such problems in MatLab, with the function <a href="http://www.mathworks.com/help/toolbox/optim/ug/bintprog.html" rel="nofollow">bintprog</a>. In the search for such a function (or class? I'm very new to Java) to use in Java, I have come up empty handed.</p> <p><strong>Is there a Java library available to solve Integer Programs that has really good documentation?</strong></p> <p>In my search, I have seen suggestions to use a package called <a href="http://lpsolve.sourceforge.net/5.5/" rel="nofollow">LP_Solve</a> that has had a Java wrapper built around it, and a similar wrapper built for a package called <a href="http://www.gnu.org/software/glpk/" rel="nofollow">GLPK</a> (wrappers <a href="http://glpk-java.sourceforge.net/" rel="nofollow">here</a> and <a href="http://bjoern.dapnet.de/glpk/" rel="nofollow">here</a>) (which I have used before). The problem with these tools is that they are not strictly designed for Java, and thusly, lack the kind of documentation that I feel I need, and even worse have complicated instructions to even begin using them in my own code. As I am currently learning the Java language I am wondering if there are any really good packages available to solve Binary Integer Programs, Mixed Integer Linear Programs, or just Integer Programs from my own Java code.</p> <p>As a side note, I really do not want to switch to another language because I am building off of past code and classes that perform the tasks I desire.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload