Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Couenne::CouenneOSInterface Class Reference

#include <CouenneOSInterface.hpp>

Inheritance diagram for Couenne::CouenneOSInterface:
Inheritance graph
[legend]
Collaboration diagram for Couenne::CouenneOSInterface:
Collaboration graph
[legend]

Public Member Functions

 CouenneOSInterface (Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_)
 
 ~CouenneOSInterface ()
 
CouenneProblemgetCouenneProblem ()
 Should return the problem to solve in algebraic form. More...
 
Ipopt::SmartPtr< Bonmin::TMINLPgetTMINLP ()
 Should return the problem to solve as TMINLP. More...
 
bool writeSolution (Bonmin::Bab &bab)
 Called after B&B finished. More...
 
- Public Member Functions inherited from Couenne::CouenneUserInterface
 CouenneUserInterface (Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_)
 
virtual ~CouenneUserInterface ()
 
virtual bool setupJournals ()
 Setup journals for printing. More...
 
virtual bool addBabPlugins (Bonmin::Bab &bab)
 Called after B&B object is setup. More...
 

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
 

Private Attributes

CouenneProblemproblem
 
Ipopt::SmartPtr< Bonmin::TMINLPtminlp
 
OSInstanceosinstance
 

Additional Inherited Members

- Protected Attributes inherited from Couenne::CouenneUserInterface
Ipopt::SmartPtr
< Ipopt::OptionsList > 
options
 
Ipopt::SmartPtr
< Ipopt::Journalist > 
jnlst
 

Detailed Description

Definition at line 36 of file CouenneOSInterface.hpp.

Constructor & Destructor Documentation

Couenne::CouenneOSInterface::CouenneOSInterface ( Ipopt::SmartPtr< Ipopt::OptionsList >  options_,
Ipopt::SmartPtr< Ipopt::Journalist >  jnlst_ 
)
inline

Definition at line 46 of file CouenneOSInterface.hpp.

CouenneOSInterface::~CouenneOSInterface ( )

Definition at line 43 of file CouenneOSInterface.cpp.

Member Function Documentation

void CouenneOSInterface::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions)
static

Definition at line 39 of file CouenneOSInterface.cpp.

CouenneProblem * CouenneOSInterface::getCouenneProblem ( )
virtual

Should return the problem to solve in algebraic form.

NOTE: Couenne is (currently) going to modify this problem!

Implements Couenne::CouenneUserInterface.

Definition at line 48 of file CouenneOSInterface.cpp.

Ipopt::SmartPtr< Bonmin::TMINLP > CouenneOSInterface::getTMINLP ( )
virtual

Should return the problem to solve as TMINLP.

Implements Couenne::CouenneUserInterface.

Definition at line 116 of file CouenneOSInterface.cpp.

bool CouenneOSInterface::writeSolution ( Bonmin::Bab bab)
virtual

Called after B&B finished.

Should write solution information.

Reimplemented from Couenne::CouenneUserInterface.

Definition at line 120 of file CouenneOSInterface.cpp.

Member Data Documentation

CouenneProblem* Couenne::CouenneOSInterface::problem
private

Definition at line 38 of file CouenneOSInterface.hpp.

Ipopt::SmartPtr<Bonmin::TMINLP> Couenne::CouenneOSInterface::tminlp
private

Definition at line 39 of file CouenneOSInterface.hpp.

OSInstance* Couenne::CouenneOSInterface::osinstance
private

Definition at line 41 of file CouenneOSInterface.hpp.


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