Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
22 {
23 public:
25  SmartPtr<SchurData> hess_data,
27  );
28 
29  virtual ~ReducedHessianCalculator();
30 
31  virtual bool InitializeImpl(
32  const OptionsList& options,
33  const std::string& prefix
34  );
35 
37  virtual bool ComputeReducedHessian();
38 
39 private:
40 
43 
46 
49 };
50 
51 }
52 
53 #endif
SmartPtr< SchurData > hess_data_
Pointer to Schurdata object holding the indices for selecting the free variables. ...
This is the base class for all algorithm strategy objects.
SmartPtr< PCalculator > pcalc_
Pointer to the P Calculator object that returns the reduced hessian matrix.
ReducedHessianCalculator(SmartPtr< SchurData > hess_data, SmartPtr< PCalculator > pcalc)
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
This class stores a list of user set options.
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...
bool compute_eigenvalues_
True, if option rh_eigendecomp was set to yes.
This is the interface for the actual controller.
virtual bool ComputeReducedHessian()
This function computes the unscaled reduced hessian matrix.