Changeset 604


Ignore:
Timestamp:
Apr 12, 2005 1:05:52 PM (15 years ago)
Author:
jpfasano
Message:

Modified to compile with MS C++ V6

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpDynamicMatrix.cpp

    r399 r604  
    17881788      // recompute dj and create
    17891789      double value=cost_[bestSequence2]-savedBestGubDual_;
    1790       for (CoinBigIndex j=startColumn_[bestSequence2];
    1791            j<startColumn_[bestSequence2+1];j++) {
    1792         int jRow=row_[j];
    1793         value -= duals[jRow]*element_[j];
     1790      for (CoinBigIndex jBigIndex=startColumn_[bestSequence2];
     1791           jBigIndex<startColumn_[bestSequence2+1];jBigIndex++) {
     1792        int jRow=row_[jBigIndex];
     1793        value -= duals[jRow]*element_[jBigIndex];
    17941794      }
    17951795      int gubRow = toIndex_[savedBestSet_] + numberStaticRows_;
  • trunk/ClpGubMatrix.cpp

    r461 r604  
    35793579          solution[iColumn]=0.0;
    35803580      }
    3581       for (int iSet=0;iSet<numberSets_;iSet++) {
     3581      int iSet;
     3582      for ( iSet=0;iSet<numberSets_;iSet++) {
    35823583        int iColumn = keyVariable_[iSet];
    35833584        if (iColumn<numberColumns)
     
    35903591      // and now subtract out non basic
    35913592      ClpSimplex::Status iStatus;
    3592       for (int iSet=0;iSet<numberSets_;iSet++) {
     3593      for ( iSet=0;iSet<numberSets_;iSet++) {
    35933594        int iColumn = keyVariable_[iSet];
    35943595        if (iColumn<numberColumns) {
Note: See TracChangeset for help on using the changeset viewer.