The SCS solver details after calling Solve() function.
The user can call MathematicalProgramResult::get_solver_details<ScsSolver>() to obtain the details.
#include <drake/solvers/scs_solver.h>
Public Attributes | |
int | scs_status {} |
The status of the solver at termination. More... | |
int | iter {} |
These are the information returned by SCS at termination, please refer to "SCS_INFO" struct in https://github.com/cvxgrp/scs/blob/master/include/scs.h Number of iterations taken at termination. More... | |
double | primal_objective {} |
Primal objective value at termination. More... | |
double | dual_objective {} |
Dual objective value at termination. More... | |
double | primal_residue {} |
Primal equality residue. More... | |
double | residue_infeasibility {} |
infeasibility certificate residue. More... | |
double | residue_unbounded_a {} |
unbounded certificate residue. More... | |
double | residue_unbounded_p {} |
unbounded certificate residue. More... | |
double | duality_gap {} |
duality gap. More... | |
double | scs_setup_time {} |
Time taken for SCS to setup in milliseconds. More... | |
double | scs_solve_time {} |
Time taken for SCS to solve in millisecond. More... | |
Eigen::VectorXd | y |
The dual variable values at termination. More... | |
Eigen::VectorXd | s |
The primal equality constraint slack, namely Ax + s = b where x is the primal variable. More... | |
double dual_objective {} |
Dual objective value at termination.
Equal to SCS_INFO.dobj
double duality_gap {} |
duality gap.
Equal to SCS_INFO.gap.
int iter {} |
These are the information returned by SCS at termination, please refer to "SCS_INFO" struct in https://github.com/cvxgrp/scs/blob/master/include/scs.h Number of iterations taken at termination.
Equal to SCS_INFO.iter
double primal_objective {} |
Primal objective value at termination.
Equal to SCS_INFO.pobj
double primal_residue {} |
Primal equality residue.
Equal to SCS_INFO.res_pri
double residue_infeasibility {} |
infeasibility certificate residue.
Equal to SCS_INFO.res_infeas
double residue_unbounded_a {} |
unbounded certificate residue.
Equal to SCS_INFO.res_unbdd_a
double residue_unbounded_p {} |
unbounded certificate residue.
Equal to SCS_INFO.res_unbdd_p
Eigen::VectorXd s |
The primal equality constraint slack, namely Ax + s = b where x is the primal variable.
double scs_setup_time {} |
Time taken for SCS to setup in milliseconds.
Equal to SCS_INFO.setup_time.
double scs_solve_time {} |
Time taken for SCS to solve in millisecond.
Equal to SCS_INFO.solve_time.
int scs_status {} |
The status of the solver at termination.
Please refer to https://github.com/cvxgrp/scs/blob/master/include/glbopts.h Note that the SCS code on github master might be slightly more up-to-date than the version used in Drake.
Eigen::VectorXd y |
The dual variable values at termination.