哪种CBC选项放宽了完整性要求(使用PYOMO)
我正在使用PYOMO使用CBC求解器,在求解特定模型时,我无法在指定的时间限制内获得整数解决方案。
是否可以将可以放松的完整性要求传递给CBC?我注意到CBC有很多选择,但是我不确定我们应该使用哪种选择。
I am using the CBC solver with Pyomo and I have been not been able to get an integer solution within the specified time limit when solving a particular model.
Is there an option to pass to CBC that can relax the integrality requirements? I notice that CBC has a huge number of options, but I am not sure which is the one that we should use for this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于
整数可行性
,您可以使用选项integerTolerance
在cbc接口的pyomo中放松这种可行性。 CBC 中的默认容差为 1E-7:在打印的信息中,您应该看到一些消息,例如:
For
integer feasibility
you can relax such feasibility in pyomo in the cbc interface using the optionintegerTolerance
. Default tolerance is 1E-7 in CBC:In the printed info you should se some message like: