[Scip] use of SCIPgetDualsolLinear(scip, cons)

Veronica Dal Sasso veronica.dalsasso at gmail.com
Wed Feb 18 16:25:19 CET 2015


Hello everyone.
I'm not sure about the use of the function SCIPgetDualsolLinear().  I'm
trying to solve a linear program using column generation, and at each
iteration I get the values of the dual variables using
SCIPgetDualsolLinear(scip, cons). I expect these dual variables to be the
ones that satisfy the complementary slackness conditions and that, if I
compute the dual objective function, give the same value as for the primal
objective function but gives an unfeasible solution to the dual problem.
Instead, I find that the dual optimal objective function has not the same
value. Is it possible that I misunderstood the meaning of
SCIPgetDualsolLinear() or simply I'm making some sort of error that I
haven't found yet in the computing of the dual objective function's value?
Thank you in advance,
Veronica Dal Sasso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150218/239798a9/attachment.html>


More information about the Scip mailing list