Changeset 501 for trunk/ClpPresolve.cpp


Ignore:
Timestamp:
Nov 17, 2004 2:14:42 PM (15 years ago)
Author:
forrest
Message:

make sure originalcolumn/row okay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpPresolve.cpp

    r498 r501  
    12941294  delete [] originalRow_;
    12951295  originalRow_ = new int[nrows_];
     1296  // and fill in case returns early
     1297  int i;
     1298  for (i=0;i<ncols_;i++)
     1299    originalColumn_[i]=i;
     1300  for (i=0;i<nrows_;i++)
     1301    originalRow_[i]=i;
    12961302
    12971303  // result is 0 - okay, 1 infeasible, -1 go round again, 2 - original model
Note: See TracChangeset for help on using the changeset viewer.