[Scip] Adding constraints following completed pricing

Rostislav Stanek rostislav.stanek at uni-graz.at
Thu Dec 6 09:44:23 MET 2012


Hello Steve,

I had the same problem. You can use

SCIP_CALL_EXC(SCIPfreeTransform(scip));

to get back to the starting point. Than you can add new constraints and 
solve the problem again.

But this works well only if no constraints had been added during the 
solving process (e.g. by an event handler). I don't know how to solve it 
in the other case - actually I am still looking for a solution (without 
success).

Best regards

Rostislav




Dne 6.12.2012 06:10, Stephen J Maher napsal(a):
> Hi all,
>
> I am solving a problem using column generation and I would like modify
> the problem once an optimal solution is found. I would like to add a set
> of constraints to the problem and then solve this updated problem. The
> problem will always remain feasible with the added constraints, but the
> objective value will change.
>
> I am not too sure of the best way to implement this. Any help would be
> appreciated.
>
> Thank you,
>
> Steve



More information about the Scip mailing list