<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Thanks to your help, I have been able to call directly cbc from
    within my program. I have obtained for a preliminary set <br>
    of problems the same optimal values and more and less the same
    execution time. I move recently to bigger size problems<br>
    and I am having a strange problem. <br>
    <br>
    When I run my code, it crashes. When I run CBC standalone on the lp
    file generated by my code, it does not<br>
    crash and goes to optimality.<br>
    <br>
    Some relevant info. <br>
    <br>
    - The binary I am using is
    <a class="moz-txt-link-freetext" href="http://www.coin-or.org/download/binary/Cbc/Cbc-2.7.1-win32-msvc9.zip">http://www.coin-or.org/download/binary/Cbc/Cbc-2.7.1-win32-msvc9.zip</a>.<br>
    - I am using the version Cbc-2.7.2 for the API.<br>
    <br>
    And here is the key part of my code (I can provide a bigger sample
    if needed)<br>
    <br>
    &nbsp;&nbsp;&nbsp; CbcModel cbcSolver(osiClpSolver);<br>
    <br>
    &nbsp;&nbsp;&nbsp; // Write to file <br>
    &nbsp;&nbsp; osiClpSolver.writeLp("test","lp",0.00001,10,8,0.0,true); <br>
    <br>
    &nbsp;&nbsp;&nbsp; // 09/08/2012 - Call standalone CBC instead of
    cbcSolver.branchAndBound();<br>
    &nbsp;&nbsp;&nbsp; try {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; callCbc("-solve -quit", cbcSolver);<br>
    &nbsp;&nbsp;&nbsp; }<br>
    &nbsp;&nbsp;&nbsp; catch (CoinError e) {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; e.print();<br>
    &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; std::cout &lt;&lt; "Crashing....\n";<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (e.lineNumber() &gt;= 0) std::cout&lt;&lt;"This was from
    a CoinAssert"&lt;&lt;std::endl;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit(EXIT_FAILURE<span style="color: rgb(0, 0, 0);
      font-family: verdana, arial, helvetica, sans-serif; font-size:
      12px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: normal; orphans: 2;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none; "><span class="Apple-converted-space"></span></span>);<br>
    &nbsp;&nbsp;&nbsp; }<br>
    <br>
    Any suggestions?<br>
    <br>
    Thanks<br>
    <br>
    Cheers<br>
    <br>
    Alexis<br>
    <pre class="moz-signature" cols="72">-- 
Software Engineer/Research Engineer
Softree Technical Systems Inc.
<a class="moz-txt-link-abbreviated" href="http://www.softree.com">www.softree.com</a>
Engineering an Easier Way</pre>
  </body>
</html>