[SCIP] Using SCIPdisableCons in problem creation stage
Gregor Hendel
hendel at zib.de
Wed Oct 9 09:32:17 CEST 2019
Good morning Lan,
how about using SCIPdelCons() instead of SCIPdisableCons()?
Let me know if that works for you,
Gregor
Am 09.10.19 um 01:03 schrieb Ngô Lan:
>
> 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
>
>
> _______________________________________________
> 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/20191009/0b03d5f4/attachment.html>
More information about the Scip
mailing list