<br><font size=2 face="sans-serif">I can't reproduce problem but as Edwin
says changing the code did not seem to give a memory leak so I have changed
the code.</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Edwin Straver&quot;
&lt;estraver@frontsys.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-admin@www-124.southbury.usf.ibm.com</font>
<p><font size=1 face="sans-serif">10/27/2004 03:26 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
coin-discuss</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&lt;coin-discuss@www-124.southbury.usf.ibm.com&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-discuss] SBB, AllowableGap
and Cuts.</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Hi All,</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">When I run the current version of SBB on
a model, using CLP with all available cut generators turned on, and set
an allowable &quot;gap&quot; of 5%, I get crash on line 1023 of SBBModel.cpp.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">This is the line:</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">if (!nodeOnTree)<br>
 &nbsp; delete node;</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">I think when SBB stops when an allowable
gap has been reached, and cuts have been generated, this can cause a problem.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">When I change the code to:</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">if (!nodeOnTree &amp;&amp; !stoppedOnGap)<br>
 &nbsp; delete node;</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">everything runs fine for me, and I do not
see a memory leak.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Edwin Straver</font>
<br><a href=mailto:estraver@frontsys.com><font size=2 color=blue face="Arial"><u>estraver@frontsys.com</u></font></a>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br>