Drake

The OSQP solver details after calling Solve() function.
The user can call MathematicalProgramResult::get_solver_details<OsqpSolver>() to obtain the details.
#include <drake/solvers/osqp_solver.h>
Public Attributes  
int  iter {} 
Number of iterations taken. More...  
int  status_val {} 
Status of the solver at termination. More...  
double  primal_res {} 
Norm of primal residue. More...  
double  dual_res {} 
Norm of dual residue. More...  
double  setup_time {} 
Time taken for setup phase (seconds). More...  
double  solve_time {} 
Time taken for solve phase (seconds). More...  
double  polish_time {} 
Time taken for polish phase (seconds). More...  
double  run_time {} 
Total OSQP time (seconds). More...  
Eigen::VectorXd  y {} 
y contains the solution for the Lagrangian multiplier associated with l <= Ax <= u. More...  
double dual_res {} 
Norm of dual residue.
int iter {} 
Number of iterations taken.
double polish_time {} 
Time taken for polish phase (seconds).
double primal_res {} 
Norm of primal residue.
double run_time {} 
Total OSQP time (seconds).
double setup_time {} 
Time taken for setup phase (seconds).
double solve_time {} 
Time taken for solve phase (seconds).
int status_val {} 
Status of the solver at termination.
Please refer to https://github.com/oxfordcontrol/osqp/blob/master/include/constants.h
Eigen::VectorXd y {} 
y contains the solution for the Lagrangian multiplier associated with l <= Ax <= u.
The Lagrangian multiplier is set only when OSQP solves the problem. Notice that the order of the linear constraints are linear inequality first, and then linear equality constraints.