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
CbcStrategyDefaultSubTree Class Reference

Default class for sub trees. More...

#include <CbcStrategy.hpp>

+ Inheritance diagram for CbcStrategyDefaultSubTree:
+ Collaboration diagram for CbcStrategyDefaultSubTree:

Public Member Functions

 CbcStrategyDefaultSubTree (CbcModel *parent=NULL, int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0)
 
 CbcStrategyDefaultSubTree (const CbcStrategyDefaultSubTree &)
 
 ~CbcStrategyDefaultSubTree ()
 
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...
 
- 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 void generateCpp (FILE *)
 Create C++ lines to get to current state. 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

CbcModelparentModel_
 
int cutsOnlyAtRoot_
 
int numberStrong_
 
int numberBeforeTrust_
 
int printLevel_
 
- 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

CbcStrategyDefaultSubTreeoperator= (const CbcStrategyDefaultSubTree &rhs)
 Illegal Assignment operator. More...
 

Detailed Description

Default class for sub trees.

Definition at line 209 of file CbcStrategy.hpp.

Constructor & Destructor Documentation

CbcStrategyDefaultSubTree::CbcStrategyDefaultSubTree ( CbcModel parent = NULL,
int  cutsOnlyAtRoot = 1,
int  numberStrong = 5,
int  numberBeforeTrust = 0,
int  printLevel = 0 
)
CbcStrategyDefaultSubTree::CbcStrategyDefaultSubTree ( const CbcStrategyDefaultSubTree )
CbcStrategyDefaultSubTree::~CbcStrategyDefaultSubTree ( )

Member Function Documentation

virtual CbcStrategy* CbcStrategyDefaultSubTree::clone ( ) const
virtual

Clone.

Implements CbcStrategy.

virtual void CbcStrategyDefaultSubTree::setupCutGenerators ( CbcModel model)
virtual

Setup cut generators.

Implements CbcStrategy.

virtual void CbcStrategyDefaultSubTree::setupHeuristics ( CbcModel model)
virtual

Setup heuristics.

Implements CbcStrategy.

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

Do printing stuff.

Implements CbcStrategy.

virtual void CbcStrategyDefaultSubTree::setupOther ( CbcModel model)
virtual

Other stuff e.g. strong branching.

Implements CbcStrategy.

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

Illegal Assignment operator.

Member Data Documentation

CbcModel* CbcStrategyDefaultSubTree::parentModel_
protected

Definition at line 238 of file CbcStrategy.hpp.

int CbcStrategyDefaultSubTree::cutsOnlyAtRoot_
protected

Definition at line 240 of file CbcStrategy.hpp.

int CbcStrategyDefaultSubTree::numberStrong_
protected

Definition at line 243 of file CbcStrategy.hpp.

int CbcStrategyDefaultSubTree::numberBeforeTrust_
protected

Definition at line 246 of file CbcStrategy.hpp.

int CbcStrategyDefaultSubTree::printLevel_
protected

Definition at line 249 of file CbcStrategy.hpp.


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