Ignore:
Timestamp:
Oct 4, 2002 5:13:34 PM (18 years ago)
Author:
forrest
Message:

Conditionally do presolve on ifdef

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-1/Test/unitTest.cpp

    r29 r30  
    256256      solution.setDblParam(ClpObjOffset,mps.objectiveOffset());
    257257      if (doPresolve) {
     258#ifdef USE_PRESOLVE
    258259        Presolve pinfo;
    259260        ClpSimplex * model2 = pinfo.presolvedModel(solution,1.0e-8);
     
    286287          delete model2;
    287288        }
    288 
     289#else
     290        if (doDual) {
     291          solution.dual();
     292        } else {
     293          solution.primal();
     294        }
     295#endif
    289296      } else {
    290297        if (doDual) {
Note: See TracChangeset for help on using the changeset viewer.