<font face="arial,helvetica,sans-serif">Hi Forrest,<br><br>Tested again and the bug is gone.<br><br>Thanks,<br><br>Haroldo<br></font><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 11:07 AM, John Forrest <span dir="ltr">&lt;<a href="mailto:john.forrest@fastercoin.com">john.forrest@fastercoin.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Should be fixed in 2.7 and trunk<br>
<div class="im">On Fri, 2011-09-02 at 20:11 -0300, Haroldo Santos wrote:<br>
</div><div><div></div><div class="h5">&gt; Did more experiments to see when this bug occurs.<br>
&gt;<br>
&gt; To turn off all heuristics and cuts it makes it happens faster.<br>
&gt;<br>
&gt; This is an instance<br>
&gt; <a href="http://www.decom.ufop.br/haroldo/files/sprint_hidden06.lp.gz" target="_blank">http://www.decom.ufop.br/haroldo/files/sprint_hidden06.lp.gz</a><br>
&gt; which is quickly solved by CPLEX and has optimal objective function<br>
&gt; value   130.<br>
&gt;<br>
&gt; CBC crashes at this point:<br>
&gt;<br>
&gt; Cbc0010I After 1700 nodes, 656 on tree, 249 best solution, best<br>
&gt; possible 99.390873 (139.08 seconds)<br>
&gt; cbc: CbcBranchDynamic.cpp:551: virtual int<br>
&gt; CbcBranchDynamicDecision::betterBranch(CbcBranchingObject*,<br>
&gt; CbcBranchingObject*, double, int, double, int): Assertion `distance &gt;=<br>
&gt; 0.0&#39; failed<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 24, 2011 at 5:43 PM, Haroldo Santos<br>
&gt; &lt;<a href="mailto:haroldo.santos@gmail.com">haroldo.santos@gmail.com</a>&gt; wrote:<br>
&gt;         Dear Forrest/CBC Developers,<br>
&gt;<br>
&gt;         There is this assertion failing  in :<br>
&gt;         CbcBranchDynamic.cpp:551: virtual int<br>
&gt;         CbcBranchDynamicDecision::betterBranch(CbcBranchingObject*,<br>
&gt;         CbcBranchingObject*, double, int, double, int): Assertion<br>
&gt;         `distance &gt;= 0.0&#39; failed.<br>
&gt;<br>
&gt;         when I&#39;m solving this MIP:<br>
&gt;         <a href="http://www.decom.ufop.br/haroldo/files/sprint_hidden04.lp.gz" target="_blank">http://www.decom.ufop.br/haroldo/files/sprint_hidden04.lp.gz</a><br>
&gt;<br>
&gt;<br>
&gt;         I did some debug and discover that this fails because at a<br>
&gt;         given point of the search the distance is  -0.415667  .<br>
&gt;<br>
&gt;         Cbc0010I After 10000 nodes, 4845 on tree, 180 best solution,<br>
&gt;         best possible 142.25 (1909.96 seconds)<br>
&gt;         Cbc0010I After 10100 nodes, 4849 on tree, 180 best solution,<br>
&gt;         best possible 142.25 (1919.14 seconds)<br>
&gt;<br>
&gt;         Tested in Linux with CBC 2.7 stable, default compilation<br>
&gt;         options and no ThirdParty software included.<br>
&gt;<br>
&gt;         The stack trace at this point is:<br>
&gt;         #0  0x00007ffff779c5cb in<br>
&gt;         CbcBranchDynamicDecision::betterBranch (this=0xb3eee10,<br>
&gt;         thisOne=<br>
&gt;             0x12d60060, changeUp=0, numInfUp=205, changeDown=0,<br>
&gt;         numInfDown=211) at CbcBranchDynamic.cpp:555<br>
&gt;         #1  0x00007ffff784bf40 in CbcNode::chooseDynamicBranch<br>
&gt;         (this=0x12d9a290, model=0x60dcd0,<br>
&gt;             lastNode=0x12aa7510, numberPassesLeft=4) at<br>
&gt;         CbcNode.cpp:3178<br>
&gt;         #2  0x00007ffff783521c in CbcModel::chooseBranch<br>
&gt;         (this=0x60dcd0, newNode=@0x7fffffff53a0,<br>
&gt;             numberPassesLeft=5, oldNode=0x12aa7510, cuts=...,<br>
&gt;         resolved=@0x7fffffff4d18, lastws=0x12e21f40,<br>
&gt;             lowerBefore=0x12ac54b0, upperBefore=0x1396c2e0,<br>
&gt;         branches=@0x7fffffff4b08) at CbcModel.cpp:12642<br>
&gt;         #3  0x00007ffff783b052 in CbcModel::doOneNode (this=0x60dcd0,<br>
&gt;         baseModel=0x60dcd0,<br>
&gt;             node=@0x7fffffff5298, newNode=@0x7fffffff53a0) at<br>
&gt;         CbcModel.cpp:14299<br>
&gt;         #4  0x00007ffff78108f5 in CbcModel::branchAndBound<br>
&gt;         (this=0x60dcd0, doStatistics=0)<br>
&gt;             at CbcModel.cpp:3797<br>
&gt;         #5  0x00007ffff7b7be8b in CbcMain1 (argc=11,<br>
&gt;         argv=0x7fffffffdef8, model=...,<br>
&gt;             callBack=0x7ffff7b67569 &lt;dummyCallBack(CbcModel*, int)&gt;)<br>
&gt;         at CbcSolver.cpp:5589<br>
&gt;         #6  0x00007ffff7b67bb5 in CbcMain1 (argc=11,<br>
&gt;         argv=0x7fffffffdef8, model=...) at CbcSolver.cpp:1111<br>
&gt;         #7  0x0000000000400f47 in main (argc=11, argv=0x7fffffffdef8)<br>
&gt;         at CoinSolve.cpp:336<br>
&gt;<br>
&gt;         Cheers,<br>
&gt;<br>
&gt;         Haroldo<br>
&gt;<br>
&gt;         --<br>
&gt;         =============================================================<br>
&gt;         Haroldo Gambini Santos<br>
&gt;         Computing Department - Universidade Federal de Ouro Preto -<br>
&gt;         UFOP<br>
&gt;         email: haroldo [at ] <a href="http://iceb.ufop.br" target="_blank">iceb.ufop.br</a><br>
&gt;         home/research page: <a href="http://www.decom.ufop.br/haroldo/" target="_blank">www.decom.ufop.br/haroldo/</a><br>
&gt;<br>
&gt;         &quot;Computer science is no more about computers than astronomy<br>
&gt;         is about telescopes.&quot; Edsger Dijkstra<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; =============================================================<br>
&gt; Haroldo Gambini Santos<br>
&gt; Computing Department - Universidade Federal de Ouro Preto - UFOP<br>
&gt; email: haroldo [at ] <a href="http://iceb.ufop.br" target="_blank">iceb.ufop.br</a><br>
&gt; home/research page: <a href="http://www.decom.ufop.br/haroldo/" target="_blank">www.decom.ufop.br/haroldo/</a><br>
&gt;<br>
&gt; &quot;Computer science is no more about computers than astronomy<br>
&gt; is about telescopes.&quot; Edsger Dijkstra<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Cbc mailing list<br>
&gt; <a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br>
<br>
_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>=============================================================<br>Haroldo Gambini Santos<br>Computing Department - Universidade Federal de Ouro Preto - UFOP<br>
email: haroldo [at ] <a href="http://iceb.ufop.br" target="_blank">iceb.ufop.br</a><br>home/research page: <a href="http://www.decom.ufop.br/haroldo/" target="_blank">www.decom.ufop.br/haroldo/</a><br> <br>&quot;Computer science is no more about computers than astronomy <br>
is about telescopes.&quot; Edsger Dijkstra<br> <br>