<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Bernhard,<br>
      <br>
      The reason my build of model was so slow was the individual
      addCol's.  The effect can be seen in Clp/examples/addColumns.cpp. 
      That was the reason CoinBuild was developed.<br>
      <br>
      Probably you are using CoinBuild for your real model - but if not
      then do so for speed.<br>
      <br>
      John Forrest<br>
      <br>
      On 10/01/17 13:47, Bernhard Dick wrote:<br>
    </div>
    <blockquote cite="mid:02f701d26b48$14ac28d0$3e047a70$@bdick.de"
      type="cite">
      <pre wrap="">Hi Haroldo,
 
</pre>
      <blockquote type="cite">
        <pre wrap="">Could you send us the LP file so that we can play with some parameters ?
</pre>
      </blockquote>
      <pre wrap="">Even more, I'm able to send you the C++ source. I only had to obfuscate the
variable names. The source is attached to this mail, the generated lp file
can be found here:
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__bin.jjim.de_paste_T2wGOAHI-23tvUwPsvzhYejnk57dTi-2B-2BBuf9J3heraZRzDTbWX89&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=UOXYvM2mVg7Ab2RIrsaMMVqUpkVcaskTn2UxODbGybo&e=">https://urldefense.proofpoint.com/v2/url?u=https-3A__bin.jjim.de_paste_T2wGOAHI-23tvUwPsvzhYejnk57dTi-2B-2BBuf9J3heraZRzDTbWX89&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=UOXYvM2mVg7Ab2RIrsaMMVqUpkVcaskTn2UxODbGybo&e=</a> 
7P

  Regards
    Bernhard

</pre>
      <blockquote type="cite">
        <pre wrap="">Cheers,
Haroldo

Em 09/01/2017 06:21, Bernhard Dick escreveu:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

I have a MILP with ca 2000 variables, 400 of them being binary and
1300 constraints. Currently I solve this using lpsolve but I also
tried it using CBC, based on the sample5.cpp with CoinBuild. However I
face some performance issues: On my test system lpsolve needs about
120msec to solve the problem, CBC needs ca 3-4secs is thus 30-40 times
slower. I use a MID-GAP of 3% set by
</pre>
        </blockquote>
        <pre wrap="">model.setAllowablePercentageGap(3).
</pre>
        <blockquote type="cite">
          <pre wrap="">Another interesting fact is that If I save the problem to an lp oder
mps file and reload the file in CBC solving gets about 1sec faster.
Do you have any ideas how to improve the performance here, as in
different benchmarks that I've found cbc performs much faster than
lpsolve, so I'm a bit surprised by the results I see.

   Regards
     Bernhard Dick

_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org">https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org</a>
_mailman_listinfo_cbc&d=CwICAg&c=Ngd-
</pre>
        </blockquote>
        <pre wrap="">ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA
</pre>
        <blockquote type="cite">
          <pre wrap="">_2Wlc4&r=pLOfVNEEHf-xhIqn1-
</pre>
        </blockquote>
        <pre wrap="">uzYcZ6Q7UefG6Bg6rXCKTMiAA&m=IFlfsGIm5yclwUs
</pre>
        <blockquote type="cite">
          <pre wrap="">Liun-5eSbIc-LztVKfjJfE-
</pre>
        </blockquote>
        <pre wrap="">w0iqk&s=j4C13Bzc90fB9iNOGEw28UDXreXgbHI7seB7n5x
</pre>
        <blockquote type="cite">
          <pre wrap="">u7r0&e=
</pre>
        </blockquote>
        <pre wrap="">
--
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.decom.ufop.br_haroldo_&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=hDMVEc0_Kinizkem8ZlQ7YxueZPpVSBVYwkmLUEMPW4&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.decom.ufop.br_haroldo_&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=hDMVEc0_Kinizkem8ZlQ7YxueZPpVSBVYwkmLUEMPW4&e=</a> 
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=XrUUJXiz44qeS0w3WVvM6bkrq2ChwQjhigGaeGcoJIA&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=Wb2QOmlSnNnRcKLNsbUL3maIWDwH2HcHMPMpx19L6LY&s=XrUUJXiz44qeS0w3WVvM6bkrq2ChwQjhigGaeGcoJIA&e=</a> 
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>