#include <CouenneOSInterface.hpp>
Inheritance diagram for 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 21 of file CouenneOSInterface.hpp.
| CouenneOSInterface::CouenneOSInterface | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options_, | |
| Ipopt::SmartPtr< Ipopt::Journalist > | jnlst_ | |||
| ) | [inline] |
Definition at line 31 of file CouenneOSInterface.hpp.
| CouenneOSInterface::~CouenneOSInterface | ( | ) |
| void CouenneOSInterface::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
| 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.
CouenneProblem* CouenneOSInterface::problem [private] |
Definition at line 23 of file CouenneOSInterface.hpp.
Referenced by getCouenneProblem(), and ~CouenneOSInterface().
Ipopt::SmartPtr<Bonmin::TMINLP> CouenneOSInterface::tminlp [private] |
OSInstance* CouenneOSInterface::osinstance [private] |
1.4.7