Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Constrained optimization for nonlinear multivariable function in Java

I am looking for an open source implementation of a method doing constrained optimization for nonlinear multivariable function in Java.

like image 681
seinecle Avatar asked May 16 '12 13:05

seinecle


3 Answers

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.

like image 183
Ali Avatar answered Nov 10 '22 13:11

Ali


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
  • ...
like image 34
Geoffrey De Smet Avatar answered Nov 10 '22 13:11

Geoffrey De Smet


I recently ported Michael Powells' COBYLA2 derivative-free optimizer for nonlinear objective functions and constraints to Java. You'll find the source code here.

like image 41
Anders Gustafsson Avatar answered Nov 10 '22 13:11

Anders Gustafsson