[Cbc] Fix for uninitialized member variable _noNames in CoinModel
victor.zverovich at gmail.com
victor.zverovich at gmail.com
Thu May 2 19:55:13 EDT 2013
Hi,
There is an assertion failure in debug version of cbc compiled with MSVC
when running the following AMPL code:
var x >= 0;
minimize o: x * x;
option solver cbc;
solve;
> ampl test.ampl
Assertion failed: !noNames_, file CoinUtils\src\CoinModel.cpp, line 1251
The attached patch fixes the problem by initializing the member variable
noNames_.
Also the version number is updated.
Best regards,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20130502/03816c31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Initialize-noNames_.patch
Type: application/octet-stream
Size: 871 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20130502/03816c31/attachment.obj>
More information about the Cbc
mailing list