[SCIP] How to get the Dual Solution of the cuts added using a constraint handler

Mueller, Benjamin benjamin.mueller at zib.de
Mon Mar 30 17:35:48 CEST 2020


Dear Naga,

you can access the dual solution of a SCIP_ROW by using 
SCIProwGetDualsol(). The method SCIPgetDualsolLinear() is returning the 
value of SCIProwGetDualsol() for the row that has been generated by a 
linear constraint.

Best,
Benjamin

On 30.03.20 11:19, Naga Venkata Chaitanya Gudapati - 
nagavenkata.gudapati at studio.unibo.it wrote:
> Hello,
>
> I might have missed something rudimentary in the SCIP documentation but is there a way to get the dual prices of the added cuts? I add these cuts using a constraint handler.  I know about SCIPgetDualsolLinear but can it also be used for cuts?
>
> I am adding a cut and I need to get its dual price so that I can take it into account for the pricing problem after which I can add a new variable.
>
> Thanks for your help and please let me know if I need to provide any further information.
>
> Regards,
> Naga
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip




More information about the Scip mailing list