<p><font size=2 face="Arial">Xiaojian</font><font size=3 face="Times New Roman">,</font>
<p><font size=3 face="Times New Roman">I can not reproduce the error on
Linux but that is not surprising. CoinModel is a class for building
a model by row and /or column in any order. The unitTest uses a random
number generator to try and stress code. The random numbers will
be different with msvc++. So if you build a model in this particular
way it fails. It is highly unlikely to fail when used normally. For
the moment if you wish to use unitTest change the 50 on line 648 of Coin/Test/CoinModelTest.cpp
to 21. </font>
<p><font size=3 face="Times New Roman">I will modify the unitTest to keep
a trail of the random numbers and write the results out if it fails. Then
hopefully I can debug on Linux.</font>
<p><font size=3 face="Times New Roman">You will also need to refresh test/CoinMpsIOTest.cpp
as that fails because I changed a default value from "stdin"
to "????". Shows that unit test is not run often - the
Clp one is however.</font>
<p><font size=3 face="Times New Roman">I hope you have better luck from
now.</font>
<p>
<p><font size=3 face="Times New Roman">John Forrest</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Li, Xiaojian (RSCH)"
<xiaojian_li@ml.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">05/13/2005 05:08 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research
</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font>
<br></div>
<td valign=top><font size=1 face="sans-serif"><coin-discuss@list.coin-or.org></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right></div>
<td valign=top>
<tr>
<td>
<div align=right></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-discuss] Win msvc6.0++
coinUnitTest</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Hi, all,</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
I just downloaded coin and compiled under win XP msvc++6.0 coinUnitTest.
When I run the test this is what I get:</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
…</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
pass 21</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
Assertion failed: whichColumn==(int) elements_[position].column, file h:\00work\coin\coin\coinmodel.cpp,
line 2028</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
…</font><font size=3 face="Times New Roman"> </font>
<p><font size=2 face="Arial">A really bad start:-(</font><font size=3 face="Times New Roman">
</font>
<p><font size=2 face="Arial">Thanks for any help,</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
Xiaojian</font><font size=3 face="Times New Roman"> </font>
<p>
<hr>
<br><font size=3 face="Times New Roman">If you are not an intended recipient
of this e-mail, please notify the sender, delete it and do not read, act
upon, print, disclose, copy, retain or redistribute it. </font><a href=http://www.ml.com/email_terms/><font size=3 color=blue face="Times New Roman"><u>Click
here </u></font></a><font size=3 face="Times New Roman">for important additional
terms relating to this e-mail. </font><a href=http://www.ml.com/email_terms/><font size=3 color=blue face="Times New Roman"><u>http://www.ml.com/email_terms/</u></font></a>
<br>
<hr><font size=2 face="Courier New">_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</font>
<br>
<br>