Couenne 0.5.8
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Couenne::CouenneOSInterface Class Reference

#include <CouenneOSInterface.hpp>

+ Inheritance diagram for Couenne::CouenneOSInterface:
+ Collaboration diagram for Couenne::CouenneOSInterface:

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 CouenneProblemgetCouenneProblem ()=0
 Should return the problem to solve in algebraic form. More...
 
virtual Ipopt::SmartPtr< Bonmin::TMINLPgetTMINLP ()=0
 Should return the problem to solve as TMINLP. More...
 
virtual bool addBabPlugins (Bonmin::Bab &bab)
 Called after B&B object is setup. More...
 
virtual bool writeSolution (Bonmin::Bab &bab)
 Called after B&B finished. More...
 

Static Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from Couenne::CouenneUserInterface
Ipopt::SmartPtr< Ipopt::OptionsListoptions
 
Ipopt::SmartPtr< Ipopt::Journalistjnlst
 

Detailed Description

Definition at line 36 of file CouenneOSInterface.hpp.

Constructor & Destructor Documentation

◆ CouenneOSInterface()

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

Definition at line 46 of file CouenneOSInterface.hpp.

◆ ~CouenneOSInterface()

Couenne::CouenneOSInterface::~CouenneOSInterface ( )

Member Function Documentation

◆ registerOptions()

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

◆ getCouenneProblem()

CouenneProblem * Couenne::CouenneOSInterface::getCouenneProblem ( )
virtual

Should return the problem to solve in algebraic form.

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

Implements Couenne::CouenneUserInterface.

◆ getTMINLP()

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

Should return the problem to solve as TMINLP.

Implements Couenne::CouenneUserInterface.

◆ writeSolution()

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

Called after B&B finished.

Should write solution information.

Reimplemented from Couenne::CouenneUserInterface.


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