WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
error_estimate.hpp File Reference
#include <algorithm>
#include <Eigen/Core>
#include <Eigen/SparseCore>

Go to the source code of this file.

Namespaces

namespace  slp

Functions

template<typename Scalar>
Scalar slp::error_estimate (const Eigen::Vector< Scalar, Eigen::Dynamic > &g)
 Returns the error estimate using the KKT conditions for Newton's method.
template<typename Scalar>
Scalar slp::error_estimate (const Eigen::Vector< Scalar, Eigen::Dynamic > &g, const Eigen::SparseMatrix< Scalar > &A_e, const Eigen::Vector< Scalar, Eigen::Dynamic > &c_e, const Eigen::Vector< Scalar, Eigen::Dynamic > &y)
 Returns the error estimate using the KKT conditions for SQP.
template<typename Scalar>
Scalar slp::error_estimate (const Eigen::Vector< Scalar, Eigen::Dynamic > &g, const Eigen::SparseMatrix< Scalar > &A_e, const Eigen::Vector< Scalar, Eigen::Dynamic > &c_e, const Eigen::SparseMatrix< Scalar > &A_i, const Eigen::Vector< Scalar, Eigen::Dynamic > &c_i, const Eigen::Vector< Scalar, Eigen::Dynamic > &s, const Eigen::Vector< Scalar, Eigen::Dynamic > &y, const Eigen::Vector< Scalar, Eigen::Dynamic > &z, Scalar μ)
 Returns the error estimate using the KKT conditions for the interior-point method.