Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/unitTestClp.cpp

    r1985 r2105  
    201201  objective function.
    202202*/
     203#if 1
    203204    PUSH_MPS("10teams", 230, 2025, 924, 917, 1, false);
    204205    PUSH_MPS("air03", 124, 10757, 340160, 338864.25, 0, false);
     
    264265    PUSH_MPS("swath", 884, 6805, 497.603, 334.4968581, 7, false);
    265266    PUSH_MPS("vpm1", 234, 378, 20, 15.4167, 0, false);
     267#endif
    266268    PUSH_MPS("vpm2", 234, 378, 13.75, 9.8892645972, 0, false);
    267269  }
     
    581583#     endif
    582584      if (stuff && stuff[8] >= 1) {
     585        printf("Fast node size Columns %d rows %d - depth %d\n",
     586               modelC->numberColumns(),modelC->numberRows(),
     587               model->fastNodeDepth());
    583588          if (modelC->numberColumns() + modelC->numberRows() <= 10000 &&
    584589                  model->fastNodeDepth() == -1)
    585               model->setFastNodeDepth(-9);
    586       }
    587     }
    588     //OsiObject * obj = new CbcBranchToFixLots(model,0.3,0.0,3,3000003);
    589     //model->addObjects(1,&obj);
    590     //delete obj;
     590            model->setFastNodeDepth(-10/*-9*/);
     591      }
     592    }
     593#ifdef CONFLICT_CUTS
     594    {
     595      model->setCutoffAsConstraint(true);
     596      int moreOptions=model->moreSpecialOptions();
     597      model->setMoreSpecialOptions(moreOptions|4194304);
     598    }
     599#endif
    591600/*
    592601  Finally, the actual call to solve the MIP with branch-and-cut.
Note: See TracChangeset for help on using the changeset viewer.