#include <IpCbcOACutGenerator.hpp>
Inheritance diagram for IpCbcOACutGenerator:
Public Member Functions | |
IpCbcOACutGenerator (IpoptInterface *si=NULL, int maxDepth=10) | |
Default constructor. | |
IpCbcOACutGenerator (const IpCbcOACutGenerator ©) | |
Copy constructor. | |
virtual CglCutGenerator * | clone () const |
Abstract constructor. | |
virtual | ~IpCbcOACutGenerator () |
Desctructor. | |
void | assignInterface (IpoptInterface *si) |
Assign an IpoptInterface. | |
virtual void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info) const |
cut generation method | |
void | setMaxDepth (int value) |
int | getNSolve () |
void | setLogLevel (int value) |
set log level | |
CoinMessageHandler * | messageHandler () |
Private Attributes | |
IpoptInterface * | nlp_ |
Pointer to the Ipopt interface. | |
int | maxDepth_ |
maximum depth at which generate cuts | |
int | nSolve_ |
Number of NLP resolution done. | |
CoinMessageHandler * | handler_ |
messages handler. | |
CoinMessages | messages_ |
handler |
Definition at line 16 of file IpCbcOACutGenerator.hpp.
IpCbcOACutGenerator::IpCbcOACutGenerator | ( | IpoptInterface * | si = NULL , |
|
int | maxDepth = 10 | |||
) |
IpCbcOACutGenerator::IpCbcOACutGenerator | ( | const IpCbcOACutGenerator & | copy | ) | [inline] |
Copy constructor.
Definition at line 23 of file IpCbcOACutGenerator.hpp.
References handler_, CoinMessageHandler::logLevel(), messages_, and setLogLevel().
virtual IpCbcOACutGenerator::~IpCbcOACutGenerator | ( | ) | [inline, virtual] |
virtual CglCutGenerator* IpCbcOACutGenerator::clone | ( | ) | const [inline, virtual] |
Abstract constructor.
Implements CglCutGenerator.
Definition at line 34 of file IpCbcOACutGenerator.hpp.
References IpCbcOACutGenerator().
void IpCbcOACutGenerator::assignInterface | ( | IpoptInterface * | si | ) |
Assign an IpoptInterface.
virtual void IpCbcOACutGenerator::generateCuts | ( | const OsiSolverInterface & | si, | |
OsiCuts & | cs, | |||
const CglTreeInfo | info | |||
) | const [virtual] |
void IpCbcOACutGenerator::setMaxDepth | ( | int | value | ) | [inline] |
int IpCbcOACutGenerator::getNSolve | ( | ) | [inline] |
void IpCbcOACutGenerator::setLogLevel | ( | int | value | ) | [inline] |
set log level
Definition at line 62 of file IpCbcOACutGenerator.hpp.
References handler_, and CoinMessageHandler::setLogLevel().
Referenced by IpCbcOACutGenerator().
CoinMessageHandler* IpCbcOACutGenerator::messageHandler | ( | ) | [inline] |
IpoptInterface* IpCbcOACutGenerator::nlp_ [private] |
int IpCbcOACutGenerator::maxDepth_ [private] |
maximum depth at which generate cuts
Definition at line 75 of file IpCbcOACutGenerator.hpp.
Referenced by setMaxDepth().
int IpCbcOACutGenerator::nSolve_ [mutable, private] |
Number of NLP resolution done.
Definition at line 78 of file IpCbcOACutGenerator.hpp.
Referenced by getNSolve().
CoinMessageHandler* IpCbcOACutGenerator::handler_ [private] |
messages handler.
Definition at line 80 of file IpCbcOACutGenerator.hpp.
Referenced by IpCbcOACutGenerator(), messageHandler(), setLogLevel(), and ~IpCbcOACutGenerator().
CoinMessages IpCbcOACutGenerator::messages_ [private] |