#include <BlisBranchObjectInt.h>
|
| BlisBranchObjectInt () |
| Default constructor. More...
|
|
| BlisBranchObjectInt (BlisModel *model, int varInd, int direction, double value) |
| Construct a branching object, which branching on variable varInd. More...
|
|
| BlisBranchObjectInt (BlisModel *model, int varInd, int intScore, double dblScore, int direction, double value) |
| Construct a branching object, which branching on variable varInd. More...
|
|
| BlisBranchObjectInt (BlisModel *model, int varInd, int direction, double lowerValue, double upperValue) |
| Create a degenerate branching object. More...
|
|
| BlisBranchObjectInt (const BlisBranchObjectInt &) |
| Copy constructor. More...
|
|
BlisBranchObjectInt & | operator= (const BlisBranchObjectInt &rhs) |
| Assignment operator. More...
|
|
virtual BcpsBranchObject * | clone () const |
| Clone. More...
|
|
virtual | ~BlisBranchObjectInt () |
| Destructor. More...
|
|
virtual double | branch (bool normalBranch=false) |
| Set the bounds for the variable according to the current arm of the branch and advances the object state to the next arm. More...
|
|
virtual void | print (bool normalBranch) |
| Print something about branch - only if log level high. More...
|
|
const double * | getDown () const |
| Get down arm bounds. More...
|
|
const double * | getUp () const |
| Get upper arm bounds. More...
|
|
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
| Pack to an encoded object. More...
|
|
virtual AlpsReturnStatus | decode (AlpsEncoded &encoded) |
| Unpack a branching object from an encoded object. More...
|
|
|
AlpsReturnStatus | encodeBlis (AlpsEncoded *encoded) const |
| Pack Blis portion to an encoded object. More...
|
|
AlpsReturnStatus | decodeBlis (AlpsEncoded &encoded) |
| Unpack Blis portion from an encoded object. More...
|
|
|
double | down_ [2] |
| Down_[0]: the lower bound of down arm; Down_[1]: the upper bound of down arm;. More...
|
|
double | up_ [2] |
| Up_[0]: the lower bound of upper arm; Up_[1]: the upper bound of upper arm;. More...
|
|
Definition at line 38 of file BlisBranchObjectInt.h.
BlisBranchObjectInt::BlisBranchObjectInt |
( |
| ) |
|
|
inline |
BlisBranchObjectInt::BlisBranchObjectInt |
( |
BlisModel * |
model, |
|
|
int |
varInd, |
|
|
int |
direction, |
|
|
double |
value |
|
) |
| |
|
inline |
Construct a branching object, which branching on variable varInd.
- Parameters
-
varInd | the index of integer variable in object set |
direction | the direction of first branching: 1(up), -1(down) |
value | the fractional solution value of variable varInd |
Definition at line 69 of file BlisBranchObjectInt.h.
BlisBranchObjectInt::BlisBranchObjectInt |
( |
BlisModel * |
model, |
|
|
int |
varInd, |
|
|
int |
intScore, |
|
|
double |
dblScore, |
|
|
int |
direction, |
|
|
double |
value |
|
) |
| |
|
inline |
Construct a branching object, which branching on variable varInd.
- Parameters
-
varInd | the index of integer variable in object set |
intScore | the integer score/goodness |
dblScore | the double score/goodness |
direction | the direction of first branching: 1(up), -1(down) |
value | the fractional solution value of variable varInd |
Definition at line 91 of file BlisBranchObjectInt.h.
BlisBranchObjectInt::BlisBranchObjectInt |
( |
BlisModel * |
model, |
|
|
int |
varInd, |
|
|
int |
direction, |
|
|
double |
lowerValue, |
|
|
double |
upperValue |
|
) |
| |
|
inline |
Create a degenerate branching object.
Specifies a `one-direction branch'. Calling branch() for this object will always result in lowerValue <= x <= upperValue. Used to fix a variable when lowerValue = upperValue.
Definition at line 113 of file BlisBranchObjectInt.h.
virtual BlisBranchObjectInt::~BlisBranchObjectInt |
( |
| ) |
|
|
inlinevirtual |
virtual BcpsBranchObject* BlisBranchObjectInt::clone |
( |
| ) |
const |
|
inlinevirtual |
virtual double BlisBranchObjectInt::branch |
( |
bool |
normalBranch = false | ) |
|
|
virtual |
Set the bounds for the variable according to the current arm of the branch and advances the object state to the next arm.
Returns change in guessed objective on next branch.
virtual void BlisBranchObjectInt::print |
( |
bool |
normalBranch | ) |
|
|
virtual |
Print something about branch - only if log level high.
const double* BlisBranchObjectInt::getDown |
( |
| ) |
const |
|
inline |
const double* BlisBranchObjectInt::getUp |
( |
| ) |
const |
|
inline |
AlpsReturnStatus BlisBranchObjectInt::encodeBlis |
( |
AlpsEncoded * |
encoded | ) |
const |
|
inlineprotected |
AlpsReturnStatus BlisBranchObjectInt::decodeBlis |
( |
AlpsEncoded & |
encoded | ) |
|
|
inlineprotected |
virtual AlpsReturnStatus BlisBranchObjectInt::encode |
( |
AlpsEncoded * |
encoded | ) |
const |
|
inlinevirtual |
virtual AlpsReturnStatus BlisBranchObjectInt::decode |
( |
AlpsEncoded & |
encoded | ) |
|
|
inlinevirtual |
double BlisBranchObjectInt::down_[2] |
|
protected |
Down_[0]: the lower bound of down arm; Down_[1]: the upper bound of down arm;.
Definition at line 44 of file BlisBranchObjectInt.h.
double BlisBranchObjectInt::up_[2] |
|
protected |
Up_[0]: the lower bound of upper arm; Up_[1]: the upper bound of upper arm;.
Definition at line 48 of file BlisBranchObjectInt.h.
The documentation for this class was generated from the following file: