IpCbcOACutGenerator Class Reference

#include <IpCbcOACutGenerator.hpp>

Inheritance diagram for IpCbcOACutGenerator:

Inheritance graph
[legend]
Collaboration diagram for IpCbcOACutGenerator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IpCbcOACutGenerator (IpoptInterface *si=NULL, int maxDepth=10)
 Default constructor.
 IpCbcOACutGenerator (const IpCbcOACutGenerator &copy)
 Copy constructor.
virtual CglCutGeneratorclone () 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
CoinMessageHandlermessageHandler ()

Private Attributes

IpoptInterfacenlp_
 Pointer to the Ipopt interface.
int maxDepth_
 maximum depth at which generate cuts
int nSolve_
 Number of NLP resolution done.
CoinMessageHandlerhandler_
 messages handler.
CoinMessages messages_
 handler

Detailed Description

Definition at line 16 of file IpCbcOACutGenerator.hpp.


Constructor & Destructor Documentation

IpCbcOACutGenerator::IpCbcOACutGenerator ( IpoptInterface si = NULL,
int  maxDepth = 10 
)

Default constructor.

Referenced by clone().

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]

Desctructor.

Definition at line 40 of file IpCbcOACutGenerator.hpp.

References handler_.


Member Function Documentation

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]

cut generation method

Implements CglCutGenerator.

void IpCbcOACutGenerator::setMaxDepth ( int  value  )  [inline]

Definition at line 53 of file IpCbcOACutGenerator.hpp.

References maxDepth_.

int IpCbcOACutGenerator::getNSolve (  )  [inline]

Definition at line 57 of file IpCbcOACutGenerator.hpp.

References nSolve_.

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]

Definition at line 67 of file IpCbcOACutGenerator.hpp.

References handler_.


Member Data Documentation

IpoptInterface* IpCbcOACutGenerator::nlp_ [private]

Pointer to the Ipopt interface.

Definition at line 72 of file IpCbcOACutGenerator.hpp.

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]

handler

Definition at line 82 of file IpCbcOACutGenerator.hpp.

Referenced by IpCbcOACutGenerator().


The documentation for this class was generated from the following file:
Generated on Fri May 16 21:15:07 2008 for Bonmin by  doxygen 1.4.7