8 #ifndef CbcBranchDecision_H
9 #define CbcBranchDecision_H
57 double changeUp,
int numberInfeasibilitiesUp,
58 double changeDown,
int numberInfeasibilitiesDown)
69 double *changeUp,
int *numberInfeasibilitiesUp,
70 double *changeDown,
int *numberInfeasibilitiesDown,
71 double objectiveValue);
Abstract branching object base class Now just difference with OsiBranchingObject. ...
CbcBranchDecision & operator=(const CbcBranchDecision &rhs)
Assignment is illegal.
OsiChooseVariable * chooseMethod() const
CbcModel * model_
Pointer to model.
CbcBranchingObject * object_
CbcBranchDecision()
Default Constructor.
virtual void setBestCriterion(double)
Sets or gets best criterion so far.
virtual int betterBranch(CbcBranchingObject *thisOne, CbcBranchingObject *bestSoFar, double changeUp, int numberInfeasibilitiesUp, double changeDown, int numberInfeasibilitiesDown)=0
Compare two branching objects.
void setChooseMethod(const OsiChooseVariable &method)
Set (clone) chooseMethod.
virtual int bestBranch(CbcBranchingObject **objects, int numberObjects, int numberUnsatisfied, double *changeUp, int *numberInfeasibilitiesUp, double *changeDown, int *numberInfeasibilitiesDown, double objectiveValue)
Compare N branching objects.
virtual void initialize(CbcModel *model)=0
Initialize e.g. before starting to choose a branch at a node.
virtual CbcBranchDecision * clone() const =0
Clone.
Abstract Base Class for describing an interface to a solver.
virtual double getBestCriterion() const
virtual int whichMethod()
Says whether this method can handle both methods - 1 better, 2 best, 3 both.
virtual ~CbcBranchDecision()
Destructor.
virtual void generateCpp(FILE *)
Create C++ lines to get to current state.
OsiChooseVariable * chooseMethod_
CbcModel * cbcModel() const
Model.
virtual void saveBranchingObject(OsiBranchingObject *)
Saves a clone of current branching object.
Information required while the node is live.
virtual void updateInformation(OsiSolverInterface *, const CbcNode *)
Pass in information on branch just done.
This class chooses a variable to branch on.
Simple Branch and bound class.
Abstract branching object base class.