58 virtual int gutsOfFollowOn(
int &otherRow,
int &preferredWay)
const;
82 int numberOnDownSide,
const int *down,
83 int numberOnUpSide,
const int *up);
112 virtual void print();
Abstract branching object base class Now just difference with OsiBranchingObject. ...
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
virtual CbcBranchingObject * clone() const
Clone.
int * downList_
downList - variables to fix to lb on down branch
General Branching Object class.
virtual void print() const
Print something about branch - only if log level high.
int numberUp_
Number on up list.
CoinThreadRandom randomNumberGenerator_
data Thread specific random number generator
int * rhs_
Possible rhs (if 0 then not possible)
virtual CbcObject * clone() const
Clone.
Sparse Matrix Base Class.
double infeasibility() const
Return infeasibility.
CbcFollowOn & operator=(const CbcFollowOn &rhs)
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.
virtual void feasibleRegion()
This looks at solution and sets bounds to contain solution.
int * upList_
upList - variables to fix to lb on up branch
virtual double branch()
Does next branch and updates state.
CbcFixingBranchingObject & operator=(const CbcFixingBranchingObject &rhs)
Define a follow on class.
virtual void feasibleRegion()=0
For the variable(s) referenced by the object, look at the current solution and set bounds to match th...
virtual void print()
Print something about branch - only if log level high.
virtual void feasibleRegion()
This looks at solution and sets bounds to contain solution.
int preferredWay() const
If -1 down always chosen first, +1 up always, 0 normal.
Define an idiotic idea class.
CoinPackedMatrix matrix_
data Matrix
Abstract Base Class for describing an interface to a solver.
CoinPackedMatrix matrixByRow_
Matrix by row.
virtual ~CbcFixingBranchingObject()
CbcIdiotBranch & operator=(const CbcIdiotBranch &rhs)
virtual int gutsOfFollowOn(int &otherRow, int &preferredWay) const
As some computation is needed in more than one place - returns row.
virtual void previousBranch()
Reset every information so that the branching object appears to point to the previous child...
int way() const
Get the state of the branching object.
CbcModel * model() const
Return model.
virtual CbcRangeCompare compareBranchingObject(const CbcBranchingObject *brObj, const bool replaceIfOverlap=false)
Compare the this with brObj.
Class for thread specific random numbers.
int numberDown_
data Number on down list
virtual void initializeForBranching(CbcModel *)
Initialize for branching.
CoinThreadRandom savedRandomNumberGenerator_
Saved version of thread specific random number generator.
virtual int compareOriginalObject(const CbcBranchingObject *brObj) const
Compare the original object of this with the original object of brObj.
CbcFixingBranchingObject()
OsiRowCut buildCut(const OsiBranchingInformation *info, int type, int &preferredWay) const
Build "cut".
CbcModel * model() const
Return model.
Simple Branch and bound class.
virtual CbcObject * clone() const
Clone.
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.
virtual double branch()=0
Execute the actions required to branch, as specified by the current state of the branching object...