<div dir="ltr">Hi Ted,<div><br></div><div style>Thank you for a reply.</div><div><br></div><div style>AFAICS this is not fixed in trunk yet - noNames_ is not initialized anywhere in t<span style="white-space:pre">he </span>CoinModel ctor at <a href="https://projects.coin-or.org/Cbc/browser/trunk/Cbc/src/Cbc_ampl.cpp#L733">https://projects.coin-or.org/Cbc/browser/trunk/Cbc/src/Cbc_ampl.cpp#L733</a></div>

<div class="gmail_extra"><br></div><div class="gmail_extra" style>The version number I updated corresponds to the driver itself, it shouldn&#39;t match the version of CBC. It is in the format used by other AMPL drivers and can be obtained with the following command:</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>$ cbc -v -AMPL</div><div class="gmail_extra" style>CBC 2.8.1 (Linux x86_64), driver(20130502), ASL(20130419)<br></div><div class="gmail_extra"><br></div>

<div class="gmail_extra" style>Best regards,</div><div class="gmail_extra" style>Victor</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 2, 2013 at 8:55 PM, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Victor,<br><br>What version are you using? This seems to be fixed already in trunk. <br>

<br>The version number you updated is from an older versioning scheme. It would be nice to make it match the real CBC version number, but this is not actually a &quot;number&quot; and has hence been added to the solver name (see below). Do you happen to know if the version number you updated is necessary and if not, will replacing it with a zero suppress its use?<br>



<br>static Option_Info Oinfo = {<br>    const_cast&lt;char*&gt;(&quot;cbc&quot;),<br>    const_cast&lt;char*&gt;(&quot;CBC &quot; CBC_VERSION),<br>    const_cast&lt;char*&gt;(&quot;cbc_options&quot;),<br>    keywds,<br>    nkeywds,<br>



    0,<br>    0,<br>    0,<br>    decodePhrase,<br>    0,<br>    0,<br>    0,<br>    20070606<br>};<br><br>Ted<br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 2, 2013 at 7:55 PM, <a href="mailto:victor.zverovich@gmail.com" target="_blank">victor.zverovich@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:victor.zverovich@gmail.com" target="_blank">victor.zverovich@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br>

</div><div>There is an assertion failure in debug version of cbc compiled with MSVC when running the following AMPL code:</div>

<div><br></div><div><div>var x &gt;= 0;</div><div>minimize o: x * x;</div>

<div>option solver cbc;</div><div>solve;</div><div><br></div><div>&gt; ampl test.ampl</div><div><br></div><div><span style="line-height:21px;font-size:12px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,monospace,serif">Assertion failed: !noNames_, file CoinUtils\src\CoinModel.cpp, line 1251</span><br>





</div><div><br></div><div>The attached patch fixes the problem by initializing the member variable noNames_.</div><div><br></div><div>Also the version number is updated.</div><div><br></div><div>

Best regards,</div><div>Victor</div></div></div>
<br></div></div>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">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>
<br></blockquote></div><span class=""><font color="#888888"><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>

ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>


</font></span></blockquote></div><br></div></div>