Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SensReducedHessianCalculator.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-08-01
6
7 #ifndef __ASREDUCEDHESSIANCALCULATOR_HPP__
8 #define __ASREDUCEDHESSIANCALCULATOR_HPP__
9
10 #include "IpAlgStrategy.hpp"
11 #include "SensSchurData.hpp"
12 #include "SensPCalculator.hpp"
13
14 namespace Ipopt
15 {
16
17 class ReducedHessianCalculator : public AlgorithmStrategyObject
18 {
21 public:
22 ReducedHessianCalculator(SmartPtr<SchurData> hess_data,
23 SmartPtr<PCalculator> pcalc);
24
25 virtual ~ReducedHessianCalculator();
26
27 virtual bool InitializeImpl(const OptionsList& options,
28 const std::string& prefix);
29
30 /* This function computes the unscaled reduced hessian matrix */
31 virtual bool ComputeReducedHessian();
32
33 private:
34
36 SmartPtr<SchurData> hess_data_;
37
39 SmartPtr<PCalculator> pcalc_;
40
42 bool compute_eigenvalues_;
43 };
44
45 }
46
47 #endif
Ipopt::ReducedHessianCalculator::hess_data_
SmartPtr< SchurData > hess_data_
Pointer to Schurdata object holding the indices for selecting the free variables. ...
Definition: SensReducedHessianCalculator.hpp:36
IpAlgStrategy.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
SensSchurData.hpp
Ipopt::ReducedHessianCalculator::pcalc_
SmartPtr< PCalculator > pcalc_
Pointer to the P Calculator object that returns the reduced hessian matrix.
Definition: SensReducedHessianCalculator.hpp:39
Ipopt::ReducedHessianCalculator::ReducedHessianCalculator
ReducedHessianCalculator(SmartPtr< SchurData > hess_data, SmartPtr< PCalculator > pcalc)
This is the interface for the actual controller.
Ipopt::ReducedHessianCalculator::~ReducedHessianCalculator
virtual ~ReducedHessianCalculator()
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::ReducedHessianCalculator::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class...
Ipopt::ReducedHessianCalculator::compute_eigenvalues_
bool compute_eigenvalues_
True, if option rh_eigendecomp was set to yes.
Definition: SensReducedHessianCalculator.hpp:42
Ipopt::ReducedHessianCalculator
Definition: SensReducedHessianCalculator.hpp:17
Ipopt::ReducedHessianCalculator::ComputeReducedHessian
virtual bool ComputeReducedHessian()
SensPCalculator.hpp