[Clp] Problem with ClpModel::addColumns

John Forrest john.forrest at fastercoin.com
Mon Feb 24 08:55:47 EST 2014


David,

Yes it looks as if something is broken.

Thanks for the pointers to the problem - will be easy to fix.

John Forrest

On 24/02/14 04:45, David Einstein wrote:
> When I run the addColumn example it crashes when performing the 
> model.dual() on line 129.  As far as I can tell, this happens because 
> the matrix_ member has 200003 columns, while it is supposed to have 
> 100003 members (the new columns are being created twice once at 
> ClpModel.cpp:2289 where blank columns are created and once at 
> ClpModel.cpp:2598 where the actual columns are being added).
>
> It is entirely possible that I am misunderstanding something.
>
> Thank you for an amazing piece of code.  The Clp library is amazing.
> Deinst
>
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20140224/553c255f/attachment.html>


More information about the Clp mailing list