Blis branching strategy default class This class implements a simple default algorithm, betterBranchObject(), for choosing a branching variable. More...
#include <BlisBranchStrategyRel.h>


Public Member Functions | |
| BlisBranchStrategyRel () | |
| Default Constructor. More... | |
| BlisBranchStrategyRel (BlisModel *model, int rel) | |
| Useful Constructor. More... | |
| virtual | ~BlisBranchStrategyRel () |
| Destructor. More... | |
| BlisBranchStrategyRel (const BlisBranchStrategyRel &) | |
| 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) |
| Create a set of candidate branching objects. More... | |
| BlisBranchStrategyRel () | |
| Default Constructor. More... | |
| BlisBranchStrategyRel (BlisModel *model, int rel) | |
| Useful Constructor. More... | |
| virtual | ~BlisBranchStrategyRel () |
| Destructor. More... | |
| BlisBranchStrategyRel (const BlisBranchStrategyRel &) | |
| 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... | |
Public Member Functions inherited from BcpsBranchStrategy | |
| BcpsBranchStrategy () | |
| Default Constructor. More... | |
| BcpsBranchStrategy (BcpsModel *m) | |
| Useful Constructor. More... | |
| virtual | ~BcpsBranchStrategy () |
| Destructor. More... | |
| int | getType () |
| Get type. More... | |
| void | setType (int t) |
| Set type. More... | |
| void | setModel (BcpsModel *m) |
| Set model. More... | |
| virtual void | clearBest (BcpsModel *model) |
| Clear branching strategy environment before starting a new round of selecting the best branch object. More... | |
| virtual BcpsBranchObject * | bestBranchObject () |
| Compare branching objects in branchObjects_. More... | |
| int | getNumBranchObjects () |
| Set/get branching objects. More... | |
| void | getNumBranchObjects (int num) |
| Set/get branching objects. More... | |
| BcpsBranchObject ** | getBranchObjects () |
| Set/get branching objects. More... | |
| void | setBranchObjects (BcpsBranchObject **obj) |
| Set/get branching objects. More... | |
| BcpsBranchObject * | getBestBranchObject () |
| Set/get branching objects. More... | |
| void | setBestBranchObject (BcpsBranchObject *ob) |
| Set/get branching objects. More... | |
Private Member Functions | |
| BlisBranchStrategyRel & | operator= (const BlisBranchStrategyRel &rhs) |
| Illegal Assignment operator. More... | |
| BlisBranchStrategyRel & | operator= (const BlisBranchStrategyRel &rhs) |
| Illegal Assignment operator. More... | |
Private Attributes | |
| int | relibility_ |
Additional Inherited Members | |
Protected Attributes inherited from BcpsBranchStrategy | |
| int | type_ |
| Type of branching strategy. More... | |
| BcpsModel * | model_ |
| Pointer to model. More... | |
| int | numBranchObjects_ |
| Following members are used to store candidate branching objects. More... | |
| BcpsBranchObject ** | branchObjects_ |
| The set of candiate branching objects. More... | |
| BcpsBranchObject * | bestBranchObject_ |
| Following members are used to store information about best branching object found so far. More... | |
| double | bestChangeUp_ |
| Change up for best. More... | |
| int | bestNumberUp_ |
| Number of infeasibilities for up. More... | |
| double | bestChangeDown_ |
| Change down for best. More... | |
| int | bestNumberDown_ |
| Number of infeasibilities for down. More... | |
Blis branching strategy default class This class implements a simple default algorithm, betterBranchObject(), for choosing a branching variable.
Blis branching strategy.
This class implements reliability branching.
Definition at line 41 of file BlisBranchStrategyRel.h.
|
inline |
Default Constructor.
Definition at line 52 of file BlisBranchStrategyRel.h.
|
inline |
Useful Constructor.
Definition at line 55 of file BlisBranchStrategyRel.h.
|
inlinevirtual |
Destructor.
Definition at line 62 of file BlisBranchStrategyRel.h.
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | const BlisBranchStrategyRel & | ) |
Copy constructor.
|
inline |
Default Constructor.
Definition at line 51 of file BlisBranchStrategyRel.h.
|
inline |
Useful Constructor.
Definition at line 57 of file BlisBranchStrategyRel.h.
|
inlinevirtual |
Destructor.
Definition at line 64 of file BlisBranchStrategyRel.h.
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | const BlisBranchStrategyRel & | ) |
Copy constructor.
|
private |
Illegal Assignment operator.
|
inline |
Set relibility.
Definition at line 68 of file BlisBranchStrategyRel.h.
|
inlinevirtual |
Clone a brancing strategy.
Implements BcpsBranchStrategy.
Definition at line 71 of file BlisBranchStrategyRel.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).
Implements BcpsBranchStrategy.
| int BlisBranchStrategyRel::createCandBranchObjects | ( | int | numPassesLeft | ) |
Create a set of candidate branching objects.
|
private |
Illegal Assignment operator.
|
inline |
Set relibility.
Definition at line 70 of file BlisBranchStrategyRel.h.
|
inlinevirtual |
Clone a brancing strategy.
Implements BcpsBranchStrategy.
Definition at line 73 of file BlisBranchStrategyRel.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).
Implements BcpsBranchStrategy.
|
virtual |
Create a set of candidate branching objects.
Reimplemented from BcpsBranchStrategy.
|
private |
Definition at line 47 of file BlisBranchStrategyRel.h.
1.8.5