Couenne::CouenneAmplInterface Class Reference

#include <CouenneAmplInterface.hpp>

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

List of all members.

Public Member Functions

 CouenneAmplInterface (Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_)
 ~CouenneAmplInterface ()
CouenneProblemgetCouenneProblem ()
 Should return the problem to solve in algebraic form.
Ipopt::SmartPtr< Bonmin::TMINLP > getTMINLP ()
 Should return the problem to solve as TMINLP.
bool writeSolution (Bonmin::Bab &bab)
 Called after B&B finished.
void setRegisteredOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions_)

Static Public Member Functions

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

Private Member Functions

bool readASLfg ()
bool readnl ()
expressionnl2e (expr *e)

Private Attributes

CouenneProblemproblem
Ipopt::SmartPtr< Bonmin::TMINLP > tminlp
Ipopt::SmartPtr
< Bonmin::RegisteredOptions > 
roptions
struct ASL * asl

Detailed Description

Definition at line 26 of file CouenneAmplInterface.hpp.


Constructor & Destructor Documentation

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

Definition at line 41 of file CouenneAmplInterface.hpp.

CouenneAmplInterface::~CouenneAmplInterface (  ) 

Definition at line 83 of file CouenneAmplInterface.cpp.


Member Function Documentation

bool CouenneAmplInterface::readASLfg (  )  [private]

Definition at line 152 of file CouenneAmplInterface.cpp.

bool CouenneAmplInterface::readnl (  )  [private]

Definition at line 207 of file CouenneAmplInterface.cpp.

expression * CouenneAmplInterface::nl2e ( expr *  e  )  [private]

Definition at line 693 of file CouenneAmplInterface.cpp.

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

Definition at line 79 of file CouenneAmplInterface.cpp.

CouenneProblem * CouenneAmplInterface::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 96 of file CouenneAmplInterface.cpp.

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

Should return the problem to solve as TMINLP.

Implements Couenne::CouenneUserInterface.

Definition at line 114 of file CouenneAmplInterface.cpp.

bool CouenneAmplInterface::writeSolution ( Bonmin::Bab &  bab  )  [virtual]

Called after B&B finished.

Should write solution information.

Reimplemented from Couenne::CouenneUserInterface.

Definition at line 137 of file CouenneAmplInterface.cpp.

void Couenne::CouenneAmplInterface::setRegisteredOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions >  roptions_  )  [inline]

Definition at line 53 of file CouenneAmplInterface.hpp.


Member Data Documentation

Definition at line 28 of file CouenneAmplInterface.hpp.

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

Definition at line 29 of file CouenneAmplInterface.hpp.

Ipopt::SmartPtr<Bonmin::RegisteredOptions> Couenne::CouenneAmplInterface::roptions [private]

Definition at line 31 of file CouenneAmplInterface.hpp.

struct ASL* Couenne::CouenneAmplInterface::asl [read, private]

Definition at line 32 of file CouenneAmplInterface.hpp.


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

Generated on 22 May 2012 by  doxygen 1.6.1