Ipopt 3.11.9
Loading...
Searching...
No Matches
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
16#include "IpPDSystemSolver.hpp"
17namespace Ipopt
18{
20 DECLARE_STD_EXCEPTION(SENS_SUFFIX_ERROR);
21
23 {
24 public:
25 // constructor
28 SmartPtr<RegisteredOptions> reg_options);
29
31
33
35
36 void Initialize();
37
39 ApplicationReturnStatus ipopt_retval);
40
42 {
43 return jnlst_;
44 }
45
46
48 {
49 return options_;
50 }
51
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
78 };
79}
80
81#endif
#define DECLARE_STD_EXCEPTION(__except_type)
ApplicationReturnStatus
Return codes for the Optimize call for an application.
ReferencedObject class.
SmartPtr< OptionsList > Options()
SmartPtr< IpoptData > ip_data_
SmartPtr< IpoptNLP > ip_nlp_
bool run_sens_
storing options values
SmartPtr< IpoptCalculatedQuantities > ip_cq_
SmartPtr< OptionsList > options_
SmartPtr< const OptionsList > Options() const
Get the options list for setting options (const version)
SensApplication(SmartPtr< Journalist > jnlst, SmartPtr< OptionsList > options, SmartPtr< RegisteredOptions > reg_options)
SmartPtr< RegisteredOptions > reg_options_
SensAlgorithmExitStatus Run()
ApplicationReturnStatus ipopt_retval_
void SetIpoptAlgorithmObjects(SmartPtr< IpoptApplication > app_ipopt, ApplicationReturnStatus ipopt_retval)
SmartPtr< Journalist > Jnlst()
SmartPtr< Journalist > jnlst_
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
SmartPtr< PDSystemSolver > pd_solver_
Template class for Smart Pointers.
SmartPtr< const U > ConstPtr(const SmartPtr< U > &smart_ptr)
int Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:19
SensAlgorithmExitStatus
This header file provides some definitions used throughout the program.
Definition SensUtils.hpp:22