Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcTree.hpp

    r1813 r1943  
    163163    inline int * newBounds() const { return newBound_; }
    164164
     165    /// Last objective in branch-and-cut search tree
     166    inline double lastObjective() const {
     167        return lastObjective_;
     168    }
     169    /// Last depth in branch-and-cut search tree
     170    inline int lastDepth() const {
     171        return lastDepth_;
     172    }
     173    /// Last number of objects unsatisfied
     174    inline int lastUnsatisfied() const {
     175        return lastUnsatisfied_;
     176    }
    165177    /// Adds branching information to complete state
    166178    void addBranchingInformation(const CbcModel * model, const CbcNodeInfo * nodeInfo,
     
    182194    /// Storage vector for the heap
    183195    std::vector <CbcNode *> nodes_;
    184           /// Sort predicate for heap ordering.
     196    /// Sort predicate for heap ordering.
    185197    CbcCompare comparison_;
    186198    /// Maximum "node" number so far to split ties
     
    190202    /// Maximum size of variable list
    191203    int maximumBranching_;
     204    /// Objective of last node pushed on tree
     205    double lastObjective_;
     206    /// Depth of last node pushed on tree
     207    int lastDepth_;
     208    /// Number unsatisfied of last node pushed on tree
     209    int lastUnsatisfied_;
    192210    /** Integer variables branched or bounded
    193211        top bit set if new upper bound
Note: See TracChangeset for help on using the changeset viewer.