Ignore:
Timestamp:
Feb 29, 2008 11:06:25 PM (11 years ago)
Author:
jpgoncal
Message:

Cleaned up a little bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/heur/Cbc/src/CbcHeuristicDiveCoefficient.cpp

    r884 r885  
    156156
    157157    // Get where we are and create the appropriate CbcHeuristicNode object
    158     nodeDesc = new CbcHeuristicNode(model_);
    159     if (!nodes_.farFrom(nodeDesc)) {
     158    nodeDesc = new CbcHeuristicNode(*model_);
     159    if (!runNodes_->farFrom(nodeDesc)) {
    160160      delete nodeDesc;
    161161      return NULL;
    162162    }
    163163  }
     164
     165  if(nodeDesc != NULL)
     166    runNodes_->append(nodeDesc);
     167 
     168  lastRun_ = nodeCount;
    164169
    165170#if 0
     
    444449      returnCode=1;
    445450
    446       setCurrentNode(model_->solver());
     451      //      setCurrentNode(model_->solver());
    447452    }
    448453  }
Note: See TracChangeset for help on using the changeset viewer.