<html><body>
<p><tt>&gt; Matt,<br>
&gt; <br>
&gt; &nbsp; &nbsp;As far as I know this is a feature of cbc. &nbsp;There's a thread in the cbc<br>
&gt; mailing list (`More problem with re-solving a model', 6 Apr 2009) that talks<br>
&gt; about just this issue. &nbsp;The solution proposed there (dating back to 2008) is to<br>
&gt; use the saveReferenceSolver() and resetToReferenceSolver() methods from<br>
&gt; CbcModel.<br>
&gt; <br>
&gt; &nbsp; &nbsp;Hard to say why this developed as it did, except that it's clearly more<br>
&gt; efficient in a single-solve use to leave the problem representation in whatever<br>
&gt; state it's in at the conclusion of the solve.</tt><br>
<br>
<tt>It's easy to say why is this there: John Forrest wrote cbc, and that's</tt><br>
<tt>how it was in OSL. Now why it was this way in OSL...</tt><br>
<br>
<tt>Anyway, to achieve solver independence it should be OsiCbc's job to</tt><br>
<tt>hide this from the user: either</tt><br>
<tt>- save the lb/ub vector just before it calls cbc to optimize and restore </tt><br>
<tt>&nbsp; them after the call is done. (And make this in a fashion that every </tt><br>
<tt>&nbsp; result is still accessible.); or</tt><br>
<tt>- keep a cached copy of lb/ub, update its cached copy when necessary and</tt><br>
<tt>&nbsp; return those when the user queries.</tt><br>
<br>
<tt>--Laci</tt><br>
<tt><br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lou<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Osi mailing list<br>
&gt; Osi@list.coin-or.org<br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/osi">http://list.coin-or.org/mailman/listinfo/osi</a><br>
</tt></body></html>