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

Naga Venkata Chaitanya Gudapati - nagavenkata.gudapati@studio.unibo.it nagavenkata.gudapati at studio.unibo.it
Mon Mar 30 17:37:13 CEST 2020


Thank you! Now I think I have to figure how to get the cuts added by the constraint handler.

Thanks and Regards,
Chaitanya
________________________________
From: Mueller, Benjamin <benjamin.mueller at zib.de>
Sent: Monday, March 30, 2020 5:35:48 PM
To: Naga Venkata Chaitanya Gudapati - nagavenkata.gudapati at studio.unibo.it <nagavenkata.gudapati at studio.unibo.it>; scip at zib.de <scip at zib.de>
Subject: Re: [SCIP] How to get the Dual Solution of the cuts added using a constraint handler

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20200330/3192728b/attachment.html>


More information about the Scip mailing list