Couenne  0.5.8
CouenneOSInterface.hpp
Go to the documentation of this file.
1 // $Id: CouenneOSInterface.hpp 488 2011-01-10 17:06:41Z pbelotti $
2 //
3 // (C) Copyright XXX 2009
4 // All Rights Reserved.
5 // This code is published under the Eclipse Public License (EPL).
6 //
7 // Authors :
8 // Pietro Belotti, Lehigh University
9 // Stefan Vigerske, Humboldt University
10 //
11 // Date : 07/18/2009
12 
13 #ifndef COUENNEOSINTERFACE_HPP_
14 #define COUENNEOSINTERFACE_HPP_
15 
16 #include "CouenneUserInterface.hpp"
17 #include "BonRegisteredOptions.hpp"
18 
19 namespace Bonmin {
20  class RegisteredOptions;
21  class TMINLP;
22  class Bab;
23 }
24 
25 namespace Ipopt {
26  class OptionsList;
27  class Journalist;
28 }
29 
30 using Ipopt::SmartPtr;
31 
32 class OSInstance;
33 
34 namespace Couenne {
35 
37 private:
38  CouenneProblem* problem;
40 
41  OSInstance* osinstance;
42 
43 public:
45 
47  : CouenneUserInterface(options_, jnlst_), problem(NULL), osinstance(NULL)
48  { }
49 
51 
53 
55 
56  bool writeSolution(Bonmin::Bab& bab);
57 };
58 
59 }
60 
61 #endif
Bonmin::Bab
Couenne::CouenneOSInterface::getTMINLP
Ipopt::SmartPtr< Bonmin::TMINLP > getTMINLP()
Should return the problem to solve as TMINLP.
Couenne::CouenneOSInterface::CouenneOSInterface
CouenneOSInterface(Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_)
Definition: CouenneOSInterface.hpp:46
Bonmin
Ipopt
Couenne
general include file for different compilers
Definition: CouenneAggrProbing.hpp:24
CouenneUserInterface.hpp
BonRegisteredOptions.hpp
Couenne::CouenneUserInterface
Definition: CouenneUserInterface.hpp:32
Couenne::CouenneOSInterface::writeSolution
bool writeSolution(Bonmin::Bab &bab)
Called after B&B finished.
Ipopt::SmartPtr
Definition: CouenneTwoImplied.hpp:22
Couenne::CouenneOSInterface::~CouenneOSInterface
~CouenneOSInterface()
Couenne::CouenneOSInterface::getCouenneProblem
CouenneProblem * getCouenneProblem()
Should return the problem to solve in algebraic form.
Couenne::CouenneProblem
Class for MINLP problems with symbolic information.
Definition: CouenneProblem.hpp:169
Couenne::CouenneOSInterface
Definition: CouenneOSInterface.hpp:36
Couenne::CouenneOSInterface::registerOptions
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)