Changeset 270 for trunk


Ignore:
Timestamp:
Mar 10, 2006 5:34:29 PM (14 years ago)
Author:
forrest
Message:

quad

Location:
trunk/Samples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Samples/ClpQuadInterface.cpp

    r12 r270  
    3232  ClpObjective * saveObjective  = modelPtr_->objectiveAsObject();
    3333  modelPtr_->setObjectivePointer(quadraticObjective_);
     34  //modelPtr_->setLogLevel(1);
    3435  // Could load up any data into a solver
    3536  modelPtr_->primal();
  • trunk/Samples/Makefile.qmip

    r12 r270  
    7575TESTSRC := qmip.cpp
    7676TESTSRC += CbcBranchUser.cpp
    77 TESTSRC += CbcHeuristicUser.cpp
     77#TESTSRC += CbcHeuristicUser.cpp
    7878TESTSRC += CbcCompareUser.cpp
    7979TESTSRC += ClpQuadInterface.cpp
  • trunk/Samples/qmip.cpp

    r176 r270  
    129129                             fabs(model.getMinimizationObjValue())*1.0e-3+1.0e-4));
    130130
    131   if (model.getNumCols()<500)
    132     model.setMaximumCutPassesAtRoot(-100); // always do 100 if possible
    133   else if (model.getNumCols()<5000)
    134     model.setMaximumCutPassesAtRoot(100); // use minimum drop
    135   else
    136     model.setMaximumCutPassesAtRoot(20);
     131  model.setMaximumCutPassesAtRoot(0);
     132  model.setMaximumCutPasses(0);
    137133
    138134  // Switch off strong branching if wanted
Note: See TracChangeset for help on using the changeset viewer.