![](/img/trans.png)
[英]Multiple Model Building (Iteratively) in C++ (Benders Decomposition with Multiple Scenarios)
[英]Running into problem with benders decomposition from scip
在解决 SCIP 问题时,我遇到了一个奇怪的错误。 并非所有情况都会发生这种情况,但仅适用于少数情况。 我只是想问一下是否有人知道,错误消息的确切含义是什么,以及在解决 SCIP 的 Bender 默认问题时是否需要专门关闭某些东西。
确切的错误信息是:
[scip_probing.c:259] ERROR: not in probing mode
[benders.c:4944] ERROR: Error <-8> in function call
[benders.c:1503] ERROR: Error <-8> in function call
[benders.c:4406] ERROR: Error <-8> in function call
[benders.c:4243] ERROR: Error <-8> in function call
[scip_probing.c:259] ERROR: not in probing mode
[benders.c:4944] ERROR: Error <-8> in function call
[benders.c:1503] ERROR: Error <-8> in function call
[benders.c:4406] ERROR: Error <-8> in function call
[benders.c:4243] ERROR: Error <-8> in function call
[scip_probing.c:259] ERROR: not in probing mode
[benders.c:4944] ERROR: Error <-8> in function call
[benders.c:1503] ERROR: Error <-8> in function call
[benders.c:4406] ERROR: Error <-8> in function call
[benders.c:4243] ERROR: Error <-8> in function call
[benders.c:3805] ERROR: Error <-8> in function call
[scip_benders.c:630] ERROR: Error <-8> in function call
[cons_benders.c:555] ERROR: Error <-8> in function call
[cons.c:3765] ERROR: Error <-8> in function call
[sol.c:1742] ERROR: Error <-8> in function call
[primal.c:1593] ERROR: Error <-8> in function call
[solve.c:3016] ERROR: Error <-8> in function call
[solve.c:3887] ERROR: Error <-8> in function call
[solve.c:4187] ERROR: Error <-8> in function call
[solve.c:4983] ERROR: Error <-8> in function call
[scip_solve.c:2678] ERROR: Error <-8> in function call
terminate called after throwing an instance of 'SCIPException'
what(): method cannot be called at this time in solution process
Aborted (core dumped)
并且发生在预求解过程中。
我正在使用 ScipOptSuite 8.0 并通过 C++ 实现我的问题。
我能够自己找到错误。 您可以在 SCIP 中指定的参数存在一些问题。 对于 Benders Decomposition,您需要在求解过程中关闭重新启动,但由于放置这些参数的顺序错误,它没有关闭。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.