<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thanks Gregor,</p>
<p><br>
</p>
<p>Including the event handler fixed the issue.</p>
<p><br>
</p>
<p>Cheers</p>
<p>Christian</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Hendel, Gregor <hendel@zib.de><br>
<b>Gesendet:</b> Sonntag, 3. Januar 2021 22:02<br>
<b>An:</b> Franzen, Christian; scip@zib.de<br>
<b>Betreff:</b> AW: [SCIP] Error in presolving after restart when doing branch-and-price?</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Christian,</p>
<p><br>
</p>
<p>You have discovered a bug: the cons_components constraint should not blindly set this parameter, but check first if it exists.<br>
</p>
<p><br>
</p>
<p>The parameter "limits/softtime" is not a core parameter, but provided by the plugin event_softtimelimit.c/h. If this plugin is missing, the components constraint handler cannot execute the call in line 709 (in my current SCIP)</p>
<div style="color:#333333; background-color:#f5f5f5; font-family:'Droid Sans Mono','monospace',monospace,'Droid Sans Fallback'; font-weight:normal; font-size:14px; line-height:19px; white-space:pre">
<div><span style="color:#333333"></span><span style="color:#aa3731; font-weight:bold">SCIP_CALL</span><span style="color:#777777">(</span><span style="color:#333333">
</span><span style="color:#aa3731; font-weight:bold">SCIPsetRealParam</span><span style="color:#777777">(</span><span style="color:#7a3e9d">subscip</span><span style="color:#777777">,</span><span style="color:#333333">
</span><span style="color:#777777">"</span><span style="color:#448c27">limits/softtime</span><span style="color:#777777">"</span><span style="color:#777777">,</span><span style="color:#333333">
</span><span style="color:#7a3e9d">softtimelimit</span><span style="color:#777777">)</span><span style="color:#333333">
</span><span style="color:#777777">);</span></div>
</div>
<p></p>
<p><br>
</p>
<p>I assume that you do not call SCIPincludeDefaultPlugins() when you set up your SCIP? You can hotfix this issue temporarily by
<br>
</p>
<p>a) <span>including only the above event handler into your scip: SCIPincludeEventHdlrSofttimelimit(scip)</span> (don't forget the header event_softtimelimit.h)</p>
<p>b) including all default plugins using SCIPincludeDefaultPlugins(scip)<br>
</p>
<p>c) deleting the line above from cons_components.c<span id="ms-rterangepaste-end"></span></p>
<p><br>
</p>
<p>Happy limiting of soft time,</p>
<p>Gregor<br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Scip <scip-bounces@zib.de> im Auftrag von Franzen, Christian <franzen@or.rwth-aachen.de><br>
<b>Gesendet:</b> Freitag, 1. Januar 2021 22:18:29<br>
<b>An:</b> scip@zib.de<br>
<b>Betreff:</b> [SCIP] Error in presolving after restart when doing branch-and-price?</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi SCIP Team.</p>
<p><br>
</p>
<p>At the moment I am experimenting with my branch-and-price-and-cut solver and I try to stop pricing when the root node LP relaxation is solved to optimality. I wondered if SCIP is able to just use the current (integer) reduced master problem and execute all
 that fancy propagators, separators and heuristics to solve it without pricing any further columns.</p>
<p><br>
</p>
<p>The implementation of my pricer just looks at the depth of the current node and deactivates my pricer as soon as depth is >0. Of course I set the modifiable flag to false for all constraints. In the logs I see that propagators and separators are doing their
 job pretty well. However, as soon as I am doing a restart to make all the presolvers run, I get an error message stating that </p>
<p><br>
</p>
<p></p>
<div>cons components found 3 undirected components at node 1, depth 0 (0)</div>
<div>[paramset.c:1826] ERROR: parameter <limits/softtime> unknown</div>
<div>[set.c:3061] ERROR: Error <-12> in function call</div>
<div>[scip_param.c:307] ERROR: Error <-12> in function call</div>
<div>[cons_components.c:678] ERROR: Error <-12> in function call</div>
<div>[cons_components.c:760] ERROR: Error <-12> in function call</div>
<div>[cons_components.c:2449] ERROR: Error <-12> in function call</div>
<div>[cons.c:4071] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:1008] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:1214] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:1214] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:1214] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:1378] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:2398] ERROR: Error <-12> in function call</div>
<div>[scip_solve.c:2620] ERROR: Error <-12> in function call</div>
<br>
<p></p>
<p>The independent components constraint handler is just trying to read the parameter "<span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">limits/softtime</span>".
 I am not sure why that could stop working from the changes that I have made to my pricer. Any idea what I am doing wrong here? I attach the full SCIP log of an example run.</p>
<p><br>
</p>
<p>Regards</p>
<p>Christian</p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>