#include <CouenneOSInterface.hpp>
Inheritance diagram for Couenne::CouenneOSInterface:
Public Member Functions | |
CouenneOSInterface (Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_) | |
~CouenneOSInterface () | |
CouenneProblem * | getCouenneProblem () |
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. | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Private Attributes | |
CouenneProblem * | problem |
Ipopt::SmartPtr< Bonmin::TMINLP > | tminlp |
OSInstance * | osinstance |
Definition at line 36 of file CouenneOSInterface.hpp.
Couenne::CouenneOSInterface::CouenneOSInterface | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options_, | |
Ipopt::SmartPtr< Ipopt::Journalist > | jnlst_ | |||
) | [inline] |
Definition at line 46 of file CouenneOSInterface.hpp.
CouenneOSInterface::~CouenneOSInterface | ( | ) |
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.
Definition at line 38 of file CouenneOSInterface.hpp.
Referenced by getCouenneProblem(), and ~CouenneOSInterface().
Ipopt::SmartPtr<Bonmin::TMINLP> Couenne::CouenneOSInterface::tminlp [private] |