Go to the documentation of this file.
36 #include "OsiRowCut.hpp"
91 int createCut(
const double *solution, OsiRowCut &cut);
103 void passInSolution(
const double *solution,
double solutionValue);
267 int createCut(
const double *solution, OsiRowCut &cut);
270 virtual bool empty();
275 void reverseCut(
int state,
double bias = 0.0);
279 void passInSolution(
const double *solution,
double solutionValue);
virtual void pop()
Remove the top node from the heap.
virtual ~CbcTreeVariable()
void setTypeCuts(int value)
virtual bool empty()
Test if empty *** note may be overridden.
int maxDiversification() const
int createCut(const double *solution, OsiRowCut &cut)
Create cut - return -1 if bad, 0 if okay and 1 if cut is everything.
virtual CbcTree * clone() const
Clone.
void passInSolution(const double *solution, double solutionValue)
Pass in solution (so can be used after heuristic)
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual void endSearch()
We may have got an intelligent tree so give it one more chance.
int maxDiversification() const
void reverseCut(int state, double bias=0.0)
Other side of last cut branch (if bias==rhs_ will be weakest possible)
void setNodeLimit(int value)
virtual void pop()
Remove the top node from the heap.
virtual void push(CbcNode *x)
Add a node to the heap.
int createCut(const double *solution, OsiRowCut &cut)
Create cut - return -1 if bad, 0 if okay and 1 if cut is everything.
virtual void push(CbcNode *x)
Add a node to the heap.
Simple Branch and bound class.
void setTypeCuts(int value)
virtual void endSearch()
We may have got an intelligent tree so give it one more chance.
Using MS heap implementation.
virtual CbcTree * clone() const
Clone.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
void setRefine(bool yesNo)
void setMaxDiversification(int value)
CbcTreeLocal & operator=(const CbcTreeLocal &rhs)
Information required while the node is live.
void reverseCut(int state, double bias=0.0)
Other side of last cut branch (if bias==rhs_ will be weakest possible)
void deleteCut(OsiRowCut &cut)
Delete last cut branch.
CbcTreeVariable & operator=(const CbcTreeVariable &rhs)
virtual bool empty()
Test if empty *** note may be overridden.
void setMaxDiversification(int value)
virtual CbcNode * top() const
Return the top node of the heap.
virtual CbcNode * top() const
Return the top node of the heap.
void setTimeLimit(int value)
void setRefine(bool yesNo)
void passInSolution(const double *solution, double solutionValue)
Pass in solution (so can be used after heuristic)
void setNodeLimit(int value)
void setTimeLimit(int value)
void deleteCut(OsiRowCut &cut)
Delete last cut branch.