48 const int * which,
const char *
type,
49 int identifier,
int slack = -1);
64 virtual double infeasibility(
const OsiBranchingInformation * info,
101 inline char type(
int index)
const {
169 int numberOnDownSide,
const int * down,
170 int numberOnUpSide,
const int * up);
191 virtual void print();
241 int numberOnDownSide,
const int * down,
242 int numberOnUpSide,
const int * up);
263 virtual void print();
Abstract branching object base class Now just difference with OsiBranchingObject. ...
unsigned int upMask_[2]
upMask - bit set to fix to weak bounds, not set to leave unfixed
unsigned int * upMask_
upMask - bit set to fix to weak bounds, not set to leave unfixed
virtual CbcBranchingObject * clone() const
Clone.
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.
int cliqueType() const
Clique type - 0 <=, 1 ==.
CbcCliqueBranchingObject()
virtual void print() const
Print something about branch - only if log level high.
virtual int compareOriginalObject(const CbcBranchingObject *brObj) const
Compare the original object of this with the original object of brObj.
virtual CbcRangeCompare compareBranchingObject(const CbcBranchingObject *brObj, const bool replaceIfOverlap=false)
Compare the this with brObj.
CbcLongCliqueBranchingObject()
virtual CbcObject * clone() const
Clone.
int numberNonSOSMembers() const
Number of variables with -1 coefficient.
virtual double branch()
Does next branch and updates state.
const int * members() const
Members (indices in range 0 ... numberIntegers_-1)
virtual ~CbcCliqueBranchingObject()
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
virtual void redoSequenceEtc(CbcModel *model, int numberColumns, const int *originalColumns)
Redoes data when sequence numbers change.
int slack_
Slack variable for the clique.
virtual int compareOriginalObject(const CbcBranchingObject *brObj) const
Compare the original object of this with the original object of brObj.
virtual ~CbcLongCliqueBranchingObject()
virtual CbcRangeCompare compareBranchingObject(const CbcBranchingObject *brObj, const bool replaceIfOverlap=false)
Compare the this with brObj.
const CbcClique * clique_
data
virtual void feasibleRegion()=0
For the variable(s) referenced by the object, look at the current solution and set bounds to match th...
char type(int index) const
Type of each member, i.e.
int numberMembers_
data Number of members
int preferredWay() const
If -1 down always chosen first, +1 up always, 0 normal.
CbcClique & operator=(const CbcClique &rhs)
char * type_
Strong value for each member.
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
CbcLongCliqueBranchingObject & operator=(const CbcLongCliqueBranchingObject &rhs)
int cliqueType_
Clique type.
int way() const
Get the state of the branching object.
virtual double infeasibility(const OsiBranchingInformation *info, int &preferredWay) const
Infeasibility - large is 0.5.
const CbcClique * clique_
data
CbcModel * model() const
Return model.
virtual CbcBranchingObject * clone() const
Clone.
Unordered Clique Branching Object class.
CbcCliqueBranchingObject & operator=(const CbcCliqueBranchingObject &rhs)
virtual void feasibleRegion()
This looks at solution and sets bounds to contain solution.
int * members_
Members (indices in range 0 ... numberIntegers_-1)
Branching object for unordered cliques.
virtual void print()
Print something about branch - only if log level high.
unsigned int * downMask_
downMask - bit set to fix to weak bounds, not set to leave unfixed
int numberMembers() const
Number of members.
int numberNonSOSMembers_
Number of Non SOS members i.e. fixing to zero is strong.
unsigned int downMask_[2]
downMask - bit set to fix to weak bounds, not set to leave unfixed
CbcModel * model() const
Return model.
virtual double branch()
Does next branch and updates state.
Branching object for cliques.
Simple Branch and bound class.
virtual void print()
Print something about branch - only if log level high.
virtual double branch()=0
Execute the actions required to branch, as specified by the current state of the branching object...