Java Library? - Simplex / Linear Programming / Opt

2020-06-06 04:47发布

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.

5条回答
可以哭但决不认输i
2楼-- · 2020-06-06 04:52

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).

查看更多
走好不送
4楼-- · 2020-06-06 05:06

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

Java optimization

linear programming algorithm

查看更多
Bombasti
5楼-- · 2020-06-06 05:07

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

查看更多
我只想做你的唯一
6楼-- · 2020-06-06 05:07

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.

查看更多
登录 后发表回答