[Scip] [SCIP] adding constraints during pricing
Hélène Toussaint
helene.toussaint at isima.fr
Fri Mar 30 11:33:41 MEST 2012
Hi,
I have a BCP code. When I generate a new variable in the redcost
function of the pricer I must generate also several constraints in which
this new variable appears. To generate and add these constraints I use
SCIPcreateConsLinear and SCIPaddCons.
My problem is that some of these constraints are not taken into account:
before branching I use SCIPvarGetLPSol to see the current lp solution
and this solution does not always satisfy all the constraints added in
the pricer.
How to tell SCIP to take into account my new constraints ? I'd like the
current lp solution be updated every time a new constraint is added
(even before generate a new variable since it changes the dual costs).
Best,
Hélène
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.zib.de/mailman/private/scip/attachments/20120330/68bbe1e1/attachment.html
More information about the Scip
mailing list