CbcBranchDefaultDecision.hpp
Go to the documentation of this file.
1 // Edwin 11/10/2009-- carved out of CbcBranchActual
2 #ifndef CbcBranchDefaultDecision_H
3 #define CbcBranchDefaultDecision_H
4 
5 #include "CbcBranchBase.hpp"
13 public:
14  // Default Constructor
16 
17  // Copy constructor
19 
20  virtual ~CbcBranchDefaultDecision();
21 
23  virtual CbcBranchDecision * clone() const;
24 
26  virtual void initialize(CbcModel * model);
27 
47  virtual int betterBranch(CbcBranchingObject * thisOne,
48  CbcBranchingObject * bestSoFar,
49  double changeUp, int numInfUp,
50  double changeDn, int numInfDn);
52  virtual void setBestCriterion(double value);
53  virtual double getBestCriterion() const;
54 
61  virtual int
62  bestBranch (CbcBranchingObject ** objects, int numberObjects, int numberUnsatisfied,
63  double * changeUp, int * numberInfeasibilitiesUp,
64  double * changeDown, int * numberInfeasibilitiesDown,
65  double objectiveValue) ;
66 private:
67 
70 
72 
75 
77  double bestChangeUp_;
78 
81 
84 
87 
90 
91 };
92 
93 #endif
94