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