Changeset 1732 for stable/2.7


Ignore:
Timestamp:
Sep 25, 2011 11:25:22 AM (8 years ago)
Author:
stefan
Message:

add CbcModel::getExtraNodeCount to get number of nodes enumerated by CLP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.7/Cbc/src/CbcModel.hpp

    r1724 r1732  
    893893        numberIterations_ += value;
    894894    }
    895     /// Get how many Nodes it took to solve the problem.
     895    /// Get how many Nodes it took to solve the problem (including those in complete fathoming B&B inside CLP).
    896896    inline int getNodeCount() const {
    897897        return numberNodes_;
     
    900900    inline void incrementNodeCount(int value) {
    901901        numberNodes_ += value;
     902    }
     903    /// Get how many Nodes were enumerated in complete fathoming B&B inside CLP
     904    inline int getExtraNodeCount() const {
     905       return numberExtraNodes_;
    902906    }
    903907    /** Final status of problem
Note: See TracChangeset for help on using the changeset viewer.