[SCIP] Solution at Node
Marc Pfetsch
pfetsch at mathematik.tu-darmstadt.de
Fri Oct 8 20:12:11 CEST 2021
Hi Izuwa,
what do you mean by "best solution given a node"?
If you want to get the overall best solution, you can use
SCIPgetBestSol(). If you mean something like the best solution that is
feasible at the current node - I am afraid that you cannot easily
extract this, because it would require the recursive solution of a
problem of the same type that your are solving.
Best
Marc
On 08/10/2021 17.21, Izuwa Ahanor wrote:
> Hello,
>
> Thank you all for your prompt response and support. I need to get the
> best solution (not just the best lower bound) when given a node. In the
> node_comp method (in the custom node selector), I need to check the
> solutions of the two nodes given,; but not just by lower bound or lower
> bound estimate.
>
> I am running some computations in a custom Node Selector I have written
> but can't seem to figure out how to get the best solution given a node.
>
> Thanks for your guidance.
>
> Sincerely,
> Izuwa.
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
More information about the Scip
mailing list