Linear Programming Tool/Libraries for Java [closed

2019-01-14 03:17发布

问题:

I'd like to set up a large linear programming model to solve an interesting problem. I would be most comfortable in Java. What tools/libraries are available?

回答1:

I used lp_solve with success. It looks like there is a native Java API, but I've only used the text file interface. It supports the semi-standard MPS and LP file formats, which I found more convenient for trying out different solvers (such as glpsol).



回答2:

There were several suggestions from an earlier question that I posted:

  • CPLEX
  • Dash
  • OptimJ
  • COIN-OR
  • lp_solve

and possibly more...



回答3:

Currently, google digs up this Java Linear Programming libs:

  • http://scpsolver.org/
  • http://javailp.sourceforge.net/
  • http://www.joptimizer.com/linearProgramming.html
  • http://www.win-vector.com/blog/2012/11/yet-another-java-linear-programming-library/
  • http://commons.apache.org/math/userguide/optimization.html
  • http://ojalgo.org/