#include <SensMetadataMeasurement.hpp>
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< Index > | GetInitialEqConstraints () |
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< DenseVector > | GetMeasurement (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< Index > | GetIntegerSuffix (std::string suffix_string) |
![]() | |
Measurement () | |
This class provides an abstraction for the measurements of the states coming in and the solutions of the controller. | |
virtual | ~Measurement () |
virtual std::vector< Index > | GetInitialEqConstraints ()=0 |
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< DenseVector > | GetMeasurement (Index measurement_number)=0 |
This function returns delta_u. | |
virtual void | SetSolution (Index measurement_number, SmartPtr< IteratesVector > sol)=0 |
This function does whatever the measurement machine does with the solution of the SensAlgorithm. | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
![]() | |
SuffixHandler () | |
virtual | ~SuffixHandler () |
virtual std::vector< Index > | GetIntegerSuffix (std::string suffix_string)=0 |
![]() | |
bool | Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix) |
This method is called every time the algorithm starts again - it is used to reset any internal state. | |
bool | ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
Reduced version of the Initialize method, which does not require special Ipopt information. | |
AlgorithmStrategyObject () | |
Default Constructor. | |
virtual | ~AlgorithmStrategyObject () |
Destructor. | |
Private Attributes | |
Index | n_idx_ |
Number of sens_indices. | |
SmartPtr< const DenseVectorSpace > | x_owner_space_ |
owner space of x | |
SmartPtr< const DenseVectorSpace > | s_owner_space_ |
owner space of s | |
SmartPtr< const DenseVectorSpace > | y_c_owner_space_ |
owner space of y_c | |
SmartPtr< const DenseVectorSpace > | y_d_owner_space_ |
owner space of y_d | |
SmartPtr< const DenseVectorSpace > | z_L_owner_space_ |
owner space of z_L | |
SmartPtr< const DenseVectorSpace > | z_U_owner_space_ |
owner space of z_U | |
Additional Inherited Members | |
![]() | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
Implementation of the initialization method that has to be overloaded by for each derived class. | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Definition at line 17 of file SensMetadataMeasurement.hpp.
Ipopt::MetadataMeasurement::MetadataMeasurement | ( | ) |
|
virtual |
|
virtual |
Implementation of the initialization method that has to be overloaded by for each derived class.
Implements Ipopt::AlgorithmStrategyObject.
|
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 |
This function returns delta_u.
It should use the values of IpData().trial()->x()
Implements Ipopt::Measurement.
|
virtual |
This function does whatever the measurement machine does with the solution of the SensAlgorithm.
Implements Ipopt::Measurement.
|
virtual |
Implements Ipopt::SuffixHandler.
|
private |
Number of sens_indices.
Definition at line 51 of file SensMetadataMeasurement.hpp.
|
private |
owner space of x
Definition at line 54 of file SensMetadataMeasurement.hpp.
|
private |
owner space of s
Definition at line 56 of file SensMetadataMeasurement.hpp.
|
private |
owner space of y_c
Definition at line 58 of file SensMetadataMeasurement.hpp.
|
private |
owner space of y_d
Definition at line 60 of file SensMetadataMeasurement.hpp.
|
private |
owner space of z_L
Definition at line 62 of file SensMetadataMeasurement.hpp.
|
private |
owner space of z_U
Definition at line 64 of file SensMetadataMeasurement.hpp.