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/