[SCIP] Reoptimization
Witzig, Jakob
witzig at zib.de
Tue Sep 28 13:13:50 CEST 2021
Looks like an issue with the Benders coding in combination with reoptimization. Please open a bug report with a minimal not working example here: https://scipopt.org/bugs.php
Cheers,
Jakob
Am 28.09.2021 12:55 schrieb Marco Correia <marco.v.correia at gmail.com>:
Sorry, what works is 2.4.5.6 (Including step 1 also leads to the above error).
On Tue, Sep 28, 2021 at 11:53 AM Marco Correia <marco.v.correia at gmail.com<mailto:marco.v.correia at gmail.com>> wrote:
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<mailto: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<mailto: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/a1b9b5f3/attachment.html>
More information about the Scip
mailing list