Sleipnir C++ API
Loading...
Searching...
No Matches
SolverIterationInfo.hpp
Go to the documentation of this file.
1// Copyright (c) Sleipnir contributors
2
3#pragma once
4
5#include <Eigen/Core>
6#include <Eigen/SparseCore>
7
8namespace sleipnir {
9
16
18 const Eigen::VectorXd& x;
19
21 const Eigen::VectorXd& s;
22
24 const Eigen::SparseVector<double>& g;
25
27 const Eigen::SparseMatrix<double>& H;
28
30 const Eigen::SparseMatrix<double>& A_e;
31
33 const Eigen::SparseMatrix<double>& A_i;
34};
35
36} // namespace sleipnir
Definition Expression.hpp:18
Definition SolverIterationInfo.hpp:13
const Eigen::SparseMatrix< double > & A_i
The inequality constraint Jacobian.
Definition SolverIterationInfo.hpp:33
int iteration
The solver iteration.
Definition SolverIterationInfo.hpp:15
const Eigen::SparseMatrix< double > & A_e
The equality constraint Jacobian.
Definition SolverIterationInfo.hpp:30
const Eigen::VectorXd & x
The decision variables.
Definition SolverIterationInfo.hpp:18
const Eigen::SparseMatrix< double > & H
The Hessian of the Lagrangian.
Definition SolverIterationInfo.hpp:27
const Eigen::SparseVector< double > & g
The gradient of the cost function.
Definition SolverIterationInfo.hpp:24
const Eigen::VectorXd & s
The inequality constraint slack variables.
Definition SolverIterationInfo.hpp:21