Public Member Functions | Private Attributes
Ipopt::MetadataMeasurement Class Reference

#include <SensMetadataMeasurement.hpp>

Inheritance diagram for Ipopt::MetadataMeasurement:
Ipopt::Measurement Ipopt::SuffixHandler Ipopt::AlgorithmStrategyObject Ipopt::ReferencedObject Ipopt::ReferencedObject Ipopt::ReferencedObject

List of all members.

Public Member Functions

 MetadataMeasurement ()
virtual ~MetadataMeasurement ()
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.
virtual std::vector< IndexGetInitialEqConstraints ()
 This function returns a std::vector holding the indices in IteratesVector of the equations that are to be "slacked" to free the initial values for sIPOPT.
virtual SmartPtr< DenseVectorGetMeasurement (Index measurement_number)
 This function returns delta_u.
virtual void SetSolution (Index measurement_number, SmartPtr< IteratesVector > sol)
 This function does whatever the measurement machine does with the solution of the SensAlgorithm.
virtual std::vector< IndexGetIntegerSuffix (std::string suffix_string)
 suffix handler methods

Private Attributes

Index n_idx_
 Number of sens_indices.
SmartPtr< const DenseVectorSpacex_owner_space_
 owner space of x
SmartPtr< const DenseVectorSpaces_owner_space_
 owner space of s
SmartPtr< const DenseVectorSpacey_c_owner_space_
 owner space of y_c
SmartPtr< const DenseVectorSpacey_d_owner_space_
 owner space of y_d
SmartPtr< const DenseVectorSpacez_L_owner_space_
 owner space of z_L
SmartPtr< const DenseVectorSpacez_U_owner_space_
 owner space of z_U

Detailed Description

Definition at line 18 of file SensMetadataMeasurement.hpp.


Constructor & Destructor Documentation

Ipopt::MetadataMeasurement::MetadataMeasurement ( )
virtual Ipopt::MetadataMeasurement::~MetadataMeasurement ( ) [virtual]

Member Function Documentation

virtual bool Ipopt::MetadataMeasurement::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
) [virtual]

Implementation of the initialization method that has to be overloaded by for each derived class.

Implements Ipopt::AlgorithmStrategyObject.

virtual std::vector<Index> Ipopt::MetadataMeasurement::GetInitialEqConstraints ( ) [virtual]

This function returns a std::vector holding the indices in IteratesVector of the equations that are to be "slacked" to free the initial values for sIPOPT.

This std::vector is used in the construction of the A-SchurData for the Schur Decomposition.

Implements Ipopt::Measurement.

virtual SmartPtr<DenseVector> Ipopt::MetadataMeasurement::GetMeasurement ( Index  measurement_number) [virtual]

This function returns delta_u.

It should use the values of IpData().trial()->x()

Implements Ipopt::Measurement.

virtual void Ipopt::MetadataMeasurement::SetSolution ( Index  measurement_number,
SmartPtr< IteratesVector sol 
) [virtual]

This function does whatever the measurement machine does with the solution of the SensAlgorithm.

Implements Ipopt::Measurement.

virtual std::vector<Index> Ipopt::MetadataMeasurement::GetIntegerSuffix ( std::string  suffix_string) [virtual]

suffix handler methods

Implements Ipopt::SuffixHandler.


Member Data Documentation

Number of sens_indices.

Definition at line 43 of file SensMetadataMeasurement.hpp.

owner space of x

Definition at line 46 of file SensMetadataMeasurement.hpp.

owner space of s

Definition at line 48 of file SensMetadataMeasurement.hpp.

owner space of y_c

Definition at line 50 of file SensMetadataMeasurement.hpp.

owner space of y_d

Definition at line 52 of file SensMetadataMeasurement.hpp.

owner space of z_L

Definition at line 54 of file SensMetadataMeasurement.hpp.

owner space of z_U

Definition at line 56 of file SensMetadataMeasurement.hpp.


The documentation for this class was generated from the following file: