Linear Programming Tool/Libraries for Java [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 20:10:14

问题


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/


来源:https://stackoverflow.com/questions/260442/linear-programming-tool-libraries-for-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!