#include <BlisBranchObjectBilevel.h>
Public Member Functions | |
BlisBranchObjectBilevel () | |
Default constructor. | |
BlisBranchObjectBilevel (BcpsModel *model) | |
Another useful constructor. | |
BlisBranchObjectBilevel (const BlisBranchObjectBilevel &rhs) | |
Copy constructor. | |
BlisBranchObjectBilevel & | operator= (const BlisBranchObjectBilevel &rhs) |
Assignment operator. | |
virtual BcpsBranchObject * | clone () const |
Clone. | |
virtual | ~BlisBranchObjectBilevel () |
Destructor. | |
std::deque< int > * | getBranchingSet () const |
Get a pointer to the branching set. | |
void | addToBranchingSet (int item) |
Get a pointer to the branching set. | |
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. | |
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. | |
virtual AlpsReturnStatus | decode (AlpsEncoded &encoded) |
Unpack a branching object from an encoded object. | |
Protected Member Functions | |
AlpsReturnStatus | encodeBlis (AlpsEncoded *encoded) const |
Pack Blis portion to an encoded object. | |
AlpsReturnStatus | decodeBlis (AlpsEncoded &encoded) |
Unpack Blis portion from an encoded object. | |
Protected Attributes | |
std::deque< int > * | branchingSet_ |
The indices of variables in the branching set. |
Definition at line 38 of file BlisBranchObjectBilevel.h.
BlisBranchObjectBilevel::BlisBranchObjectBilevel | ( | ) | [inline] |
Default constructor.
Definition at line 48 of file BlisBranchObjectBilevel.h.
References BlisBranchingObjectTypeBilevel, and branchingSet_.
Referenced by clone().
BlisBranchObjectBilevel::BlisBranchObjectBilevel | ( | BcpsModel * | model | ) | [inline] |
Another useful constructor.
Definition at line 55 of file BlisBranchObjectBilevel.h.
References BlisBranchingObjectTypeBilevel, and branchingSet_.
BlisBranchObjectBilevel::BlisBranchObjectBilevel | ( | const BlisBranchObjectBilevel & | rhs | ) | [inline] |
virtual BlisBranchObjectBilevel::~BlisBranchObjectBilevel | ( | ) | [inline, virtual] |
BlisBranchObjectBilevel& BlisBranchObjectBilevel::operator= | ( | const BlisBranchObjectBilevel & | rhs | ) |
Assignment operator.
virtual BcpsBranchObject* BlisBranchObjectBilevel::clone | ( | ) | const [inline, virtual] |
Clone.
Definition at line 70 of file BlisBranchObjectBilevel.h.
References BlisBranchObjectBilevel().
std::deque<int>* BlisBranchObjectBilevel::getBranchingSet | ( | ) | const [inline] |
Get a pointer to the branching set.
Definition at line 78 of file BlisBranchObjectBilevel.h.
References branchingSet_.
void BlisBranchObjectBilevel::addToBranchingSet | ( | int | item | ) | [inline] |
Get a pointer to the branching set.
Definition at line 81 of file BlisBranchObjectBilevel.h.
References branchingSet_.
virtual double BlisBranchObjectBilevel::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 BlisBranchObjectBilevel::print | ( | bool | normalBranch | ) | [virtual] |
Print something about branch - only if log level high.
AlpsReturnStatus BlisBranchObjectBilevel::encodeBlis | ( | AlpsEncoded * | encoded | ) | const [inline, protected] |
Pack Blis portion to an encoded object.
Definition at line 94 of file BlisBranchObjectBilevel.h.
Referenced by encode().
AlpsReturnStatus BlisBranchObjectBilevel::decodeBlis | ( | AlpsEncoded & | encoded | ) | [inline, protected] |
Unpack Blis portion from an encoded object.
Definition at line 101 of file BlisBranchObjectBilevel.h.
Referenced by decode().
virtual AlpsReturnStatus BlisBranchObjectBilevel::encode | ( | AlpsEncoded * | encoded | ) | const [inline, virtual] |
Pack to an encoded object.
Definition at line 109 of file BlisBranchObjectBilevel.h.
References encodeBlis().
virtual AlpsReturnStatus BlisBranchObjectBilevel::decode | ( | AlpsEncoded & | encoded | ) | [inline, virtual] |
Unpack a branching object from an encoded object.
Definition at line 119 of file BlisBranchObjectBilevel.h.
References decodeBlis().
std::deque<int>* BlisBranchObjectBilevel::branchingSet_ [protected] |
The indices of variables in the branching set.
Definition at line 43 of file BlisBranchObjectBilevel.h.
Referenced by addToBranchingSet(), BlisBranchObjectBilevel(), getBranchingSet(), and ~BlisBranchObjectBilevel().