Ipopt Documentation  
SensMetadataMeasurement.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-07-10
6 
7 #ifndef __AS_METADATAMEASUREMENT_HPP__
8 #define __AS_METADATAMEASUREMENT_HPP__
9 
10 #include "SensMeasurement.hpp"
11 #include "SensSuffixHandler.hpp"
12 #include "IpAlgStrategy.hpp"
13 
14 namespace Ipopt
15 {
16 
18 {
19 public:
21 
22  virtual ~MetadataMeasurement();
23 
24  /* AlgorithmStrategyObject */
25  virtual bool InitializeImpl(
26  const OptionsList& options,
27  const std::string& prefix
28  );
29 
30  /* measurement methods */
31  virtual std::vector<Index> GetInitialEqConstraints();
32 
34  Index measurement_number
35  );
36 
37  virtual void SetSolution(
38  Index measurement_number,
40  );
41 
42  /* suffix handler methods */
43 
44  virtual std::vector<Index> GetIntegerSuffix(
45  std::string suffix_string
46  );
47 
48 private:
49 
52 
65 
66 };
67 
68 }
69 
70 #endif
Ipopt::Measurement
Definition: SensMeasurement.hpp:17
Ipopt::SuffixHandler
This class is the interface for all classes that can return indices.
Definition: SensSuffixHandler.hpp:21
Ipopt::MetadataMeasurement::MetadataMeasurement
MetadataMeasurement()
Ipopt::MetadataMeasurement::GetMeasurement
virtual SmartPtr< DenseVector > GetMeasurement(Index measurement_number)
This function returns delta_u.
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:13
SensSuffixHandler.hpp
Ipopt::MetadataMeasurement::SetSolution
virtual void SetSolution(Index measurement_number, SmartPtr< IteratesVector > sol)
This function does whatever the measurement machine does with the solution of the SensAlgorithm.
Ipopt::MetadataMeasurement::~MetadataMeasurement
virtual ~MetadataMeasurement()
Ipopt::MetadataMeasurement::n_idx_
Index n_idx_
Number of sens_indices.
Definition: SensMetadataMeasurement.hpp:51
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
Ipopt::MetadataMeasurement::y_d_owner_space_
SmartPtr< const DenseVectorSpace > y_d_owner_space_
owner space of y_d
Definition: SensMetadataMeasurement.hpp:60
Ipopt::MetadataMeasurement
Definition: SensMetadataMeasurement.hpp:17
Ipopt::MetadataMeasurement::z_U_owner_space_
SmartPtr< const DenseVectorSpace > z_U_owner_space_
owner space of z_U
Definition: SensMetadataMeasurement.hpp:64
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:34
Ipopt::MetadataMeasurement::y_c_owner_space_
SmartPtr< const DenseVectorSpace > y_c_owner_space_
owner space of y_c
Definition: SensMetadataMeasurement.hpp:58
Ipopt::MetadataMeasurement::z_L_owner_space_
SmartPtr< const DenseVectorSpace > z_L_owner_space_
owner space of z_L
Definition: SensMetadataMeasurement.hpp:62
Ipopt::MetadataMeasurement::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::MetadataMeasurement::s_owner_space_
SmartPtr< const DenseVectorSpace > s_owner_space_
owner space of s
Definition: SensMetadataMeasurement.hpp:56
IpAlgStrategy.hpp
Ipopt::MetadataMeasurement::x_owner_space_
SmartPtr< const DenseVectorSpace > x_owner_space_
owner space of x
Definition: SensMetadataMeasurement.hpp:54
Ipopt::MetadataMeasurement::GetInitialEqConstraints
virtual std::vector< Index > GetInitialEqConstraints()
This function returns a std::vector holding the indices in IteratesVector of the equations that are t...
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
SensMeasurement.hpp
Ipopt::MetadataMeasurement::GetIntegerSuffix
virtual std::vector< Index > GetIntegerSuffix(std::string suffix_string)