This is the class in which we are finally able to concretely define the bounding procedure.
More...
|
| BlisTreeNode () |
| Default constructor. More...
|
|
| BlisTreeNode (BlisModel *m) |
| Useful constructor. More...
|
|
| BlisTreeNode (AlpsNodeDesc *&desc) |
| Useful constructor. More...
|
|
virtual | ~BlisTreeNode () |
| Destructor. More...
|
|
void | init () |
| Initilize member data when constructing a node. More...
|
|
AlpsTreeNode * | createNewTreeNode (AlpsNodeDesc *&desc) const |
| Create a new node based on given desc. More...
|
|
virtual int | installSubProblem (BcpsModel *mode) |
| intall subproblem More...
|
|
virtual int | process (bool isRoot=false, bool rampUp=false) |
| Performing the bounding operation. More...
|
|
virtual int | bound (BcpsModel *model) |
| Bounding procedure. More...
|
|
virtual std::vector
< CoinTriple< AlpsNodeDesc
*, AlpsNodeStatus, double > > | branch () |
| Takes the explicit description of the current active node and creates the children's descriptions, which contain information about how the branching is to be done. More...
|
|
int | selectBranchObject (BlisModel *model, bool &foundSol, int numPassesLeft) |
| Select a branching object based on give branching strategy. More...
|
|
virtual int | chooseBranchingObject (BcpsModel *) |
| To be defined. More...
|
|
int | generateConstraints (BlisModel *model, OsiCuts &cutPool) |
| Generate constraints. More...
|
|
int | applyConstraints (BlisModel *model, OsiCuts &cutPool, const double *solution) |
| Select and apply constraints. More...
|
|
int | reducedCostFix (BlisModel *model) |
| Fix and tighten varaibles based optimality conditions. More...
|
|
virtual AlpsEncoded * | encode () const |
| Return constraint pool. More...
|
|
virtual AlpsKnowledge * | decode (AlpsEncoded &) const |
| Decode a node from an encoded object. More...
|
|
|
virtual void | convertToExplicit () |
| Convert explicit description to difference, and vise-vesa. More...
|
|
virtual void | convertToRelative () |
| Convert explicit description to difference, and vise-vesa. More...
|
|
| BcpsTreeNode () |
| Default constructor. More...
|
|
virtual | ~BcpsTreeNode () |
| Destructor. More...
|
|
const BcpsBranchObject * | branchObject () const |
| Return the branching object. More...
|
|
void | setBranchObject (BcpsBranchObject *b) |
| Set the branching object. More...
|
|
| AlpsTreeNode () |
|
virtual | ~AlpsTreeNode () |
|
bool | operator< (const AlpsTreeNode &compNode) |
|
AlpsNodeDesc * | modifyDesc () |
| Access the desc so that can modify it. More...
|
|
AlpsNodeDesc * | getDesc () const |
|
void | setDesc (AlpsNodeDesc *desc) |
|
AlpsKnowledgeBroker * | getKnowledgeBroker () const |
| Functions to access/set the knwoledge broker. More...
|
|
void | setKnowledgeBroker (AlpsKnowledgeBroker *kb) |
|
void | removeChild (AlpsTreeNode *&child) |
| Remove the pointer to given child from the list of children. More...
|
|
void | addChild (AlpsTreeNode *&child) |
| Add a child to the list of children for this node. More...
|
|
void | removeDescendants () |
| Removes all the descendants of the node. More...
|
|
AlpsNodeStatus | getStatus () const |
| Query/set the current status. More...
|
|
void | setStatus (const AlpsNodeStatus stat) |
| Query/set the current status. More...
|
|
bool | isCandidate () const |
| Query functions about specific stati. More...
|
|
bool | isEvaluated () const |
| Query functions about specific stati. More...
|
|
bool | isPregnant () const |
| Query functions about specific stati. More...
|
|
bool | isBranched () const |
| Query functions about specific stati. More...
|
|
bool | isFathomed () const |
| Query functions about specific stati. More...
|
|
bool | isDiscarded () const |
| Query functions about specific stati. More...
|
|
bool | isActive () const |
| Query/set node in-process indicator. More...
|
|
void | setActive (const bool yesno) |
| Query/set node in-process indicator. More...
|
|
AlpsNodeIndex_t | getIndex () const |
| Query/set node identifier (unique within subtree). More...
|
|
void | setIndex (const AlpsNodeIndex_t index) |
| Query/set node identifier (unique within subtree). More...
|
|
int | getDepth () const |
| Query/set what depth the search tree node is at. More...
|
|
void | setDepth (const int depth) |
| Query/set what depth the search tree node is at. More...
|
|
double | getSolEstimate () const |
| Query/set the solution estimate of the node. More...
|
|
void | setSolEstimate (double est) |
| Query/set the solution estimate of the node. More...
|
|
double | getQuality () const |
| Query/set the quality of the node. More...
|
|
void | setQuality (double quality) |
| Query/set the quality of the node. More...
|
|
int | getNumChildren () const |
| Query/set what the number of children. More...
|
|
void | setNumChildren (const int numChildren) |
| Query/set what the number of children. More...
|
|
void | modifyNumChildren (const int s) |
| Query/set what the number of children. More...
|
|
AlpsTreeNode * | getChild (const int i) const |
| Query/set pointer to the ith child. More...
|
|
void | setChild (const int i, AlpsTreeNode *node) |
| Returns a const pointer to the ith child. More...
|
|
AlpsTreeNode * | getParent () const |
| Get/set subtree. More...
|
|
void | setParent (AlpsTreeNode *parent) |
| Get/set subtree. More...
|
|
AlpsNodeIndex_t | getParentIndex () const |
| Get/set the index of the parent of the node. More...
|
|
void | setParentIndex (AlpsNodeIndex_t index) |
| Get/set the index of the parent of the node. More...
|
|
int | getExplicit () const |
| Get/set the indication of whether the node has full or differencing description. More...
|
|
void | setExplicit (int fp) |
| Get/set the indication of whether the node has full or differencing description. More...
|
|
int | getDiving () const |
| If the this node is in a diving process. More...
|
|
void | setDiving (const bool d) |
| If the this node is in a diving process. More...
|
|
int | getSentMark () const |
| Various marks used in parallel code. More...
|
|
void | setSentMark (const int tf) |
| Various marks used in parallel code. More...
|
|
| AlpsKnowledge () |
|
virtual | ~AlpsKnowledge () |
|
KnowledgeType | getType () |
|
void | setType (KnowledgeType t) |
|
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) |
| Pack into a encode object. More...
|
|
AlpsEncoded * | getEncoded () const |
| Get/set encoded. More...
|
|
void | setEncoded (AlpsEncoded *e) |
|
This is the class in which we are finally able to concretely define the bounding procedure.
Here we can assume that we have an LP solver and that the objects are cuts and variables, etc.
Definition at line 33 of file BlisSubTree.h.