// Copyright (c) Sleipnir contributors
#pragma once
#include<Eigen/Core>#include<Eigen/SparseCore>namespaceslp{/**
* Solver iteration information exposed to an iteration callback.
*/structIterationInfo{/// The solver iteration.
int iteration;/// The decision variables.
const Eigen::VectorXd& x;/// The gradient of the cost function.
const Eigen::SparseVector<double>& g;/// The Hessian of the Lagrangian.
const Eigen::SparseMatrix<double>& H;/// The equality constraint Jacobian.
const Eigen::SparseMatrix<double>& A_e;/// The inequality constraint Jacobian.
const Eigen::SparseMatrix<double>& A_i;};}// namespace slp