52 const int * which,
const char *
type,
53 int identifier,
int slack = -1);
68 virtual double infeasibility(
const OsiBranchingInformation * info,
104 inline char type(
int index)
const {
172 int numberOnDownSide,
const int * down,
173 int numberOnUpSide,
const int * up);
189 virtual double branch();
194 virtual void print();
225 unsigned int downMask_[2];
227 unsigned int upMask_[2];
244 int numberOnDownSide,
const int * down,
245 int numberOnUpSide,
const int * up);
261 virtual double branch();
266 virtual void print();
297 unsigned int * downMask_;
299 unsigned int * upMask_;
char type(int index) const
Type of each member, i.e., which way is strong.
Unordered Clique Branching Object class.
virtual void redoSequenceEtc(CbcModel *model, int numberColumns, const int *originalColumns)
Redoes data when sequence numbers change.
Branching object for cliques.
virtual ~CbcClique()
Destructor.
virtual void feasibleRegion()=0
For the variable(s) referenced by the object, look at the current solution and set bounds to match th...
int * members_
Members (indices in range 0 ... numberIntegers_-1)
virtual void feasibleRegion()
This looks at solution and sets bounds to contain solution.
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
const int * members() const
Members (indices in range 0 ... numberIntegers_-1)
int slack_
Slack variable for the clique.
virtual CbcObject * clone() const
Clone.
Abstract branching object base class Now just difference with OsiBranchingObject. ...
int cliqueType_
Clique type.
int numberMembers() const
Number of members.
int numberMembers_
data Number of members
CbcModel * model() const
Return model.
virtual double branch()=0
Execute the actions required to branch, as specified by the current state of the branching object...
char * type_
Strong value for each member.
virtual void print() const
Print something about branch - only if log level high.
int cliqueType() const
Clique type: 0 is <=, 1 is ==.
int numberNonSOSMembers() const
Number of variables with -1 coefficient.
CbcClique()
Default Constructor.
int numberNonSOSMembers_
Number of Non SOS members i.e. fixing to zero is strong.
CbcClique & operator=(const CbcClique &rhs)
Assignment operator.
virtual double infeasibility(const OsiBranchingInformation *info, int &preferredWay) const
Infeasibility - large is 0.5.
Branching object for unordered cliques.
Simple Branch and bound class.
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
int preferredWay() const
If -1 down always chosen first, +1 up always, 0 normal.
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.