Constrained optimization for nonlinear multivariab

2019-04-22 19:30发布

问题:

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.