简体   繁体   English

Optaplanner 和 Pyomo

[英]Optaplanner and Pyomo

I'm currently using pyomo environment to solve optimization problems.我目前正在使用pyomo环境来解决优化问题。 I have used different solvers ( Ipopt , glpk , cbc , couenne ) in order to solve my problems.我使用了不同的求解器( Ipoptglpkcbccouenne )来解决我的问题。

Actually I need to solve a non-linear problem with a global solver.实际上,我需要使用全局求解器来解决非线性问题。 I've already tried couenne but it doesn't give me the right answer.我已经尝试过couenne ,但它没有给我正确的答案。 Looking on the web, I have seen the Optaplanner as a metaheurist solver but I only found example written in Java.查看 web,我已经将Optaplanner视为元启发式求解器,但我只找到了用 Java 编写的示例。

Is it possible to use this solver with pyomo on windows?是否可以在 windows 上将此求解器与pyomo一起使用?
If yes then how to configure it?如果是,那么如何配置它?

You can't use OptaPlanner in pyomo, but you can use OptaPlanner on Windows.您不能在 pyomo 中使用 OptaPlanner,但可以在 Windows 上使用 OptaPlanner。 Just download (or git clone) the quickstarts here .只需在此处下载(或 git 克隆)快速入门 If you don't like Java, take a look at the Kotlin quickstart.如果您不喜欢 Java,请查看 Kotlin 快速入门。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM