78 down_[0] =
model->solver()->getColLower()[iColumn];
81 up_[1] =
model->getColUpper()[iColumn];
102 down_[0] =
model->solver()->getColLower()[iColumn];
105 up_[1] =
model->getColUpper()[iColumn];
123 down_[0] = lowerValue;
124 down_[1] = upperValue;
146 virtual double branch(
bool normalBranch =
false);
149 virtual void print(
bool normalBranch);
165 for (j = 0; j < 2; ++j) {
168 for (j = 0; j < 2; ++j) {
180 for (j = 0; j < 2; ++j) {
183 for (j = 0; j < 2; ++j) {
@ BlisBranchingObjectTypeInt
AlpsEncoded & readRep(T &value)
AlpsEncoded & writeRep(const T &value)
AlpsReturnStatus decodeBcps(AlpsEncoded &encoded)
BcpsModel * model() const
AlpsReturnStatus encodeBcps(AlpsEncoded *encoded) const
virtual void print(bool normalBranch)
Print something about branch - only if log level high.
virtual AlpsReturnStatus encode(AlpsEncoded *encoded) const
Pack to an encoded object.
BlisBranchObjectInt(BlisModel *model, int varInd, int direction, double lowerValue, double upperValue)
Create a degenerate branching object.
AlpsReturnStatus decodeBlis(AlpsEncoded &encoded)
Unpack Blis portion from an encoded object.
BlisBranchObjectInt & operator=(const BlisBranchObjectInt &rhs)
Assignment operator.
BlisBranchObjectInt(BlisModel *model, int varInd, int direction, double value)
Construct a branching object, which branching on variable varInd.
BlisBranchObjectInt(BlisModel *model, int varInd, int intScore, double dblScore, int direction, double value)
Construct a branching object, which branching on variable varInd.
const double * getUp() const
Get upper arm bounds.
AlpsReturnStatus encodeBlis(AlpsEncoded *encoded) const
Pack Blis portion to an encoded object.
BlisBranchObjectInt()
Default constructor.
double up_[2]
Up_[0]: the lower bound of upper arm; Up_[1]: the upper bound of upper arm;.
virtual BcpsBranchObject * clone() const
Clone.
virtual double branch(bool normalBranch=false)
Set the bounds for the variable according to the current arm of the branch and advances the object st...
virtual ~BlisBranchObjectInt()
Destructor.
double down_[2]
Down_[0]: the lower bound of down arm; Down_[1]: the upper bound of down arm;.
const double * getDown() const
Get down arm bounds.
virtual AlpsReturnStatus decode(AlpsEncoded &encoded)
Unpack a branching object from an encoded object.
BlisBranchObjectInt(const BlisBranchObjectInt &)
Copy constructor.