Constrained optimization for nonlinear multivariable function in Java

拟墨画扇 提交于 2019-12-05 02:50:26

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
  • ...

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.

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

You can have a look at Choco, a framework for constraint programming implemented in java.

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