Strategy base class.
More...
#include <CbcStrategy.hpp>
|
| | CbcStrategy () |
| virtual | ~CbcStrategy () |
| virtual CbcStrategy * | clone () const =0 |
| | Clone.
|
| virtual void | setupCutGenerators (CbcModel &model)=0 |
| | Setup cut generators.
|
| virtual void | setupHeuristics (CbcModel &model)=0 |
| | Setup heuristics.
|
| virtual void | setupPrinting (CbcModel &model, int modelLogLevel)=0 |
| | Do printing stuff.
|
| virtual void | setupOther (CbcModel &model)=0 |
| | Other stuff e.g. strong branching and preprocessing.
|
| 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.
|
|
| 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.
|
Strategy base class.
Definition at line 18 of file CbcStrategy.hpp.
◆ CbcStrategy()
| CbcStrategy::CbcStrategy |
( |
| ) |
|
◆ ~CbcStrategy()
| virtual CbcStrategy::~CbcStrategy |
( |
| ) |
|
|
virtual |
◆ clone()
◆ setupCutGenerators()
| virtual void CbcStrategy::setupCutGenerators |
( |
CbcModel & | model | ) |
|
|
pure virtual |
◆ setupHeuristics()
| virtual void CbcStrategy::setupHeuristics |
( |
CbcModel & | model | ) |
|
|
pure virtual |
◆ setupPrinting()
| virtual void CbcStrategy::setupPrinting |
( |
CbcModel & | model, |
|
|
int | modelLogLevel ) |
|
pure virtual |
◆ setupOther()
| virtual void CbcStrategy::setupOther |
( |
CbcModel & | model | ) |
|
|
pure virtual |
◆ setNested()
| void CbcStrategy::setNested |
( |
int | depth | ) |
|
|
inline |
◆ getNested()
| int CbcStrategy::getNested |
( |
| ) |
const |
|
inline |
◆ setPreProcessState()
| void CbcStrategy::setPreProcessState |
( |
int | state | ) |
|
|
inline |
◆ preProcessState()
| int CbcStrategy::preProcessState |
( |
| ) |
const |
|
inline |
See what sort of preprocessing was done.
Definition at line 52 of file CbcStrategy.hpp.
◆ process()
| CglPreProcess * CbcStrategy::process |
( |
| ) |
const |
|
inline |
◆ deletePreProcess()
| void CbcStrategy::deletePreProcess |
( |
| ) |
|
Delete pre-processing object to save memory.
◆ fullNodeInfo()
| virtual CbcNodeInfo * CbcStrategy::fullNodeInfo |
( |
CbcModel * | model, |
|
|
int | numberRowsAtContinuous ) const |
|
virtual |
◆ partialNodeInfo()
| virtual CbcNodeInfo * CbcStrategy::partialNodeInfo |
( |
CbcModel * | model, |
|
|
CbcNodeInfo * | parent, |
|
|
CbcNode * | owner, |
|
|
int | numberChangedBounds, |
|
|
const int * | variables, |
|
|
const double * | boundChanges, |
|
|
const CoinWarmStartDiff * | basisDiff ) const |
|
virtual |
◆ generateCpp()
| virtual void CbcStrategy::generateCpp |
( |
FILE * | | ) |
|
|
inlinevirtual |
◆ status()
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.
no more cuts) 2 treat as infeasible
◆ operator=()
Illegal Assignment operator.
◆ depth_
◆ preProcessState_
| int CbcStrategy::preProcessState_ |
|
protected |
PreProcessing state - -1 infeasible 0 off 1 was done (so need post-processing)
Definition at line 93 of file CbcStrategy.hpp.
◆ process_
| CglPreProcess* CbcStrategy::process_ |
|
protected |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/coin-or-Cbc-2.10.12-build/Cbc-releases-2.10.12/Cbc/src/CbcStrategy.hpp