Ignore:
Timestamp:
Sep 4, 2007 5:58:33 AM (12 years ago)
Author:
forrest
Message:

for bonmin

File:
1 edited

Legend:

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

    r765 r777  
    179179}
    180180
     181double
     182CbcTree::getBestPossibleObjective(){
     183  double r_val = 1e100;
     184  for(int i = 0 ; i < nodes_.size() ; i++){
     185    if(nodes_[i] && nodes_[i]->objectiveValue() < r_val){
     186      r_val = nodes_[i]->objectiveValue();
     187    }
     188    return r_val;
     189  }
     190}
    181191/*! \brief Prune the tree using an objective function cutoff
    182192
Note: See TracChangeset for help on using the changeset viewer.