[SCIP] Reoptimization

Marco Correia marco.v.correia at gmail.com
Tue Sep 28 12:53:31 CEST 2021


Thanks Jakob,

Step 4 is actually the only one that seems to work (that is 1,2,4,5,6
works). Instead doing 1,2,3,5,6 gives me

[cons.c:2399] ERROR: constraint handler <benderslp> already initialized

in step 5.

Am I missing some other step?

On Tue, Sep 28, 2021 at 11:47 AM Witzig, Jakob <witzig at zib.de> wrote:

> Hi Marco,
>
> Step 4 is not needed.
>
> Cheers,
> Jakob
>
>
> Am 28.09.2021 12:37 schrieb Marco Correia <marco.v.correia at gmail.com>:
>
> Hi,
>
> I have a model I would like to solve, and then add a constraint and change
> the objective, and then solve again. My understanding of the necessary
> steps is:
>
> 1. SCIPenableReoptimization(true)
> 2. [Create and solve model]
> 3. SCIPfreeReoptSolve
> 4. SCIPfreeTransform
> 5. [Add new constraints and change objective]
> 6. [Solve modified model]
>
> This doesn't seem to work as it is, but when omitting step 1 and 3 it
> works. I guess the other steps are also important, right?
>
> Thank you
> Marco
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20210928/328a2a26/attachment.html>


More information about the Scip mailing list