[SCIP] Dual value of constraints

Marco Lübbecke marco.luebbecke at rwth-aachen.de
Sat Mar 24 11:32:43 CET 2018


Mahdi, basic variables have reduced cost of zero in an optimal solution. --
Marco

Mahdi Noorizadegan <m.noorizadegan at gmail.com> schrieb am Sa., 24. März
2018, 11:10:

> Dear SCIPers,
>
> I need to compute the reduced cost of basic variables in the optimal
> solution.
> How can I do it?
> I tried to use SCIPgetDualsolLinear and SCIPgetDualSolVal .
> as follows SCIP_CALL(SCIPgetDualSolVal(scip,part_con[0][1],dualval,checkbool
> ));
> or cout<< SCIPgetDualsolLinear(scip, part_con[0][1]);
> But it did not work and I got errors.
>
> Looking forward to haring from you,
> Regards,
> Mahdi
> _______________________________________________
> 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/20180324/7b0c4c5c/attachment.html>


More information about the Scip mailing list