Holds information for recreating a subproblem by incremental change from the parent.
More...
|
virtual void | applyToModel (CbcModel *model, CoinWarmStartBasis *&basis, CbcCountRowCut **addCuts, int ¤tNumberCuts) const |
| Modify model according to information at node.
|
virtual int | applyBounds (int iColumn, double &lower, double &upper, int force) |
| Just apply bounds to one variable - force means overwrite by lower,upper (1=>infeasible)
|
virtual CbcNodeInfo * | buildRowBasis (CoinWarmStartBasis &basis) const |
| Builds up row basis backwards (until original model).
|
| CbcPartialNodeInfo () |
| CbcPartialNodeInfo (CbcNodeInfo *parent, CbcNode *owner, int numberChangedBounds, const int *variables, const double *boundChanges, const CoinWarmStartDiff *basisDiff) |
| CbcPartialNodeInfo (const CbcPartialNodeInfo &) |
| ~CbcPartialNodeInfo () |
virtual CbcNodeInfo * | clone () const |
| Clone.
|
const CoinWarmStartDiff * | basisDiff () const |
| Basis diff information.
|
const int * | variables () const |
| Which variable (top bit if upper bound changing)
|
const double * | newBounds () const |
int | numberChangedBounds () const |
| Number of bound changes.
|
| CbcNodeInfo () |
| Default Constructor.
|
| CbcNodeInfo (const CbcNodeInfo &) |
| Copy constructor.
|
| CbcNodeInfo (CbcNodeInfo *parent, CbcNode *owner) |
| Construct with parent and owner.
|
virtual | ~CbcNodeInfo () |
| Destructor.
|
virtual void | allBranchesGone () |
| Called when number branches left down to zero.
|
void | increment (int amount=1) |
| Increment number of references.
|
int | decrement (int amount=1) |
| Decrement number of references and return number left.
|
void | initializeInfo (int number) |
| Initialize reference counts.
|
int | numberBranchesLeft () const |
| Return number of branches left in object.
|
void | setNumberBranchesLeft (int value) |
| Set number of branches left in object.
|
int | numberPointingToThis () const |
| Return number of objects pointing to this.
|
void | setNumberPointingToThis (int number) |
| Set number of objects pointing to this.
|
void | incrementNumberPointingToThis () |
| Increment number of objects pointing to this.
|
int | branchedOn () |
| Say one branch taken.
|
void | throwAway () |
| Say thrown away.
|
CbcNodeInfo * | parent () const |
| Parent of this.
|
void | nullParent () |
| Set parent null.
|
void | addCuts (OsiCuts &cuts, int numberToBranch, int numberPointingToThis) |
void | addCuts (int numberCuts, CbcCountRowCut **cuts, int numberToBranch) |
void | deleteCuts (int numberToDelete, CbcCountRowCut **cuts) |
| Delete cuts (decrements counts) Slow unless cuts in same order as saved.
|
void | deleteCuts (int numberToDelete, int *which) |
void | deleteCut (int whichOne) |
| Really delete a cut.
|
void | decrementCuts (int change=1) |
| Decrement active cut counts.
|
void | incrementCuts (int change=1) |
| Increment active cut counts.
|
void | decrementParentCuts (CbcModel *model, int change=1) |
| Decrement all active cut counts in chain starting at parent.
|
void | incrementParentCuts (CbcModel *model, int change=1) |
| Increment all active cut counts in parent chain.
|
CbcCountRowCut ** | cuts () const |
| Array of pointers to cuts.
|
int | numberCuts () const |
| Number of row cuts (this node)
|
void | setNumberCuts (int value) |
void | nullOwner () |
| Set owner null.
|
const CbcNode * | owner () const |
CbcNode * | mutableOwner () const |
int | nodeNumber () const |
| The node number.
|
void | setNodeNumber (int node) |
void | deactivate (int mode=3) |
| Deactivate node information.
|
bool | allActivated () const |
| Say if normal.
|
bool | marked () const |
| Say if marked.
|
void | mark () |
| Mark.
|
void | unmark () |
| Unmark.
|
bool | symmetryWorked () const |
| Get symmetry value (true worked at this node)
|
void | setSymmetryWorked () |
| Say symmetry worked at this node)
|
const OsiBranchingObject * | parentBranch () const |
| Branching object for the parent.
|
void | unsetParentBasedData () |
| If we need to take off parent based data.
|
Holds information for recreating a subproblem by incremental change from the parent.
A CbcPartialNodeInfo object contains changes to the bounds and basis, and additional cuts, required to recreate a subproblem by modifying and augmenting the parent subproblem.
Definition at line 39 of file CbcPartialNodeInfo.hpp.