CouenneOSInterface Class Reference

#include <CouenneOSInterface.hpp>

Inheritance diagram for CouenneOSInterface:

Inheritance graph
[legend]
Collaboration diagram for 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 21 of file CouenneOSInterface.hpp.


Constructor & Destructor Documentation

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

Definition at line 31 of file CouenneOSInterface.hpp.

CouenneOSInterface::~CouenneOSInterface (  ) 

Definition at line 30 of file CouenneOSInterface.cpp.

References problem.


Member Function Documentation

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

Definition at line 26 of file CouenneOSInterface.cpp.

Referenced by main().

CouenneProblem * CouenneOSInterface::getCouenneProblem (  )  [virtual]

Should return the problem to solve in algebraic form.

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

Implements CouenneUserInterface.

Definition at line 35 of file CouenneOSInterface.cpp.

References OSInstance::addObjective(), OSInstance::addVariable(), COUENNE_INFINITY, osinstance, problem, and x.

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

Should return the problem to solve as TMINLP.

Implements CouenneUserInterface.

Definition at line 99 of file CouenneOSInterface.cpp.

References tminlp.

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

Called after B&B finished.

Should write solution information.

Reimplemented from CouenneUserInterface.

Definition at line 103 of file CouenneOSInterface.cpp.


Member Data Documentation

CouenneProblem* CouenneOSInterface::problem [private]

Definition at line 23 of file CouenneOSInterface.hpp.

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

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

Definition at line 24 of file CouenneOSInterface.hpp.

Referenced by getTMINLP().

OSInstance* CouenneOSInterface::osinstance [private]

Definition at line 26 of file CouenneOSInterface.hpp.

Referenced by getCouenneProblem().


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:10:31 2010 by  doxygen 1.4.7