CglLandP Class Reference

#include <CglLandP.hpp>

Inheritance diagram for CglLandP:
Inheritance graph
[legend]
Collaboration diagram for CglLandP:
Collaboration graph
[legend]

List of all members.

Classes

struct  CachedData
 Some informations that will be changed by the pivots and that we want to keep. More...
class  NoBasisError
class  Parameters
 Class storing parameters. More...
class  SimplexInterfaceError

Public Types

enum  SelectionRules { mostNegativeRc, bestPivot }

Public Member Functions

 CglLandP (const CglLandP::Parameters &params=CglLandP::Parameters(), const CglValidator &validator=CglValidator())
 Constructor for the class.
 ~CglLandP ()
 Destructor.
 CglLandP (const CglLandP &source)
 Copy constructor.
CglLandPoperator= (const CglLandP &rhs)
 Assignment operator.
CglCutGeneratorclone () const
 Clone function.
virtual bool needsOptimalBasis () const
 Return true if needs optimal basis to do cuts.
CglValidatorvalidator ()
void setLogLevel (int level)
 set level of log for cut generation procedure :
Parametersparameter ()
Generate Cuts



virtual void generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) const
 Generate cuts for the model data contained in si.

Private Attributes

Parameters params_
CachedData cached_
CoinMessageHandlerhandler_
 message handler
CoinMessages messages_
 messages
CglValidator validator_
 cut validator

Friends

class LAP::CglLandPSimplex
void CglLandPUnitTest (OsiSolverInterface *si, const std::string &mpsDir)

Detailed Description

Definition at line 53 of file CglLandP.hpp.


Member Enumeration Documentation

Enumerator:
mostNegativeRc 

select most negative reduced cost

bestPivot 

select best possible pivot.

Definition at line 61 of file CglLandP.hpp.


Constructor & Destructor Documentation

CglLandP::CglLandP ( const CglLandP::Parameters params = CglLandP::Parameters(),
const CglValidator validator = CglValidator() 
)

Constructor for the class.

CglLandP::~CglLandP (  ) 

Destructor.

CglLandP::CglLandP ( const CglLandP source  ) 

Copy constructor.


Member Function Documentation

CglLandP& CglLandP::operator= ( const CglLandP rhs  ) 

Assignment operator.

Reimplemented from CglCutGenerator.

CglCutGenerator* CglLandP::clone (  )  const [virtual]

Clone function.

Implements CglCutGenerator.

virtual void CglLandP::generateCuts ( const OsiSolverInterface si,
OsiCuts cs,
const CglTreeInfo  info = CglTreeInfo() 
) const [virtual]

Generate cuts for the model data contained in si.

The generated cuts are inserted into and returned in the collection of cuts cs.

Implements CglCutGenerator.

virtual bool CglLandP::needsOptimalBasis (  )  const [inline, virtual]

Return true if needs optimal basis to do cuts.

Reimplemented from CglCutGenerator.

Definition at line 151 of file CglLandP.hpp.

CglValidator& CglLandP::validator (  )  [inline]

Definition at line 156 of file CglLandP.hpp.

void CglLandP::setLogLevel ( int  level  )  [inline]

set level of log for cut generation procedure :

  1. for none
  2. for log at begin and end of procedure + at some time interval
  3. for log at every cut generated

Definition at line 164 of file CglLandP.hpp.

Parameters& CglLandP::parameter (  )  [inline]

Definition at line 207 of file CglLandP.hpp.


Friends And Related Function Documentation

friend class LAP::CglLandPSimplex [friend]

Definition at line 57 of file CglLandP.hpp.

void CglLandPUnitTest ( OsiSolverInterface si,
const std::string &  mpsDir 
) [friend]

Member Data Documentation

Definition at line 209 of file CglLandP.hpp.

CachedData CglLandP::cached_ [mutable, private]

Definition at line 238 of file CglLandP.hpp.

message handler

Definition at line 240 of file CglLandP.hpp.

messages

Definition at line 242 of file CglLandP.hpp.

cut validator

Definition at line 244 of file CglLandP.hpp.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1