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

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

Public Member Functions

bool all_finite () const
 

Public Attributes

Eigen::SparseVector< Scalar > g
 The cost function gradient ∇f(x).
 
Eigen::SparseMatrix< Scalar > A_e
 The equality constraint Jacobian Aₑ(x).
 
Eigen::SparseMatrix< Scalar > A_i
 The inequality constraint Jacobian Aᵢ(x).
 

Detailed Description

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

The cost function gradient and constraint Jacobians evaluated at an interior-point method iterate's decision variables.

Template Parameters
ScalarScalar type.

Member Function Documentation

◆ all_finite()

template<typename Scalar >
bool slp::IPMFirstDerivatives< Scalar >::all_finite ( ) const
inline

Returns whether every value is finite.

Returns
Whether every value is finite.

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