Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
CbcStrategyDefault Class Reference

Default class. More...

#include <CbcStrategy.hpp>

+ Inheritance diagram for CbcStrategyDefault:
+ Collaboration diagram for CbcStrategyDefault:

Public Member Functions

 CbcStrategyDefault (int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0)
 
 CbcStrategyDefault (const CbcStrategyDefault &)
 
 ~CbcStrategyDefault ()
 
virtual CbcStrategyclone () 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...
 
- Public Member Functions inherited from CbcStrategy
 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...
 
CglPreProcessprocess () const
 Pre-processing object. More...
 
void deletePreProcess ()
 Delete pre-processing object to save memory. More...
 
virtual CbcNodeInfofullNodeInfo (CbcModel *model, int numberRowsAtContinuous) const
 Return a new Full node information pointer (descendant of CbcFullNodeInfo) More...
 
virtual CbcNodeInfopartialNodeInfo (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...
 
- Protected Attributes inherited from CbcStrategy
int depth_
 Model depth. More...
 
int preProcessState_
 PreProcessing state - -1 infeasible 0 off 1 was done (so need post-processing) More...
 
CglPreProcessprocess_
 If preprocessing then this is object. More...
 

Private Member Functions

CbcStrategyDefaultoperator= (const CbcStrategyDefault &rhs)
 Illegal Assignment operator. More...
 

Detailed Description

Default class.

Definition at line 131 of file CbcStrategy.hpp.

Constructor & Destructor Documentation

CbcStrategyDefault::CbcStrategyDefault ( int  cutsOnlyAtRoot = 1,
int  numberStrong = 5,
int  numberBeforeTrust = 0,
int  printLevel = 0 
)
CbcStrategyDefault::CbcStrategyDefault ( const CbcStrategyDefault )
CbcStrategyDefault::~CbcStrategyDefault ( )

Member Function Documentation

virtual CbcStrategy* CbcStrategyDefault::clone ( ) const
virtual

Clone.

Implements CbcStrategy.

virtual void CbcStrategyDefault::setupCutGenerators ( CbcModel model)
virtual

Setup cut generators.

Implements CbcStrategy.

virtual void CbcStrategyDefault::setupHeuristics ( CbcModel model)
virtual

Setup heuristics.

Implements CbcStrategy.

virtual void CbcStrategyDefault::setupPrinting ( CbcModel model,
int  modelLogLevel 
)
virtual

Do printing stuff.

Implements CbcStrategy.

virtual void CbcStrategyDefault::setupOther ( CbcModel model)
virtual

Other stuff e.g. strong branching.

Implements CbcStrategy.

void CbcStrategyDefault::setupPreProcessing ( int  desired = 1,
int  passes = 10 
)
inline

Set up preProcessing - see below.

Definition at line 158 of file CbcStrategy.hpp.

int CbcStrategyDefault::desiredPreProcess ( ) const
inline

See what sort of preprocessing wanted.

Definition at line 163 of file CbcStrategy.hpp.

int CbcStrategyDefault::preProcessPasses ( ) const
inline

See how many passes wanted.

Definition at line 167 of file CbcStrategy.hpp.

virtual void CbcStrategyDefault::generateCpp ( FILE *  fp)
virtual

Create C++ lines to get to current state.

Reimplemented from CbcStrategy.

CbcStrategyDefault& CbcStrategyDefault::operator= ( const CbcStrategyDefault rhs)
private

Illegal Assignment operator.

Member Data Documentation

int CbcStrategyDefault::cutsOnlyAtRoot_
protected

Definition at line 177 of file CbcStrategy.hpp.

int CbcStrategyDefault::numberStrong_
protected

Definition at line 180 of file CbcStrategy.hpp.

int CbcStrategyDefault::numberBeforeTrust_
protected

Definition at line 183 of file CbcStrategy.hpp.

int CbcStrategyDefault::printLevel_
protected

Definition at line 186 of file CbcStrategy.hpp.

int CbcStrategyDefault::desiredPreProcess_
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 196 of file CbcStrategy.hpp.

int CbcStrategyDefault::preProcessPasses_
protected

Number of pre-processing passes.

Definition at line 198 of file CbcStrategy.hpp.


The documentation for this class was generated from the following file: