我在解决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++实现我的问题。
发布于 2022-05-25 10:37:33
我自己发现了这个错误。在SCIP中可以指定的参数有一些问题。对于Benders分解,您需要在解决过程中关闭重新启动,但由于错误的顺序放置这些参数,它没有被关闭。
https://stackoverflow.com/questions/72216482
复制相似问题