Constrained optimization for nonlinear multivariable function in Java

青春壹個敷衍的年華 提交于 2019-12-10 02:45:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!