Ipopt Documentation  
 
Loading...
Searching...
No Matches
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
14namespace Ipopt
15{
16
22{
23public:
25 SmartPtr<SchurData> hess_data,
27 );
28
30
31 virtual bool InitializeImpl(
32 const OptionsList& options,
33 const std::string& prefix
34 );
35
37 virtual bool ComputeReducedHessian();
38
39private:
40
43
46
49};
50
51}
52
53#endif
This is the base class for all algorithm strategy objects.
This class stores a list of user set options.
This is the interface for the actual controller.
SmartPtr< PCalculator > pcalc_
Pointer to the P Calculator object that returns the reduced hessian matrix.
ReducedHessianCalculator(SmartPtr< SchurData > hess_data, SmartPtr< PCalculator > pcalc)
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.
SmartPtr< SchurData > hess_data_
Pointer to Schurdata object holding the indices for selecting the free variables.
virtual bool ComputeReducedHessian()
This function computes the unscaled reduced hessian matrix.
bool compute_eigenvalues_
True, if option rh_eigendecomp was set to yes.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.