Enum osqp::Status[][src]

pub enum Status<'a> {
    Solved(Solution<'a>),
    SolvedInaccurate(Solution<'a>),
    MaxIterationsReached(Solution<'a>),
    TimeLimitReached(Solution<'a>),
    PrimalInfeasible(PrimalInfeasibilityCertificate<'a>),
    PrimalInfeasibleInaccurate(PrimalInfeasibilityCertificate<'a>),
    DualInfeasible(DualInfeasibilityCertificate<'a>),
    DualInfeasibleInaccurate(DualInfeasibilityCertificate<'a>),
    // some variants omitted
}

The result of solving a problem.

Variants

Methods

impl<'a> Status<'a>
[src]

Returns the primal variables at the solution if the problem is Solved.

Returns the solution if the problem is Solved.

Returns the number of iterations taken by the solver.

Returns the time taken for the setup phase.

Returns the time taken for the solve phase.

Returns the time taken for the polish phase.

Returns the total time taken by the solver.

This includes the time taken for the setup phase on the first solve.

Returns the number of rho updates.

Returns the current best estimate of rho.

Trait Implementations

impl<'a> Clone for Status<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Status<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Status<'a>

impl<'a> Sync for Status<'a>