4 #ifndef CbcCountRowCut_H
5 #define CbcCountRowCut_H
85 bool canDropCut(
const OsiSolverInterface * solver,
int row)
const;
87 #ifdef CHECK_CUT_COUNTS
bool canDropCut(const OsiSolverInterface *solver, int row) const
Returns true if can drop cut if slack basic.
int numberPointingToThis()
Number of other CbcNodeInfo objects pointing to this row cut.
virtual ~CbcCountRowCut()
Destructor.
CbcNodeInfo * owner_
Backward pointer to owning CbcNodeInfo.
void setInfo(CbcNodeInfo *, int whichOne)
Set the information associating this cut with a node.
Information required to recreate the subproblem at this node.
int whichCutGenerator() const
Which generator for cuts - as user order.
int decrement(int change=1)
Decrement the number of references and return the number left.
int numberPointingToThis_
Number of other CbcNodeInfo objects pointing to this cut.
int whichCutGenerator_
Which generator created this cut.
int ownerCut_
Index of cut in owner's cut set (cuts_ ).
OsiRowCut augmented with bookkeeping.
CbcCountRowCut()
Default Constructor.
CbcCountRowCut & operator=(const CbcCountRowCut &rhs)
Standard assignment is illegal (reference counts would be incorrect)
void increment(int change=1)
Increment the number of references.