[Coin-discuss] SBB, AllowableGap and Cuts.
Edwin Straver
estraver at frontsys.com
Wed Oct 27 15:26:54 EDT 2004
Hi All,
When I run the current version of SBB on a model, using CLP with all
available cut generators turned on, and set an allowable "gap" of 5%, I get
crash on line 1023 of SBBModel.cpp.
This is the line:
if (!nodeOnTree)
delete node;
I think when SBB stops when an allowable gap has been reached, and cuts have
been generated, this can cause a problem.
When I change the code to:
if (!nodeOnTree && !stoppedOnGap)
delete node;
everything runs fine for me, and I do not see a memory leak.
Edwin Straver
estraver at frontsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20041027/7145bba3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blank Bkgrd.gif
Type: image/gif
Size: 145 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20041027/7145bba3/attachment.gif>
More information about the Coin-discuss
mailing list