Java Library? - Simplex / Linear Programming / Optimization [closed]

感情迁移 提交于 2019-12-09 06:51:20

问题


I'm looking for an optimization library. My two requirements are that it does not use JNI and that it does not have license restrictions preventing it from being used on multiple computers commercially. The only one I've found that meets these requirements is Choco, but it is unusably buggy.


回答1:


Since I couldn't find any optimization software in Java I wrote my own implementation of the Simplex Method and submitted it to Apache Commons Math library: https://issues.apache.org/jira/browse/MATH-246




回答2:


http://ojalgo.org/generated/org/ojalgo/optimisation/linear/LinearSolver.html




回答3:


Recently JOptimizer, free and pure java, is available for linear programming and all other types of convex mathematical optimizations. It's simple to use and fully documented, the online site comes with a lot of examples.




回答4:


SuanShu has a suite of optimization algorithms, basic as well as advanced:

Java optimization

linear programming algorithm




回答5:


Is your requirement to have any good, stable optimization library, or does it specifically need to apply the Simplex algorithm?

Drools Planner is pure Java (no JNI) and Apache licensed (fits your commercial needs), but instead of using Simplex, it uses metaheuristics (which scale well and deliver great results).



来源:https://stackoverflow.com/questions/531049/java-library-simplex-linear-programming-optimization

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