1

我正在使用 pyomo 和 CBC 求解器来解决一系列二进制 inetger 线性规划问题,它在大多数情况下都有效,但我遇到了这个错误

Cbc0010I After 17900 nodes, 8056 on tree, -3.6158666e+008 best solution, 
best possible -3.6158709e+008 (2312.55 seconds)
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 600, solve
    Solver (cbc) returned non-zero return code (3)
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 603, solve
    See the solver log above for diagnostic information.
Traceback (most recent call last):

File "<ipython-input-3-14e70af11ac8>", line 26, in <module>
results = opt.solve(instance, tee=True)

File "C:\ProgramData\Anaconda3\lib\site-packages\pyomo\opt\base\solvers.py", 
line 607, in solve
"Solver (%s) did not exit normally" % self.name)

ApplicationError: Solver (cbc) did not exit normally

对此的任何帮助将不胜感激。非常感谢。

4

0 回答 0