Cbc
2.10.10
|
Default class. More...
#include <CbcStrategy.hpp>
Public Member Functions | |
CbcStrategyDefault (int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0) | |
CbcStrategyDefault (const CbcStrategyDefault &) | |
~CbcStrategyDefault () | |
virtual CbcStrategy * | clone () const |
Clone. More... | |
virtual void | setupCutGenerators (CbcModel &model) |
Setup cut generators. More... | |
virtual void | setupHeuristics (CbcModel &model) |
Setup heuristics. More... | |
virtual void | setupPrinting (CbcModel &model, int modelLogLevel) |
Do printing stuff. More... | |
virtual void | setupOther (CbcModel &model) |
Other stuff e.g. strong branching. More... | |
void | setupPreProcessing (int desired=1, int passes=10) |
Set up preProcessing - see below. More... | |
int | desiredPreProcess () const |
See what sort of preprocessing wanted. More... | |
int | preProcessPasses () const |
See how many passes wanted. More... | |
virtual void | generateCpp (FILE *fp) |
Create C++ lines to get to current state. More... | |
![]() | |
CbcStrategy () | |
virtual | ~CbcStrategy () |
void | setNested (int depth) |
Set model depth (i.e. how nested) More... | |
int | getNested () const |
Get model depth (i.e. how nested) More... | |
void | setPreProcessState (int state) |
Say preProcessing done. More... | |
int | preProcessState () const |
See what sort of preprocessing was done. More... | |
CglPreProcess * | process () const |
Pre-processing object. More... | |
void | deletePreProcess () |
Delete pre-processing object to save memory. More... | |
virtual CbcNodeInfo * | fullNodeInfo (CbcModel *model, int numberRowsAtContinuous) const |
Return a new Full node information pointer (descendant of CbcFullNodeInfo) More... | |
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) More... | |
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. More... | |
Protected Attributes | |
int | cutsOnlyAtRoot_ |
int | numberStrong_ |
int | numberBeforeTrust_ |
int | printLevel_ |
int | desiredPreProcess_ |
Desired pre-processing 0 - none 1 - ordinary 2 - find sos 3 - find cliques 4 - more aggressive sos 5 - add integer slacks. More... | |
int | preProcessPasses_ |
Number of pre-processing passes. More... | |
![]() | |
int | depth_ |
Model depth. More... | |
int | preProcessState_ |
PreProcessing state - -1 infeasible 0 off 1 was done (so need post-processing) More... | |
CglPreProcess * | process_ |
If preprocessing then this is object. More... | |
Private Member Functions | |
CbcStrategyDefault & | operator= (const CbcStrategyDefault &rhs) |
Illegal Assignment operator. More... | |
Default class.
Definition at line 140 of file CbcStrategy.hpp.
CbcStrategyDefault::CbcStrategyDefault | ( | int | cutsOnlyAtRoot = 1 , |
int | numberStrong = 5 , |
||
int | numberBeforeTrust = 0 , |
||
int | printLevel = 0 |
||
) |
CbcStrategyDefault::CbcStrategyDefault | ( | const CbcStrategyDefault & | ) |
CbcStrategyDefault::~CbcStrategyDefault | ( | ) |
|
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.
|
inline |
Set up preProcessing - see below.
Definition at line 166 of file CbcStrategy.hpp.
|
inline |
See what sort of preprocessing wanted.
Definition at line 172 of file CbcStrategy.hpp.
|
inline |
See how many passes wanted.
Definition at line 177 of file CbcStrategy.hpp.
|
virtual |
Create C++ lines to get to current state.
Reimplemented from CbcStrategy.
|
private |
Illegal Assignment operator.
|
protected |
Definition at line 188 of file CbcStrategy.hpp.
|
protected |
Definition at line 191 of file CbcStrategy.hpp.
|
protected |
Definition at line 194 of file CbcStrategy.hpp.
|
protected |
Definition at line 197 of file CbcStrategy.hpp.
|
protected |
Desired pre-processing 0 - none 1 - ordinary 2 - find sos 3 - find cliques 4 - more aggressive sos 5 - add integer slacks.
Definition at line 207 of file CbcStrategy.hpp.
|
protected |
Number of pre-processing passes.
Definition at line 209 of file CbcStrategy.hpp.