Changeset 2184 for trunk


Ignore:
Timestamp:
Oct 28, 2015 6:19:47 AM (2 years ago)
Author:
forrest
Message:

out flaky perturbation

File:
1 edited

Legend:

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

    r2086 r2184  
    25952595          double * saveLower = NULL;
    25962596          double * saveUpper = NULL;
    2597           if (largest < 2.01 * smallest) {
     2597          if (largest < -2.01 * smallest) { // switch off for now
    25982598               // perturb - so switch off standard
    25992599               model2->setPerturbation(100);
     
    29202920               // unperturb and clean
    29212921               for (iRow = 0; iRow < numberRows; iRow++) {
    2922                     double diffLower = saveLower[iRow] - model2->rowLower_[iRow];
    2923                     double diffUpper = saveUpper[iRow] - model2->rowUpper_[iRow];
    29242922                    model2->rowLower_[iRow] = saveLower[iRow];
    29252923                    model2->rowUpper_[iRow] = saveUpper[iRow];
    2926                     if (diffLower)
    2927                          assert (!diffUpper || fabs(diffLower - diffUpper) < 1.0e-5);
    2928                     else
    2929                          diffLower = diffUpper;
    2930                     model2->rowActivity_[iRow] += diffLower;
    29312924               }
    29322925               delete [] saveLower;
Note: See TracChangeset for help on using the changeset viewer.