Changeset 1433 for stable


Ignore:
Timestamp:
Sep 24, 2009 4:45:36 PM (10 years ago)
Author:
forrest
Message:

try and stop overflow in interior point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.10/Clp/src/ClpPredictorCorrector.cpp

    r1321 r1433  
    189189  const double beta2 = 0.99995;
    190190  const double tau   = 0.00002;
    191   double lastComplementarityGap=COIN_DBL_MAX;
     191  double lastComplementarityGap=COIN_DBL_MAX*1.0e20;
    192192  double lastStep=1.0;
    193193  // use to see if to take affine
     
    885885{
    886886  double directionNorm=0.0;
    887   double maximumPrimalStep=COIN_DBL_MAX;
     887  double maximumPrimalStep=COIN_DBL_MAX*1.0e-20;
    888888  double maximumDualStep=COIN_DBL_MAX;
    889889  int numberTotal = numberRows_+numberColumns_;
Note: See TracChangeset for help on using the changeset viewer.