问题
I am looking for an open source implementation of a method doing constrained optimization for nonlinear multivariable function in Java.
回答1:
There are several open source java implementations that can do this, such as:
- OptaPlanner (apache license, 100% java, lots of examples and documentation)
- jacop
- choco
- ...
回答2:
IPOPT is the most robust solver I know of.
It has a Java interface although I have no idea how good that is, I only use the C++ API.
回答3:
I recently ported Michael Powells' COBYLA2 derivative-free optimizer for nonlinear objective functions and constraints to Java. You'll find the source code here.
回答4:
You can have a look at Choco, a framework for constraint programming implemented in java.
来源:https://stackoverflow.com/questions/10619860/constrained-optimization-for-nonlinear-multivariable-function-in-java