Return information
When SCS terminates it will return an ScsInfo struct containing the following fields.
Name 
Type 
Description 



Number of iterations taken 


Status string (e.g., ‘solved’) 


Linear system solver used 


Status integer exit flag 


Number of updates to the scale parameter (see Dynamic scale updating) 


Primal objective 


Dual objective 


Primal residual (see termination conditions) 


Dual residual (see termination conditions) 


Absolute duality gap (see termination conditions) 


Primal infeasibility residual (see termination conditions) 


Dual infeasibility residual involving \(A\) (see termination conditions) 


Dual infeasibility residual involving \(P\) (see termination conditions) 


Complementary slackness (\(s^\top y\)), should be very close to zero 


Time taken for setup (milliseconds) 


Time taken for solve (milliseconds) 


Final scale parameter, useful for initializing next solve (see Dynamic scale updating) 


Number of times an AA update was rejected by the safeguarding check (see Acceleration) 


Number of times an AA update was accepted by the safeguarding check (see Acceleration) 


Total time (milliseconds) spent in the linear system solver 


Total time (milliseconds) spent in the cone projection 


Total time (milliseconds) spent in the aceleration routine 