|
Cbc 2.10.13
|
Default class for sub trees. More...
#include <CbcStrategy.hpp>
Public Member Functions | |
| CbcStrategyDefaultSubTree (CbcModel *parent=NULL, int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0) | |
| CbcStrategyDefaultSubTree (const CbcStrategyDefaultSubTree &) | |
| ~CbcStrategyDefaultSubTree () | |
| virtual CbcStrategy * | clone () const |
| Clone. | |
| virtual void | setupCutGenerators (CbcModel &model) |
| Setup cut generators. | |
| virtual void | setupHeuristics (CbcModel &model) |
| Setup heuristics. | |
| virtual void | setupPrinting (CbcModel &model, int modelLogLevel) |
| Do printing stuff. | |
| virtual void | setupOther (CbcModel &model) |
| Other stuff e.g. strong branching. | |
| Public Member Functions inherited from CbcStrategy | |
| CbcStrategy () | |
| virtual | ~CbcStrategy () |
| void | setNested (int depth) |
| Set model depth (i.e. how nested). | |
| int | getNested () const |
| Get model depth (i.e. how nested). | |
| void | setPreProcessState (int state) |
| Say preProcessing done. | |
| int | preProcessState () const |
| See what sort of preprocessing was done. | |
| CglPreProcess * | process () const |
| Pre-processing object. | |
| void | deletePreProcess () |
| Delete pre-processing object to save memory. | |
| virtual CbcNodeInfo * | fullNodeInfo (CbcModel *model, int numberRowsAtContinuous) const |
| Return a new Full node information pointer (descendant of CbcFullNodeInfo). | |
| virtual CbcNodeInfo * | partialNodeInfo (CbcModel *model, CbcNodeInfo *parent, CbcNode *owner, int numberChangedBounds, const int *variables, const double *boundChanges, const CoinWarmStartDiff *basisDiff) const |
| Return a new Partial node information pointer (descendant of CbcPartialNodeInfo). | |
| virtual void | generateCpp (FILE *) |
| Create C++ lines to get to current state. | |
| virtual int | status (CbcModel *model, CbcNodeInfo *parent, int whereFrom) |
| After a CbcModel::resolve this can return a status -1 no effect 0 treat as optimal 1 as 0 but do not do any more resolves (i.e. | |
Protected Attributes | |
| CbcModel * | parentModel_ |
| int | cutsOnlyAtRoot_ |
| int | numberStrong_ |
| int | numberBeforeTrust_ |
| int | printLevel_ |
| Protected Attributes inherited from CbcStrategy | |
| int | depth_ |
| Model depth. | |
| int | preProcessState_ |
| PreProcessing state - -1 infeasible 0 off 1 was done (so need post-processing). | |
| CglPreProcess * | process_ |
| If preprocessing then this is object. | |
Private Member Functions | |
| CbcStrategyDefaultSubTree & | operator= (const CbcStrategyDefaultSubTree &rhs) |
| Illegal Assignment operator. | |
Default class for sub trees.
Definition at line 219 of file CbcStrategy.hpp.
| CbcStrategyDefaultSubTree::CbcStrategyDefaultSubTree | ( | CbcModel * | parent = NULL, |
| int | cutsOnlyAtRoot = 1, | ||
| int | numberStrong = 5, | ||
| int | numberBeforeTrust = 0, | ||
| int | printLevel = 0 ) |
| CbcStrategyDefaultSubTree::CbcStrategyDefaultSubTree | ( | const CbcStrategyDefaultSubTree & | ) |
| CbcStrategyDefaultSubTree::~CbcStrategyDefaultSubTree | ( | ) |
|
virtual |
Clone.
Implements CbcStrategy.
|
virtual |
Setup cut generators.
Implements CbcStrategy.
|
virtual |
Setup heuristics.
Implements CbcStrategy.
|
virtual |
Do printing stuff.
Implements CbcStrategy.
|
virtual |
Other stuff e.g. strong branching.
Implements CbcStrategy.
|
private |
Illegal Assignment operator.
|
protected |
Definition at line 248 of file CbcStrategy.hpp.
|
protected |
Definition at line 250 of file CbcStrategy.hpp.
|
protected |
Definition at line 253 of file CbcStrategy.hpp.
|
protected |
Definition at line 256 of file CbcStrategy.hpp.
|
protected |
Definition at line 259 of file CbcStrategy.hpp.