[][src]Struct osqp_sys::OSQPInfo

#[repr(C)]pub struct OSQPInfo {
    pub iter: osqp_int,
    pub status: [c_char; 32],
    pub status_val: osqp_int,
    pub status_polish: osqp_int,
    pub obj_val: osqp_float,
    pub pri_res: osqp_float,
    pub dua_res: osqp_float,
    pub setup_time: osqp_float,
    pub solve_time: osqp_float,
    pub update_time: osqp_float,
    pub polish_time: osqp_float,
    pub run_time: osqp_float,
    pub rho_updates: osqp_int,
    pub rho_estimate: osqp_float,
}

Solver return information

Fields

iter: osqp_int

< number of iterations taken

status: [c_char; 32]

< status string, e.g. 'solved'

status_val: osqp_int

< status as c_int, defined in constants.h

status_polish: osqp_int

< polish status: successful (1), unperformed (0), (-1) unsuccessful

obj_val: osqp_float

< primal objective

pri_res: osqp_float

< norm of primal residual

dua_res: osqp_float

< norm of dual residual

setup_time: osqp_float

< time taken for setup phase (seconds)

solve_time: osqp_float

< time taken for solve phase (seconds)

update_time: osqp_float

< time taken for update phase (seconds)

polish_time: osqp_float

< time taken for polish phase (seconds)

run_time: osqp_float

< total time (seconds)

rho_updates: osqp_int

< number of rho updates

rho_estimate: osqp_float

< best rho estimate so far from residuals

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.