<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Marco,<div class=""><br class=""></div><div class="">thank you for your questions.</div><div class=""><br class=""></div><div class="">1. When you add a partial solution, it will always be stored right away, but solved later on (see Section 2.1.6 of the SCIP 4.0 release report: <a href="http://www.optimization-online.org/DB_FILE/2017/03/5895.pdf" class="">http://www.optimization-online.org/DB_FILE/2017/03/5895.pdf</a>). To find out more information about how many solutions/incumbents were found by partial solutions, you need to look at the statistics of the heuristic „completesol“ in the log. The log can also tell you when completing a partial solution failed.   </div><div class=""><br class=""></div><div class="">2. No, SCIP does not have something similar to „var hint“.</div><div class=""><br class=""></div><div class="">I hope this answers all your questions.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Antonia<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 17.08.2021 um 15:29 schrieb Marco Correia <<a href="mailto:marco.v.correia@gmail.com" class="">marco.v.correia@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">Hi all!<div class=""><br class=""></div><div class="">I have two questions:</div><div class=""><br class=""></div><div class="">1. Is there a way to know if SCIP really made use of the warm start I'm passing? I'm currently doing something like this:</div><div class=""><br class=""></div><div class=""><div style="line-height:19px" class=""><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class=""><span style="color:rgb(121,94,38)" class="">SCIPcreatePartialSol</span>(<span style="color:rgb(0,16,128)" class="">p_env</span>, &<span style="color:rgb(0,16,128)" class="">p_sol</span>, <span style="color:rgb(0,0,255)" class="">NULL</span>);</div><div style="" class=""><div style="line-height:19px" class=""><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class=""><span style="color:rgb(121,94,38)" class="">SCIPsetSolVal</span>(<span style="color:rgb(0,16,128)" class="">p_env</span>, <span style="color:rgb(0,16,128)" class="">p_sol</span>, <span style="color:rgb(0,16,128)" class="">p_scip_var</span>, <span style="color:rgb(0,16,128)" class="">val</span>)</div><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class="">[repeat last line for all warm start variables]</div><div style="" class=""><div style="line-height:19px" class=""><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class=""><span style="color:rgb(0,0,255)" class="">unsigned</span> <span style="color:rgb(0,0,255)" class="">int</span> <span style="color:rgb(0,16,128)" class="">stored</span>;</div><div style="" class=""><div style="line-height:19px" class=""><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class=""><span style="color:rgb(121,94,38)" class="">SCIPaddSolFree</span>(<span style="color:rgb(0,16,128)" class="">p_env</span>, &<span style="color:rgb(0,16,128)" class="">p_sol</span>, &<span style="color:rgb(0,16,128)" class="">stored</span>);</div><div style="" class=""><div style="line-height:19px" class=""><div style="font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; white-space: pre;" class=""><span style="color:rgb(175,0,219)" class="">if</span> (!<span style="color:rgb(0,16,128)" class="">stored</span>)</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre" class=""><font class="">    std::</font><font color="#267f99" class="">cout << </font><span style="color:rgb(163,21,21)" class="">"Warm start solution was ignored.\n"</span><font class="">;</font></div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre" class=""><br class=""></div>It seems stored is always true, but it doesn't look like the warmstart is being helpful. Is there any way to know for sure?</div><div style="line-height:19px" class=""><br class=""></div><div style="line-height:19px" class="">2. Gurobi has "var hint" feature where one can associate a value with a variable to guide search / improve heuristic. Is there anything like this in SCIP?</div><div style="line-height:19px" class=""><br class=""></div><div style="line-height:19px" class="">Thanks!</div><div style="line-height:19px" class="">Marco</div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">Scip mailing list<br class=""><a href="mailto:Scip@zib.de" class="">Scip@zib.de</a><br class="">https://listserv.zib.de/mailman/listinfo/scip<br class=""></div></blockquote></div><br class=""></div></body></html>