2 #ifndef CbcBranchDefaultDecision_H
3 #define CbcBranchDefaultDecision_H
49 double changeUp,
int numInfUp,
50 double changeDn,
int numInfDn);
63 double * changeUp,
int * numberInfeasibilitiesUp,
64 double * changeDown,
int * numberInfeasibilitiesDown,
65 double objectiveValue) ;
Abstract branching object base class Now just difference with OsiBranchingObject. ...
double bestCriterion_
data
virtual double getBestCriterion() const
double bestChangeDown_
Change down for best.
int bestNumberDown_
Number of infeasibilities for down.
CbcBranchDefaultDecision & operator=(const CbcBranchDefaultDecision &rhs)
Illegal Assignment operator.
virtual CbcBranchDecision * clone() const
Clone.
CbcBranchDefaultDecision()
virtual ~CbcBranchDefaultDecision()
virtual int betterBranch(CbcBranchingObject *thisOne, CbcBranchingObject *bestSoFar, double changeUp, int numInfUp, double changeDn, int numInfDn)
Compare two branching objects.
double bestChangeUp_
Change up for best.
virtual void initialize(CbcModel *model)
Initialize, e.g. before the start of branch selection at a node.
Branching decision default class.
int bestNumberUp_
Number of infeasibilities for up.
CbcBranchingObject * bestObject_
Pointer to best branching object.
Simple Branch and bound class.
virtual void setBestCriterion(double value)
Sets or gets best criterion so far.
virtual int bestBranch(CbcBranchingObject **objects, int numberObjects, int numberUnsatisfied, double *changeUp, int *numberInfeasibilitiesUp, double *changeDown, int *numberInfeasibilitiesDown, double objectiveValue)
Compare N branching objects.