Ignore:
Timestamp:
Nov 18, 2014 6:15:36 AM (6 years ago)
Author:
forrest
Message:

for memory leaks and heuristics and some experimental stuff

File:
1 edited

Legend:

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

    r1984 r2094  
    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);
     
    228229    PUSH_MPS("harp2", 112, 2993, -73899798.00, -74353341.502, 6, false);
    229230    PUSH_MPS("khb05250", 101, 1350, 106940226, 95919464.0, 0, false);
     231#endif
    230232    PUSH_MPS("l152lav", 97, 1989, 4722, 4656.36, 1, false);
    231233    PUSH_MPS("lseu", 28, 89, 1120, 834.68, 0, false);
     
    581583#     endif
    582584      if (stuff && stuff[8] >= 1) {
     585        printf("CCColumns %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.