Ignore:
Timestamp:
Jan 3, 2017 10:44:15 AM (3 years ago)
Author:
forrest
Message:

stuff for vector matrix

File:
1 edited

Legend:

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

    r2186 r2235  
    10261026          }
    10271027          if (ifree) {
    1028             int fill_level=10;
     1028            int fill_level=CoinMax(10,prob->maxSubstLevel_);
    10291029            const CoinPresolveAction * lastAction = NULL;
    10301030            int iPass=4;
     
    13471347                         // do costed if Clp (at end as ruins rest of presolve)
    13481348                      possibleBreak;
     1349#ifndef CLP_MOVE_COSTS
    13491350                         paction_ = slack_singleton_action::presolve(prob, paction_, rowObjective_);
     1351#else
     1352                         double * fakeRowObjective=new double[prob->nrows_];
     1353                         memset(fakeRowObjective,0,prob->nrows_*sizeof(double));
     1354                         paction_ = slack_singleton_action::presolve(prob, paction_, fakeRowObjective);
     1355                         delete [] fakeRowObjective;
     1356#endif
    13501357                         stopLoop = true;
    13511358                    }
Note: See TracChangeset for help on using the changeset viewer.