Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 2 years ago.
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.
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
http://ojalgo.org/generated/org/ojalgo/optimisation/linear/LinearSolver.html
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.
SuanShu has a suite of optimization algorithms, basic as well as advanced:
Java optimization
linear programming algorithm
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).