3 #ifndef CbcBranchUser_H
4 #define CbcBranchUser_H
6 #include "CbcBranchBase.hpp"
7 #include "CbcBranchActual.hpp"
36 double changeUp,
int numberInfeasibilitiesUp,
37 double changeDown,
int numberInfeasibilitiesDown);
48 double * changeUp,
int * numberInfeasibilitiesUp,
49 double * changeDown,
int * numberInfeasibilitiesDown,
50 double objectiveValue) ;
100 const OsiBranchingInformation * info,
int way) ;
Abstract branching object base class Now just difference with OsiBranchingObject. ...
virtual CbcObject * clone() const
Clone.
Define a single integer class.
virtual CbcBranchDecision * clone() const
Clone.
virtual int bestBranch(CbcBranchingObject **objects, int numberObjects, int numberUnsatisfied, double *changeUp, int *numberInfeasibilitiesUp, double *changeDown, int *numberInfeasibilitiesDown, double objectiveValue)
Compare N branching objects.
CbcSimpleIntegerFixed & operator=(const CbcSimpleIntegerFixed &rhs)
virtual void initialize(CbcModel *model)
Initialize i.e. before start of choosing at a node.
int preferredWay() const
If -1 down always chosen first, +1 up always, 0 normal.
virtual int betterBranch(CbcBranchingObject *thisOne, CbcBranchingObject *bestSoFar, double changeUp, int numberInfeasibilitiesUp, double changeDown, int numberInfeasibilitiesDown)
Returns nonzero if branching on first object is "better" than on second (if second NULL first wins)...
virtual double infeasibility(int &preferredWay) const
Infeasibility - large is 0.5.
Branching decision user class.
Define a single integer class where branching is forced until fixed.
virtual ~CbcBranchUserDecision()
CbcModel * model() const
Return model.
virtual CbcBranchingObject * createBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.
CbcBranchUserDecision & operator=(const CbcBranchUserDecision &rhs)
Illegal Assignment operator.
Simple Branch and bound class.
double breakEven() const
Breakeven e.g 0.7 -> >= 0.7 go up first.