Optimizing Black-box function in Pyomo

為{幸葍}努か 提交于 2019-12-11 15:18:46

问题


Is it possible to optimize a problem in pyomo in which the objective function and/or constraints are written in other language like C or C++?


回答1:


Yes, you would want to use the ExternalFunction expression object.



来源:https://stackoverflow.com/questions/51720251/optimizing-black-box-function-in-pyomo

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