#include <CglLandP.hpp>
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 ¶ms=CglLandP::Parameters(), const CglValidator &validator=CglValidator()) | |
Constructor for the class. | |
~CglLandP () | |
Destructor. | |
CglLandP (const CglLandP &source) | |
Copy constructor. | |
CglLandP & | operator= (const CglLandP &rhs) |
Assignment operator. | |
CglCutGenerator * | clone () const |
Clone function. | |
virtual bool | needsOptimalBasis () const |
Return true if needs optimal basis to do cuts. | |
CglValidator & | validator () |
void | setLogLevel (int level) |
set level of log for cut generation procedure : | |
Parameters & | parameter () |
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_ |
CoinMessageHandler * | handler_ |
message handler | |
CoinMessages | messages_ |
messages | |
CglValidator | validator_ |
cut validator | |
Friends | |
class | LAP::CglLandPSimplex |
void | CglLandPUnitTest (OsiSolverInterface *si, const std::string &mpsDir) |
Definition at line 53 of file CglLandP.hpp.
Definition at line 61 of file CglLandP.hpp.
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.
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 :
Definition at line 164 of file CglLandP.hpp.
Parameters& CglLandP::parameter | ( | ) | [inline] |
Definition at line 207 of file CglLandP.hpp.
friend class LAP::CglLandPSimplex [friend] |
Definition at line 57 of file CglLandP.hpp.
void CglLandPUnitTest | ( | OsiSolverInterface * | si, | |
const std::string & | mpsDir | |||
) | [friend] |
Parameters CglLandP::params_ [private] |
Definition at line 209 of file CglLandP.hpp.
CachedData CglLandP::cached_ [mutable, private] |
Definition at line 238 of file CglLandP.hpp.
CoinMessageHandler* CglLandP::handler_ [private] |
message handler
Definition at line 240 of file CglLandP.hpp.
CoinMessages CglLandP::messages_ [private] |
messages
Definition at line 242 of file CglLandP.hpp.
CglValidator CglLandP::validator_ [private] |
cut validator
Definition at line 244 of file CglLandP.hpp.