Sleipnir C++ API
Loading...
Searching...
No Matches
slp::SQPStep< Scalar > Struct Template Reference

#include </home/runner/work/Sleipnir/Sleipnir/include/sleipnir/optimization/solver/util/step.hpp>

Public Types

using DenseVector = Eigen::VectorX< Scalar >
 Type alias for dense vector.
 

Public Member Functions

Scalar primal_inf_norm () const
 
Scalar dual_inf_norm () const
 
Scalar tiny_step_size (const DenseVector &x) const
 

Public Attributes

DenseVector p_x
 Decision variable primal step.
 
DenseVector p_y
 Equality constraint dual step.
 

Detailed Description

template<typename Scalar>
struct slp::SQPStep< Scalar >

Sequential quadratic programming step direction.

Template Parameters
ScalarScalar type.

Member Function Documentation

◆ dual_inf_norm()

template<typename Scalar >
Scalar slp::SQPStep< Scalar >::dual_inf_norm ( ) const
inline

Returns the infinity norm of the dual step.

Returns
The infinity norm of the dual step.

◆ primal_inf_norm()

template<typename Scalar >
Scalar slp::SQPStep< Scalar >::primal_inf_norm ( ) const
inline

Returns the infinity norm of the primal step.

Returns
The infinity norm of the primal step.

◆ tiny_step_size()

template<typename Scalar >
Scalar slp::SQPStep< Scalar >::tiny_step_size ( const DenseVector &  x) const
inline

Returns the step size below which the primal step is negligible relative to the iterate.

Parameters
xThe decision variables.
Returns
The step size below which the primal step is negligible relative to the iterate.

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