Blis
0.94.0
|
Blis branching strategy. More...
#include <BlisBranchStrategyPseudo.h>
Public Member Functions | |
BlisBranchStrategyPseudo () | |
Default Constructor. More... | |
BlisBranchStrategyPseudo (BlisModel *model, int rel) | |
Useful Constructor. More... | |
virtual | ~BlisBranchStrategyPseudo () |
Destructor. More... | |
BlisBranchStrategyPseudo (const BlisBranchStrategyPseudo &) | |
Copy constructor. More... | |
void | setRelibility (int rel) |
Set relibility. More... | |
virtual BcpsBranchStrategy * | clone () const |
Clone a brancing strategy. More... | |
virtual int | betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar) |
Compare branching object thisOne to bestSoFar. More... | |
int | createCandBranchObjects (int numPassesLeft, double ub) |
Create a set of candidate branching objects. More... | |
Blis branching strategy.
This class implements pseudocost branching.
Definition at line 40 of file BlisBranchStrategyPseudo.h.
|
inline |
Default Constructor.
Definition at line 51 of file BlisBranchStrategyPseudo.h.
|
inline |
Useful Constructor.
Definition at line 57 of file BlisBranchStrategyPseudo.h.
|
inlinevirtual |
Destructor.
Definition at line 64 of file BlisBranchStrategyPseudo.h.
BlisBranchStrategyPseudo::BlisBranchStrategyPseudo | ( | const BlisBranchStrategyPseudo & | ) |
Copy constructor.
|
inline |
Set relibility.
Definition at line 70 of file BlisBranchStrategyPseudo.h.
|
inlinevirtual |
Clone a brancing strategy.
Definition at line 73 of file BlisBranchStrategyPseudo.h.
|
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).
int BlisBranchStrategyPseudo::createCandBranchObjects | ( | int | numPassesLeft, |
double | ub | ||
) |
Create a set of candidate branching objects.