Enum osqp::Status [] [src]

pub enum Status<'a> {
    Solved(Solution<'a>),
    SolvedInaccurate(Solution<'a>),
    MaxIterationsReached(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]

[src]

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

[src]

Returns the solution if the problem is Solved.

[src]

Returns the number of iterations taken by the solver.

[src]

Returns the time taken for the setup phase.

[src]

Returns the time taken for the solve phase.

[src]

Returns the time taken for the polish phase.

[src]

Returns the total time taken by the solver.

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

[src]

Returns the number of rho updates.

[src]

Returns the current best estimate of rho.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[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>