Bonmin  1.7
Public Member Functions | Private Attributes
Bonmin::CbcStrategyChooseCuts Class Reference

A class to setup default strategy for Cbc specifying which cut generators to use. More...

#include <BonCbcLpStrategy.hpp>

List of all members.

Public Member Functions

 CbcStrategyChooseCuts ()
 Default constructor.
 CbcStrategyChooseCuts (BabSetupBase &s, const std::string &prefix)
 Constructor with a setup.
 CbcStrategyChooseCuts (const CbcStrategyChooseCuts &other)
 Copy constructor.
CbcStrategy * clone () const
 Virtual copy constructor.
void setup (BabSetupBase &s, const std::string &prefix)
 Setup strategy.
virtual void setupCutGenerators (CbcModel &model)
 Setup cut generators.

Private Attributes

int gen_freqs_ [6]
 Generators frequencies.
int genFlag_
 Flag to say which cut generators to use.

Detailed Description

A class to setup default strategy for Cbc specifying which cut generators to use.

Definition at line 20 of file BonCbcLpStrategy.hpp.


Constructor & Destructor Documentation

Bonmin::CbcStrategyChooseCuts::CbcStrategyChooseCuts ( )

Default constructor.

Referenced by clone().

Bonmin::CbcStrategyChooseCuts::CbcStrategyChooseCuts ( BabSetupBase s,
const std::string &  prefix 
)

Constructor with a setup.

Bonmin::CbcStrategyChooseCuts::CbcStrategyChooseCuts ( const CbcStrategyChooseCuts other)

Copy constructor.


Member Function Documentation

CbcStrategy* Bonmin::CbcStrategyChooseCuts::clone ( ) const [inline]

Virtual copy constructor.

Definition at line 29 of file BonCbcLpStrategy.hpp.

References CbcStrategyChooseCuts().

void Bonmin::CbcStrategyChooseCuts::setup ( BabSetupBase s,
const std::string &  prefix 
)

Setup strategy.

virtual void Bonmin::CbcStrategyChooseCuts::setupCutGenerators ( CbcModel &  model) [virtual]

Setup cut generators.


Member Data Documentation

Generators frequencies.

Definition at line 40 of file BonCbcLpStrategy.hpp.

Flag to say which cut generators to use.

Definition at line 42 of file BonCbcLpStrategy.hpp.


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