<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">Very useful info!<br>
      <br>
      I downloaded Cbc-2.7.5-win64-intel11.1 and run cbc.exe in the bin
      folder. <br>
      I used 2 methods-commands for solving, branchAndBound and solve.<br>
      <br>
      They both solved it almost 10 times faster!!!<br>
      <br>
      Now, to come to a solution, i need to know what's the differnece
      between solving with stand alone and simply by calling the solver
      via my code which was implemented in MS visual studio 2010..<br>
      <br>
      If you can help me with this, i would have find the solution to my
      big problem!<br>
      I am waiting impatiently for your words.<br>
      <br>
      Thank you!<br>
      <br>
      On 9/10/2012 22:26, David Ibarra G&oacute;mez wrote:<br>
    </div>
    <blockquote cite="mid:DUB121-W46FBC6A7968F1F0DF305DDA38F0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        You can find the CBC binaries here:&nbsp;<a moz-do-not-send="true"
          href="https://projects.coin-or.org/CoinBinary">https://projects.coin-or.org/CoinBinary</a>&nbsp;or
        (here&nbsp;<a moz-do-not-send="true"
          href="http://www.coin-or.org/download/binary/Cbc/">http://www.coin-or.org/download/binary/Cbc/</a>).
        You can test different versions
        <div><br>
        </div>
        <div>From the shell you can call the executable binary. Then you
          just:</div>
        <div><br>
        </div>
        <div>1. Import MPS file by just typing "import mpsfilename.mps"&nbsp;</div>
        <div>2. and then you can solve it just typing "branchAndCut"</div>
        <div><br>
        </div>
        <div>Then compare the time to solve with the API.</div>
        <div><br>
        </div>
        <div>A random google search to find a "recipe" could be (at the
          end of page 6):&nbsp;<a moz-do-not-send="true"
            href="http://wpweb2.tepper.cmu.edu/fmargot/coin/proj5.pdf"
            style="font-size: 10pt; ">http://wpweb2.tepper.cmu.edu/fmargot/coin/proj5.pdf</a></div>
        <div><br>
        </div>
        <div>Regards</div>
        <div>
          <div><br>
          </div>
          <div><br>
            <br>
            <div>
              <hr id="stopSpelling">Date: Tue, 9 Oct 2012 20:50:04 +0300<br>
              From: <a class="moz-txt-link-abbreviated" href="mailto:chtsolak@gmail.com">chtsolak@gmail.com</a><br>
              To: <a class="moz-txt-link-abbreviated" href="mailto:dibarra21@hotmail.com">dibarra21@hotmail.com</a><br>
              CC: <a class="moz-txt-link-abbreviated" href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</a><br>
              Subject: Re: [Cbc] solving time in C++ &gt;&gt; time in
              Gams<br>
              <br>
              <div class="ecxmoz-cite-prefix">i have the latest version,
                2.7.7....<br>
                <br>
                I solve it by using the default cbc solver, (i am not
                getting involved in the solver) with this way:<br>
                <br>
                <i><small>solver1.loadProblem(numcols, numrows, start,
                    index, value, collb, colub, obj, rowlb, rowub);<br>
                    CbcModel model(solver1);<br>
                    CbcMain0(model);<br>
                    const char * argv2[]={"DAS","-solve","-quit"};&nbsp;&nbsp; </small></i><i><small><br>
                    CbcMain1(3,argv2,model);&nbsp;&nbsp;&nbsp; </small></i><br>
                <br>
                So, i do not think that it's ommiting the presolve step,
                am i wrong?<br>
                <br>
                Where can i find the latest version, and how can i load
                an mps file?<br>
                <br>
                Thank you<br>
                <br>
                On 9/10/2012 20:42, David Ibarra G&oacute;mez wrote:<br>
              </div>
              <blockquote
                cite="mid:DUB121-W264ACA45902B3CC4C2E78A38F0@phx.gbl">
                <style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
                <div dir="ltr"> Hi,
                  <div><br>
                  </div>
                  <div>there are several things that can cause this:</div>
                  <div><br>
                  </div>
                  <div>
                    <ul>
                      <li>different solvers version,</li>
                      <li>solving is a complex task:&nbsp;<span
                          style="font-size:10pt">presolve (cuting
                          planes, heuristics, ...) and then b</span><span
                          style="font-size:10pt">ranch and bound (cut).
                          If you omit the first part or you do not do
                          exactly the same steps result could be
                          different.</span></li>
                    </ul>
                    <div><br>
                    </div>
                    Did you try to solve using CBC CLI (stand alone
                    executable) ?</div>
                  <div><br>
                  </div>
                  <div>Regards<br>
                    <br>
                    <div>
                      <hr id="ecxstopSpelling">Date: Tue, 9 Oct 2012
                      12:16:49 +0300<br>
                      From: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:chtsolak@gmail.com">chtsolak@gmail.com</a><br>
                      To: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</a><br>
                      Subject: [Cbc] solving time in C++ &gt;&gt; time
                      in Gams<br>
                      <br>
                      Hi all again,<br>
                      <br>
                      I have 1&nbsp; question for you, if i solve it, i won't
                      bother you again <span class="ecxmoz-smiley-s4"><span>
                          :-P </span></span><br>
                      <br>
                      I am using cbc in order to make an executable via
                      MS visual studio which solves a model.<br>
                      In order to solve it, takes 60 mins<br>
                      <br>
                      I have made the same problem with GAMS and solved
                      it in 30 secs, 120 times faster!!<br>
                      <br>
                      Is it because of an error in modeling or due to
                      the different interface? (exe-GAMS)<br>
                      <br>
                      Why is there this enormous difference?<br>
                      <br>
                      <br>
                      Thank you in advance.<i><small><i><small><br>
                            </small></i></small></i><br>
                      <i><small><i><small><br>
                            </small></i><br>
                        </small></i> <br>
                      _______________________________________________
                      Cbc mailing list <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
                      <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-freetext"
                        href="http://list.coin-or.org/mailman/listinfo/cbc"
                        target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a></div>
                  </div>
                </div>
              </blockquote>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>