[SCIP] Using SCIPdisableCons in problem creation stage

Ngô Lan lan.ngo at aalto.fi
Wed Oct 9 01:03:34 CEST 2019


Hi all,


I am solving a project scheduling problem using branch-price-cut and I am having an issue with SCIPdisableCons function. So after each pricing iteration, I will not release the subscip but only free the transformed problem using SCIPfreetransform and modify the objective function of the subscip in the next iteration. During branching, in CONSACTIVE, I will create an additional constraint for the subproblem depending on the branching decision and in CONSDEACTIVE, I will disable the related constraint using SCIPdisableCons. However, I got the error: cannot call method <SCIPdisableCons> in problem creation stage. Do you know another function that can work? Or what should I do differently?


Thank you for your time,


Best,

Lan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20191008/7be87ebe/attachment.html>


More information about the Scip mailing list