Matrix callbacks for the Newton's method solver.
More...
#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/optimization/solver/newton.hpp>
|
std::function< double(const Eigen::VectorXd &x)> | f |
| Cost function value f(x) getter.
|
|
std::function< Eigen::SparseVector< double >(const Eigen::VectorXd &x)> | g |
| Cost function gradient ∇f(x) getter.
|
|
std::function< Eigen::SparseMatrix< double >(const Eigen::VectorXd &x)> | H |
| Lagrangian Hessian ∇ₓₓ²L(x) getter.
|
|
Matrix callbacks for the Newton's method solver.
std::function<double(const Eigen::VectorXd& x)> slp::NewtonMatrixCallbacks::f |
Cost function value f(x) getter.
std::function<Eigen::SparseVector<double>(const Eigen::VectorXd& x)> slp::NewtonMatrixCallbacks::g |
Cost function gradient ∇f(x) getter.
Variable | Rows | Columns |
x | num_decision_variables | 1 |
∇f(x) | num_decision_variables | 1 |
std::function<Eigen::SparseMatrix<double>(const Eigen::VectorXd& x)> slp::NewtonMatrixCallbacks::H |
Lagrangian Hessian ∇ₓₓ²L(x) getter.
L(xₖ) = f(xₖ)
Variable | Rows | Columns |
x | num_decision_variables | 1 |
∇ₓₓ²L(x) | num_decision_variables | num_decision_variables |
The documentation for this struct was generated from the following file:
- /home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/optimization/solver/newton.hpp