<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">
<div dir="auto">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</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers,</div>
<div dir="auto">Jakob </div>
<div><br>
<div class="elided-text">Am 28.09.2021 12:55 schrieb Marco Correia <marco.v.correia@gmail.com>:<br type="attribution">
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Sorry, what works is 2.4.5.6  (Including step 1 also leads to the above error).</div>
<br>
<div class="elided-text">
<div dir="ltr">On Tue, Sep 28, 2021 at 11:53 AM Marco Correia <<a href="mailto:marco.v.correia@gmail.com">marco.v.correia@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb( 204 , 204 , 204 );padding-left:1ex">
<div dir="ltr">Thanks Jakob,
<div><br>
</div>
<div>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</div>
<div><br>
</div>
<div><span style="font-family:monospace"><span style="color:rgb( 0 , 0 , 0 )">[cons.c:2399] ERROR: constraint handler <benderslp> already initialized</span><br>
</span></div>
<br>
in step 5.
<div><br>
</div>
<div>Am I missing some other step?</div>
</div>
<br>
<div class="elided-text">
<div dir="ltr">On Tue, Sep 28, 2021 at 11:47 AM Witzig, Jakob <<a href="mailto:witzig@zib.de">witzig@zib.de</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb( 204 , 204 , 204 );padding-left:1ex">
<div>
<div dir="auto">Hi Marco,
<div dir="auto"><br>
</div>
<div dir="auto">Step 4 is not needed.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers,</div>
<div dir="auto">Jakob</div>
<br>
<div dir="auto"><br>
<div class="elided-text">Am 28.09.2021 12:37 schrieb Marco Correia <<a href="mailto:marco.v.correia@gmail.com">marco.v.correia@gmail.com</a>>:<br type="attribution">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb( 204 , 204 , 204 );padding-left:1ex">
<div>
<div dir="ltr">Hi,<br>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
1. SCIPenableReoptimization(true)<br>
2. [Create and solve model]<br>
3. SCIPfreeReoptSolve<br>
4. SCIPfreeTransform<br>
5. [Add new constraints and change objective]<br>
6. [Solve modified model]
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thank you</div>
<div>Marco</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>