Blis 0.94
|
This class implements maximum infeasibility branching. More...
#include <BlisBranchStrategyBilevel.h>
Public Member Functions | |
BlisBranchStrategyBilevel () | |
Bilevel Constructor. | |
BlisBranchStrategyBilevel (BlisModel *model) | |
Bilevel Constructor. | |
virtual | ~BlisBranchStrategyBilevel () |
Destructor. | |
BlisBranchStrategyBilevel (const BlisBranchStrategyBilevel &) | |
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. | |
![]() | |
BcpsBranchStrategy () | |
BcpsBranchStrategy (BcpsModel *m) | |
virtual | ~BcpsBranchStrategy () |
virtual BcpsBranchStrategy * | clone () const=0 |
int | getType () const |
void | setType (int t) |
void | setModel (BcpsModel *m) |
int | getNumBranchObjects () const |
void | setNumBranchObjects (int num) |
BcpsBranchObject ** | getBranchObjects () |
void | setBranchObjects (BcpsBranchObject **obj) |
BcpsBranchObject * | getBestBranchObject () |
void | setBestBranchObject (BcpsBranchObject *ob) |
virtual void | clearBest (BcpsModel *model) |
virtual int | createCandBranchObjects (int numPassesLeft, double ub) |
virtual int | betterBranchObject (BcpsBranchObject *b, BcpsBranchObject *bestSoFar)=0 |
virtual BcpsBranchObject * | bestBranchObject () |
Additional Inherited Members | |
![]() | |
int | type_ |
BcpsModel * | model_ |
int | numBranchObjects_ |
BcpsBranchObject ** | branchObjects_ |
BcpsBranchObject * | bestBranchObject_ |
double | bestChangeUp_ |
int | bestNumberUp_ |
double | bestChangeDown_ |
int | bestNumberDown_ |
This class implements maximum infeasibility branching.
Definition at line 32 of file BlisBranchStrategyBilevel.h.
|
inline |
Bilevel Constructor.
Definition at line 42 of file BlisBranchStrategyBilevel.h.
|
inline |
Bilevel Constructor.
Definition at line 47 of file BlisBranchStrategyBilevel.h.
|
inlinevirtual |
Destructor.
Definition at line 52 of file BlisBranchStrategyBilevel.h.
BlisBranchStrategyBilevel::BlisBranchStrategyBilevel | ( | const BlisBranchStrategyBilevel & | ) |
Copy constructor.
|
inlinevirtual |
Clone a brancing strategy.
Implements BcpsBranchStrategy.
Definition at line 58 of file BlisBranchStrategyBilevel.h.
|
virtual |
Create a set of candidate branching objects.
Reimplemented from BcpsBranchStrategy.
|
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).
Implements BcpsBranchStrategy.