<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thomas,<br>
      <br>
      As I am unable to justify it and as removing made a slight
      improvement on some very limited tests,&nbsp; I have removed the 500 in
      Cgl/0.57 which is what cbc uses.<br>
      <br>
      John<br>
      <br>
      On 20/12/12 19:55, Thomas Schoenemann wrote:<br>
    </div>
    <blockquote
      cite="mid:1356033311.9955.YahooMailNeo@web172304.mail.ir2.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">Hi all,<br>
        <br>
        my application of Cbc (where I added a GomoryCut generator) was
        producing abnormally large cuts at the root node, although I had
        set a limit. So I looked into the code and found this passage
        (line 679 of GomoryCut.cpp):<br>
        <br>
        <br>
        &nbsp;&nbsp;&nbsp; limit = limitAtRoot_;<br>
        &nbsp;&nbsp;&nbsp; if (!info.pass) {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tolerance1=1.0;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tolerance2=1.0e-2;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tolerance3=1.0e-6;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tolerance6=1.0e-7;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tolerance9=1.0e-5;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!limit||limit&gt;=500)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;----!!!!!!!!!!!!!<br>
        &nbsp;&nbsp;&nbsp; limit=numberColumns;<br>
        &nbsp;&nbsp;&nbsp; } else {<br>
        <br>
        <br>
        It appears that Cbc does not set info.pass (whatever that
        signifies) and in this case a limit of 500 or larger is simply
        ignored. <br>
        <br>
        I was wondering if there is a plausible reason for this. At the
        very least I think this behavior should be documented in the
        text on setLimitAtRoot(). Personally, I'd prefer if the part
        "||limit &gt;= 500" was removed, it does not make sense to me.<br>
        <br>
        I have a recent version of Cbc, checked out via svn (maybe there
        is already a repository for 2.8?):<br>
        <br>
        URL: <a class="moz-txt-link-freetext" href="https://projects.coin-or.org/svn/Cbc/stable/2.7">https://projects.coin-or.org/svn/Cbc/stable/2.7</a><br>
        Basis des Projektarchivs: <a class="moz-txt-link-freetext" href="https://projects.coin-or.org/svn/Cbc">https://projects.coin-or.org/svn/Cbc</a><br>
        UUID des Projektarchivs: 6f23a84d-0c12-0410-9f0c-b73a89ba9ce0<br>
        Revision: 1833<br>
        Knotentyp: Verzeichnis<br>
        Plan: normal<br>
        Letzter Autor: stefan<br>
        Letzte ge&auml;nderte Rev: 1833<br>
        Letztes &Auml;nderungsdatum: 2012-12-04 11:21:49 +0100 (Di, 04. Dez
        2012)<br>
        <br>
        <br>
        If you need my help, let me know.<br>
        <br>
        Best regards,<br>
        &nbsp; Thomas Schoenemann<br>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cgl mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cgl@list.coin-or.org">Cgl@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cgl">http://list.coin-or.org/mailman/listinfo/cgl</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>