Module: OSQP::FFI

Extended by:
Fiddle::Importer
Defined in:
lib/osqp/ffi.rb

Constant Summary collapse

OSQP_INFTY =
1e30
Data =
struct [
  "c_int n",
  "c_int m",
  "csc *p",
  "csc *a",
  "c_float *q",
  "c_float *l",
  "c_float *u"
]
Settings =
struct [
  "c_float rho",
  "c_float sigma",
  "c_int scaling",
  "c_int adaptive_rho",
  "c_int adaptive_rho_interval",
  "c_float adaptive_rho_tolerance",
  "c_float adaptive_rho_fraction",
  "c_int max_iter",
  "c_float eps_abs",
  "c_float eps_rel",
  "c_float eps_prim_inf",
  "c_float eps_dual_inf",
  "c_float alpha",
  "enum linsys_solver_type linsys_solver",
  "c_float delta",
  "c_int polish",
  "c_int polish_refine_iter",
  "c_int verbose",
  "c_int scaled_termination",
  "c_int check_termination",
  "c_int warm_start",
  "c_float time_limit"
]
Info =
struct [
  "c_int iter",
  "char status[32]",
  "c_int status_val",
  "c_int status_polish",
  "c_float obj_val",
  "c_float pri_res",
  "c_float dua_res",
  "c_float setup_time",
  "c_float solve_time",
  "c_float update_time",
  "c_float polish_time",
  "c_float run_time",
  "c_int   rho_updates",
  "c_float rho_estimate"
]
Solution =
struct [
  "c_float *x",
  "c_float *y"
]
Workspace =
struct [
  "OSQPData *data",
  "LinSysSolver *linsys_solver",
  "OSQPPolish *pol",
  "c_float *rho_vec",
  "c_float *rho_inv_vec",
  "c_int *constr_type",
  "c_float *x",
  "c_float *y",
  "c_float *z",
  "c_float *xz_tilde",
  "c_float *x_prev",
  "c_float *z_prev",
  "c_float *Ax",
  "c_float *Px",
  "c_float *Aty",
  "c_float *delta_y",
  "c_float *Atdelta_y",
  "c_float *delta_x",
  "c_float *Pdelta_x",
  "c_float *Adelta_x",
  "c_float *D_temp",
  "c_float *D_temp_A",
  "c_float *E_temp",
  "OSQPSettings *settings",
  "OSQPScaling  *scaling",
  "OSQPSolution *solution",
  "OSQPInfo *info",
  "OSQPTimer *timer",
  "c_int first_run",
  "c_int clear_update_time",
  "c_int rho_update_from_solve",
  "c_int summary_printed"
]