[Coin-discuss] CoinModel
John J Forrest
jjforre at us.ibm.com
Wed Aug 31 04:34:58 EDT 2005
Vitor,
I will try and get time to look at it. There are linked lists by row and
by column so link_==3 means both already exist so it looks as if my coding
may be wrong. If you have a simple driver to send that would be great as
I am busy on other projects and can't take much time off.
John Forrest
"Vitor Barbosa" <vitorbarbosa at dps.uminho.pt>
Sent by: coin-discuss-bounces at list.coin-or.org
08/30/2005 01:27 PM
Please respond to
Discussions about open source software for Operations Research
To
<coin-discuss at list.coin-or.org>
cc
Subject
[Coin-discuss] CoinModel
I?m using the CoinModel class and when I try to delete rows and pack
(packRows) them i get an ?Assertion failed? error.
When debugging, at line 1141 of CoinModel.cpp the variable links_ as
value 3 so the condition ((links_&1)!=0) of the if is true:
if ((links_&1)!=0) {
rowList_ = CoinModelLinkedList();
createList(1);
}
When the method createList(1) is called, (links_&1) ==1 and the assert
fails
CoinModel::createList(int type) const
{
type_=2;
if (type==1) {
assert ((links_&1)==0);
What means the value of links_?
When i remove the assert it works fine. Is this assert OK?
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050831/47b493dd/attachment.html>
More information about the Coin-discuss
mailing list