ScsEigen::Solution struct

Solution class contains the solution of the convex problem.

Public types

enum class Status { infeasible_inaccurate, unbounded_inaccurate, sigint, failed, indeterminate, infeasible, unbounded, unfinished, solved, solved_inaccurate, unknown }
Status of scs solver.

Public functions

auto isValid() const -> bool
Check if the solution is valid.

Public variables

int iteration
Number of iterations taken by the solver.
double primalObjective
Primal objective value.
double dualObjective
Dual objective value.
double primalResidue
Primal equality residue.
double residueInfeasibility
infeasibility certificate residue.
double residueUnbounded
unbounded certificate residue
double relativeDualityGap
relative duality gap
double setupTime
Time taken for SCS to setup in milliseconds.
double solveTime
Time taken for SCS to solve the problem in milliseconds.
Eigen::VectorXd solution
Solution of the problem stored in MathematicalProgram.
Eigen::VectorXd completeSolution
Complete Solution of the problem solved by SCS. It contains also the slack variables.
Eigen::VectorXd dualVariable
Dual solution.
Eigen::VectorXd primalEqualitySlack
Equality slack variables.
Status status
Status of the Solution..

Enum documentation

enum class ScsEigen::Solution::Status

Status of scs solver.