Struct osqp_sys::OSQPData [] [src]

#[repr(C)]
pub struct OSQPData { pub n: osqp_int, pub m: osqp_int, pub P: *mut csc, pub A: *mut csc, pub q: *mut osqp_float, pub l: *mut osqp_float, pub u: *mut osqp_float, }

Data structure

Fields

< number of variables n

< number of constraints m

< quadratic part of the cost P in csc format (size n x n). It

< linear constraints matrix A in csc format (size m x n)

< dense array for linear part of cost function (size n)

< dense array for lower bound (size m)

< dense array for upper bound (size m)

Trait Implementations

Auto Trait Implementations

impl !Send for OSQPData

impl !Sync for OSQPData