Ignore:
Timestamp:
Jul 21, 2013 5:05:45 AM (7 years ago)
Author:
forrest
Message:

more options, copy statistics structure analysis
start coding of "switch" variables i.e. badly scaled ints or hi/lo
changes to allow more influence on small branch and bound
changes to get correct printout with threads

File:
1 edited

Legend:

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

    r1886 r1943  
    15381538    // Set guessed solution value
    15391539    guessedObjectiveValue_ = objectiveValue_ + estimatedDegradation;
     1540    //printf ("Node %d depth %d unsatisfied %d sum %g obj %g guess %g\n",
     1541    //      model->getNodeCount(),depth_,numberUnsatisfied_,
     1542    //      sumInfeasibilities_,objectiveValue_,guessedObjectiveValue_);
    15401543    /*
    15411544      Cleanup, then we're outta here.
     
    36693672    // Set guessed solution value
    36703673    guessedObjectiveValue_ = objectiveValue_ + estimatedDegradation;
     3674    int kColumn=-1;
     3675    if (branch_) {
     3676      CbcObject * obj = (dynamic_cast<CbcBranchingObject *>(branch_))->object();
     3677      CbcSimpleInteger * branchObj =
     3678        dynamic_cast <CbcSimpleInteger *>(obj) ;
     3679      if (branchObj) {
     3680        kColumn=branchObj->columnNumber();
     3681      }
     3682    }
     3683    if (model->logLevel()>1)
     3684    printf ("Node %d depth %d unsatisfied %d sum %g obj %g guess %g branching on %d\n",
     3685            model->getNodeCount(),depth_,numberUnsatisfied_,
     3686            sumInfeasibilities_,objectiveValue_,guessedObjectiveValue_,
     3687            kColumn);
    36713688#ifdef DO_ALL_AT_ROOT
    36723689    if (strongType) {
Note: See TracChangeset for help on using the changeset viewer.