6 #ifndef CbcCompareBase_H
7 #define CbcCompareBase_H
59 int) {
return (
false); }
133 assert(nodeNumberX != nodeNumberY);
134 return (nodeNumberX > nodeNumberY);
virtual bool alternateTest(CbcNode *x, CbcNode *y)
This is alternate test function.
virtual bool test(CbcNode *, CbcNode *)
This is test function.
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 CbcCompareBase * clone() const
Clone.
virtual bool newSolution(CbcModel *, double, int)
Reconsider behaviour after discovering a new solution.
CbcCompareBase & operator=(const CbcCompareBase &rhs)
Simple Branch and bound class.
Information required to recreate the subproblem at this node.
int nodeNumber() const
The node number.
Information required while the node is live.
int nodeNumber() const
The node number.
CbcNodeInfo * nodeInfo() const
Using MS heap implementation.