Ipopt Documentation  
 
Loading...
Searching...
No Matches
Ipopt::Measurement Class Referenceabstract

#include <SensMeasurement.hpp>

+ Inheritance diagram for Ipopt::Measurement:

Public Member Functions

 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< IndexGetInitialEqConstraints ()=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< DenseVectorGetMeasurement (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.
 
- Public Member Functions inherited from Ipopt::ReferencedObject
 ReferencedObject ()
 
virtual ~ReferencedObject ()
 
Index ReferenceCount () const
 
void AddRef (const Referencer *referencer) const
 
void ReleaseRef (const Referencer *referencer) const
 

Detailed Description

Definition at line 17 of file SensMeasurement.hpp.

Constructor & Destructor Documentation

◆ Measurement()

Ipopt::Measurement::Measurement ( )
inline

This class provides an abstraction for the measurements of the states coming in and the solutions of the controller.

It basically acts as the "plant" of the controller.

Definition at line 26 of file SensMeasurement.hpp.

◆ ~Measurement()

virtual Ipopt::Measurement::~Measurement ( )
inlinevirtual

Definition at line 29 of file SensMeasurement.hpp.

Member Function Documentation

◆ GetInitialEqConstraints()

virtual std::vector< Index > Ipopt::Measurement::GetInitialEqConstraints ( )
pure 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.

Implemented in Ipopt::MetadataMeasurement.

◆ GetMeasurement()

virtual SmartPtr< DenseVector > Ipopt::Measurement::GetMeasurement ( Index  measurement_number)
pure virtual

This function returns delta_u.

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

Implemented in Ipopt::MetadataMeasurement.

◆ SetSolution()

virtual void Ipopt::Measurement::SetSolution ( Index  measurement_number,
SmartPtr< IteratesVector sol 
)
pure virtual

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

Implemented in Ipopt::MetadataMeasurement.


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