<div dir="auto">Hey Marc,<div dir="auto"><br></div><div dir="auto">Thanks for the quick reply. So given a node, when I call ScipgetNodeLowerbound or scipgetNodeestimate, this returns an scip_real corresponding to the LowerBound at that node. </div><div dir="auto"><br></div><div dir="auto">I want to get the corresponding solution that gave this Lowerbound i.e. possibly and array of Scip_vars and values. </div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Izuwa. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021, 2:15 PM Marc Pfetsch <<a href="mailto:pfetsch@mathematik.tu-darmstadt.de">pfetsch@mathematik.tu-darmstadt.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Hi Izuwa,<br>
<br>
what do you mean by "best solution given a node"?<br>
<br>
If you want to get the overall best solution, you can use <br>
SCIPgetBestSol(). If you mean something like the best solution that is <br>
feasible at the current node - I am afraid that you cannot easily <br>
extract this, because it would require the recursive solution of a <br>
problem of the same type that your are solving.<br>
<br>
Best<br>
<br>
Marc<br>
<br>
On 08/10/2021 17.21, Izuwa Ahanor wrote:<br>
> Hello,<br>
> <br>
> Thank you all for your prompt response and support. I need to get the <br>
> best solution (not just the best lower bound) when given a node. In the <br>
> node_comp method (in the custom node selector), I need to check the <br>
> solutions of the two nodes given,; but not just by lower bound or lower <br>
> bound estimate.<br>
> <br>
> I am running some computations in a custom Node Selector I have written <br>
> but can't seem to figure out how to get the best solution given a node.<br>
> <br>
> Thanks for your guidance.<br>
> <br>
> Sincerely,<br>
> Izuwa.<br>
> <br>
> <br>
> _______________________________________________<br>
> Scip mailing list<br>
> <a href="mailto:Scip@zib.de" target="_blank" rel="noreferrer">Scip@zib.de</a><br>
> <a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
> <br>
_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" target="_blank" rel="noreferrer">Scip@zib.de</a><br>
<a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
</blockquote></div>