<div>hi,</div>  <div> </div>  <div>I think there is an error in the row (re)naming routines of ClpModel. I am using the latest version of Clp, which I downloaded today (Feb 21, 2006).</div>  <div> </div>  <div>There is a small code with 5 variables and 5 constraints which captures this error and is available at </div>  <div> </div>  <div><A href="http://www.andrew.cmu.edu/user/anureets/workspace.tgz">http://www.andrew.cmu.edu/user/anureets/workspace.tgz</A></div>  <div> </div>  <div>A README file in the above .tgz directory contains a brief message describing the code. In particular, after the following operations the test3.mps file generated by the code is corrupted (it has two rows with the same name):</div>  <div> </div>  <div>o 3 cuts added</div>  <div>o 1 cut is removed</div>  <div>o 2 cuts added</div>  <div> </div>  <div>The bug seems to be related to the following piece of code from ClpModel::resize()</div> 
 <div>--------------------------------------</div>  <div>#ifndef CLP_NO_STD<BR>  if (lengthNames_) {<BR>    // reduce row and column names vectors only if necessary<BR>    if (rowNames_.size() < (unsigned int)numberRows_)<BR>      rowNames_.resize(numberRows_);<BR>    if (columnNames_.size() < (unsigned int)numberColumns_)<BR>      columnNames_.resize(numberColumns_);<BR>  }<BR>#endif</div>  <div>-------------------------------------------------------</div>  <div> </div>  <div>I guess the row and column names vectors should be resized "always" irrespective of whether </div>  <div> </div>  <div>"rowNames_.size() < (unsigned int)numberRows_) "</div>  <div> </div>  <div>or not. I would greatly appreciate any help in this regard.</div>  <div> </div>  <div>Thanking You,</div>  <div>Anureet Saxena</div>  <div> </div> 
 <div> </div><BR><BR>Anureet Saxena<br> anureet@cmu.edu<br> anureet@yahoo.com<br> <br>--This mail was delivered to you on 100% recyclable electrons.<p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com