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