6#ifndef CbcCompareBase_H
7#define CbcCompareBase_H
59 int) {
return (
false); }
106 virtual bool test(CbcNode *, CbcNode *)
133 assert(nodeNumberX != nodeNumberY);
134 return (nodeNumberX > nodeNumberY);
136 assert(x->nodeNumber() != y->nodeNumber());
137 return (x->nodeNumber() > y->nodeNumber());
virtual bool alternateTest(CbcNode *x, CbcNode *y)
This is alternate test function.
virtual bool test(CbcNode *, CbcNode *)
This is test function.
CbcCompareBase & operator=(const CbcCompareBase &rhs)
virtual CbcCompareBase * clone() const
Clone.
bool operator()(CbcNode *x, CbcNode *y)
virtual ~CbcCompareBase()
bool equalityTest(CbcNode *x, CbcNode *y) const
Further test if everything else equal.
virtual void generateCpp(FILE *)
Create C++ lines to get to current state.
virtual bool fullScan() const
Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled.
virtual bool newSolution(CbcModel *)
Reconsider behaviour after discovering a new solution.
CbcCompareBase(const CbcCompareBase &rhs)
virtual bool every1000Nodes(CbcModel *, int)
void sayThreaded()
Say threaded.
virtual bool newSolution(CbcModel *, double, int)
Reconsider behaviour after discovering a new solution.
Simple Branch and bound class.
Information required to recreate the subproblem at this node.
*The node number int nodeNumber() const
Using MS heap implementation.