![]() |
Sleipnir C++ API
|
#include </home/runner/work/Sleipnir/Sleipnir/include/sleipnir/optimization/solver/util/kkt_system.hpp>
Public Types | |
| using | DenseVector = Eigen::VectorX< Scalar > |
| Type alias for dense vector. | |
| using | SparseMatrix = Eigen::SparseMatrix< Scalar > |
| Type alias for sparse matrix. | |
| using | SparseVector = Eigen::SparseVector< Scalar > |
| Type alias for sparse vector. | |
Public Member Functions | |
| NewtonKKTSystem (const SparseMatrix &H) | |
| bool | factorize (const SparseMatrix &H) |
| NewtonStep< Scalar > | solve (const SparseVector &g) const |
| Scalar | hessian_regularization () const |
| Scalar | constraint_jacobian_regularization () const |
Newton's method's Newton-KKT system.
| Scalar | Scalar type. |
|
inlineexplicit |
|
inline |
Returns the constraint Jacobian regularization factor from the last factorize().
|
inline |
Factorizes the system's matrix at the given iterate.
| H | The Hessian of the cost function. |
|
inline |
Returns the Hessian regularization factor from the last factorize().
|
inline |
Solves the system with the last factorization.
| g | The cost function gradient. |