CouenneUserInterface Class Reference

#include <CouenneUserInterface.hpp>

Inheritance diagram for CouenneUserInterface:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

Ipopt::SmartPtr< Ipopt::OptionsList > options
Ipopt::SmartPtr< Ipopt::Journalist > jnlst

Detailed Description

Definition at line 29 of file CouenneUserInterface.hpp.


Constructor & Destructor Documentation

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

Definition at line 35 of file CouenneUserInterface.hpp.

virtual CouenneUserInterface::~CouenneUserInterface (  )  [inline, virtual]

Definition at line 39 of file CouenneUserInterface.hpp.


Member Function Documentation

virtual bool CouenneUserInterface::setupJournals (  )  [inline, virtual]

Setup journals for printing.

Default is to have one journal that prints to stdout.

Definition at line 44 of file CouenneUserInterface.hpp.

References jnlst.

Referenced by main().

virtual CouenneProblem* CouenneUserInterface::getCouenneProblem (  )  [pure virtual]

Should return the problem to solve in algebraic form.

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

Implemented in CouenneOSInterface, and CouenneAmplInterface.

Referenced by main().

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

Should return the problem to solve as TMINLP.

Implemented in CouenneOSInterface, and CouenneAmplInterface.

Referenced by main().

virtual bool CouenneUserInterface::addBabPlugins ( Bonmin::Bab bab  )  [inline, virtual]

Called after B&B object is setup.

User should add plugins like cut generators, bound tighteners, or heuristics here.

Definition at line 62 of file CouenneUserInterface.hpp.

Referenced by main().

virtual bool CouenneUserInterface::writeSolution ( Bonmin::Bab bab  )  [inline, virtual]

Called after B&B finished.

Should write solution information.

Reimplemented in CouenneOSInterface, and CouenneAmplInterface.

Definition at line 76 of file CouenneUserInterface.hpp.

Referenced by main().


Member Data Documentation

Ipopt::SmartPtr<Ipopt::OptionsList> CouenneUserInterface::options [protected]

Definition at line 31 of file CouenneUserInterface.hpp.

Referenced by CouenneAmplInterface::getTMINLP(), CouenneAmplInterface::readASLfg(), and CouenneAmplInterface::readnl().

Ipopt::SmartPtr<Ipopt::Journalist> CouenneUserInterface::jnlst [protected]

Definition at line 32 of file CouenneUserInterface.hpp.

Referenced by CouenneAmplInterface::getTMINLP(), CouenneAmplInterface::nl2e(), CouenneAmplInterface::readnl(), and setupJournals().


The documentation for this class was generated from the following file:
Generated on Tue Mar 30 03:12:04 2010 by  doxygen 1.4.7