Ignore:
Timestamp:
Jul 25, 2009 4:39:55 AM (10 years ago)
Author:
forrest
Message:

get rid of compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplexDual.cpp

    r1394 r1402  
    399399  int nPivots=9999;
    400400#endif
     401  double largestPrimalError=0.0;
     402  double largestDualError=0.0;
    401403  // Start can skip some things in transposeTimes
    402404  specialOptions_ |= 131072;
     
    484486    statusOfProblemInDual(lastCleaned,factorType,saveDuals,data,
    485487                          ifValuesPass);
     488    largestPrimalError=CoinMax(largestPrimalError,largestPrimalError_);
     489    largestDualError=CoinMax(largestDualError,largestDualError_);
    486490    if (disaster)
    487491      problemStatus_=3;
     
    555559  // Stop can skip some things in transposeTimes
    556560  specialOptions_ &= ~131072;
     561  largestPrimalError_=largestPrimalError;
     562  largestDualError_=largestDualError;
    557563}
    558564int
     
    15081514        }
    15091515        // do actual flips
    1510         flipBounds(rowArray_[0],columnArray_[0],theta_);
     1516        flipBounds(rowArray_[0],columnArray_[0]);
    15111517        //rowArray_[1]->expand();
    15121518        dualRowPivot_->updatePrimalSolution(rowArray_[1],
     
    24132419  if (fullRecompute) {
    24142420    // do actual flips
    2415     flipBounds(rowArray,columnArray,0.0);
     2421    flipBounds(rowArray,columnArray);
    24162422  }
    24172423  objectiveChange += changeObj;
     
    31633169                           CoinIndexedVector * spareArray2,
    31643170                           double acceptablePivot,
    3165                            CoinBigIndex * dubiousWeights)
     3171                           CoinBigIndex * /*dubiousWeights*/)
    31663172{
    31673173  int numberPossiblySwapped=0;
     
    51325138void
    51335139ClpSimplexDual::flipBounds(CoinIndexedVector * rowArray,
    5134                   CoinIndexedVector * columnArray,
    5135                   double change)
     5140                  CoinIndexedVector * columnArray)
    51365141{
    51375142  int number;
Note: See TracChangeset for help on using the changeset viewer.