[SCIP] Remove a constraint

Stefan Vigerske svigerske at gams.com
Mon Jun 21 16:05:53 CEST 2021


Hi,

SCIPfreeTransform() should bring you back into the PROBLEM stage.

Stefan

On 6/21/21 3:56 PM, Marco Correia wrote:
> Hi!
> 
> I'd like to remove a constraint after the problem was solved, and then
> solve it again without it.
> 
> When I'm attempting to remove the constraint using SCIPdelCons, Scip
> complains:
> 
> [scip_prob.c:2869] ERROR: invalid SCIP stage <10>
> 
> which is consistent with the docs as SCIP_STAGE_SOLVED is not a valid state
> for a call  to SCIPdelCons.
> 
> Is there a "legal" way to do what I'm attempting to do?
> 
> Thanks!
> Marco
> 
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
> 



More information about the Scip mailing list