Ipopt  3.11.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SensApplication.hpp
Go to the documentation of this file.
1 // Copyright 2009, 2011 Hans Pirnay
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Date : 2009-05-06
6 
7 #ifndef __SENSAPPLICATION_HPP__
8 #define __SENSAPPLICATION_HPP__
9 
10 #include "IpReferenced.hpp"
11 #include "SensUtils.hpp"
12 #include "SensUtils.hpp"
13 #include "IpRegOptions.hpp"
14 
15 #include "IpIpoptApplication.hpp"
16 #include "IpPDSystemSolver.hpp"
17 namespace Ipopt
18 {
20  DECLARE_STD_EXCEPTION(SENS_SUFFIX_ERROR);
21 
23  {
24  public:
25  // constructor
27  SmartPtr<OptionsList> options,
28  SmartPtr<RegisteredOptions> reg_options);
29 
31 
32  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
33 
35 
36  void Initialize();
37 
39  ApplicationReturnStatus ipopt_retval);
40 
42  {
43  return jnlst_;
44  }
45 
46 
48  {
49  return options_;
50  }
51 
54  {
55  return ConstPtr(options_);
56  }
57 
58 
59  private:
60 
61  // standard constructor just so it can't be used
62  // SensApplication();
63 
64  // Pointers that are immediately passed from Ipopt and initialized by the constructor
73 
75  bool run_sens_;
78  };
79 }
80 
81 #endif