8 #ifndef CbcCompareDefault_H 
    9 #define CbcCompareDefault_H 
   57     double objectiveAtContinuous,
 
   58     int numberInfeasibilitiesAtContinuous);
 
  126 #endif //CbcCompareDefault_H 
int breadthDepth_
Depth above which want to explore first. 
 
virtual bool every1000Nodes(CbcModel *model, int numberNodes)
This allows method to change behavior Return true if want tree re-sorted. 
 
int treeSize_
Tree size (at last check) 
 
void setBreadthDepth(int value)
Depth above which want to explore first. 
 
double bestPossible_
Best possible solution. 
 
void setBestPossible(double bestPossible)
 
double getBestPossible() const 
Best possible solution. 
 
CbcCompareDefault & operator=(const CbcCompareDefault &rhs)
Assignment operator. 
 
virtual CbcCompareBase * clone() const 
Clone. 
 
virtual bool test(CbcNode *x, CbcNode *y)
This is test function. 
 
double saveWeight_
Weight for each infeasibility - computed from solution. 
 
void cleanDive()
Clean up diving (i.e. switch off or prepare) 
 
bool setupForDiving_
Indicates doing setup for diving. 
 
void setWeight(double weight)
 
int numberSolutions_
Number of solutions. 
 
double weight_
Weight for each infeasibility. 
 
virtual bool newSolution(CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous)
This allows method to change behavior as it is called after each solution. 
 
double getCutoff() const 
Cutoff. 
 
int afterNodeNumber_
Node number when dive started. 
 
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state. 
 
virtual bool newSolution(CbcModel *)
Reconsider behaviour after discovering a new solution. 
 
CbcCompareDefault()
Default Constructor. 
 
Information required while the node is live. 
 
int startNodeNumber_
Chosen node from estimated (-1 is off) 
 
void setCutoff(double cutoff)
 
void startDive(CbcModel *model)
Start dive. 
 
Simple Branch and bound class.