This class implements strong branching. More...
#include <BlisBranchStrategyStrong.h>
Public Member Functions | |
BlisBranchStrategyStrong () | |
Strong Constructor. | |
BlisBranchStrategyStrong (BlisModel *model) | |
Strong Constructor. | |
virtual | ~BlisBranchStrategyStrong () |
Destructor. | |
BlisBranchStrategyStrong (const BlisBranchStrategyStrong &) | |
Copy constructor. | |
virtual BcpsBranchStrategy * | clone () const |
Clone a brancing strategy. | |
virtual int | createCandBranchObjects (int numPassesLeft, double ub) |
Create a set of candidate branching objects. | |
virtual int | betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar) |
Compare branching object thisOne to bestSoFar. | |
Private Member Functions | |
BlisBranchStrategyStrong & | operator= (const BlisBranchStrategyStrong &rhs) |
Illegal Assignment operator. |
This class implements strong branching.
Definition at line 57 of file BlisBranchStrategyStrong.h.
BlisBranchStrategyStrong::BlisBranchStrategyStrong | ( | ) | [inline] |
Strong Constructor.
Definition at line 67 of file BlisBranchStrategyStrong.h.
BlisBranchStrategyStrong::BlisBranchStrategyStrong | ( | BlisModel * | model | ) | [inline] |
Strong Constructor.
Definition at line 72 of file BlisBranchStrategyStrong.h.
virtual BlisBranchStrategyStrong::~BlisBranchStrategyStrong | ( | ) | [inline, virtual] |
Destructor.
Definition at line 78 of file BlisBranchStrategyStrong.h.
Copy constructor.
BlisBranchStrategyStrong& BlisBranchStrategyStrong::operator= | ( | const BlisBranchStrategyStrong & | rhs | ) | [private] |
Illegal Assignment operator.
virtual BcpsBranchStrategy* BlisBranchStrategyStrong::clone | ( | ) | const [inline, virtual] |
Clone a brancing strategy.
Definition at line 84 of file BlisBranchStrategyStrong.h.
virtual int BlisBranchStrategyStrong::createCandBranchObjects | ( | int | numPassesLeft, |
double | ub | ||
) | [virtual] |
Create a set of candidate branching objects.
virtual int BlisBranchStrategyStrong::betterBranchObject | ( | BcpsBranchObject * | thisOne, |
BcpsBranchObject * | bestSoFar | ||
) | [virtual] |
Compare branching object thisOne to bestSoFar.
If thisOne is better than bestObject, return branching direction(1 or -1), otherwise return 0. If bestSorFar is NULL, then always return branching direction(1 or -1).