[SCIP] Re-solving problems with constraint change?

Ambros Gleixner gleixner at zib.de
Wed Oct 27 15:34:13 CEST 2021


Dear Geri,

Yes, you have to call SCIPfreeTransform() and afterwards you can use the 
methods of the constraint handlers, for you probably the SCIPchg... 
methods of

https://scipopt.org/doc-7.0.3/html/cons__linear_8c.php

Afterwards just call SCIPsolve() again.

Best,
Ambros



Am 27.10.2021 um 15:23 schrieb Geri K:
> Dear All,
> is it possible with the SCIP C API to call solving again with changed
> constraint linear coefficients?
> So it would be probably faster than re-creating the whole problem.
> I would not change the constraint variables included, only their
> coefficients.
> I could not find an example or api documentation for this, is it possible
> and if yes, what calls are needed?
> Thank you,
> Geri
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip


More information about the Scip mailing list