Couenne::CouenneOSInterface Class Reference

#include <CouenneOSInterface.hpp>

Inheritance diagram for Couenne::CouenneOSInterface:

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

Collaboration graph
[legend]
List of all members.

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.
Ipopt::SmartPtr< Bonmin::TMINLPgetTMINLP ()
 Should return the problem to solve as TMINLP.
bool writeSolution (Bonmin::Bab &bab)
 Called after B&B finished.

Static Public Member Functions

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

Private Attributes

CouenneProblemproblem
Ipopt::SmartPtr< Bonmin::TMINLPtminlp
OSInstanceosinstance

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.

References problem.


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.

References COUENNE_INFINITY, osinstance, problem, and x.

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.

References tminlp.

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.

Referenced by getCouenneProblem(), and ~CouenneOSInterface().

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

Definition at line 39 of file CouenneOSInterface.hpp.

Referenced by getTMINLP().

OSInstance* Couenne::CouenneOSInterface::osinstance [private]

Definition at line 41 of file CouenneOSInterface.hpp.

Referenced by getCouenneProblem().


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 03:13:29 2011 by  doxygen 1.4.7