Structs§
- OSQP
Data - Data structure
- OSQP
Info - Solver return information
- OSQP
Polish - Polish structure
- OSQP
Scaling - Problem scaling matrices stored as vectors
- OSQP
Settings - Settings struct
- OSQP
Solution - Solution structure
- OSQP
Workspace - OSQP Workspace
- csc
- Matrix in compressed-column form. The structure is used internally to store matrices in the triplet form as well, but the API requires that the matrices are in the CSC format.
- linsys_
solver - Define linsys_solver prototype structure
Enums§
Constants§
- MKL_
PARDISO_ SOLVER - OSQP_
DATA_ VALIDATION_ ERROR - OSQP_
DUAL_ INFEASIBLE - OSQP_
DUAL_ INFEASIBLE_ INACCURATE - OSQP_
LINSYS_ SOLVER_ INIT_ ERROR - OSQP_
LINSYS_ SOLVER_ LOAD_ ERROR - OSQP_
MAX_ ITER_ REACHED - OSQP_
MEM_ ALLOC_ ERROR - OSQP_
NONCVX_ ERROR - OSQP_
NON_ CVX - OSQP_
PRIMAL_ INFEASIBLE - OSQP_
PRIMAL_ INFEASIBLE_ INACCURATE - OSQP_
SETTINGS_ VALIDATION_ ERROR - OSQP_
SIGINT - OSQP_
SOLVED - OSQP_
SOLVED_ INACCURATE - OSQP_
TIME_ LIMIT_ REACHED - OSQP_
UNSOLVED - OSQP_
WORKSPACE_ NOT_ INIT_ ERROR - QDLDL_
SOLVER - UNKNOWN_
SOLVER
Functions§
- osqp_
cleanup ⚠ - Cleanup workspace by deallocating memory
- osqp_
set_ ⚠default_ settings - Set default settings from constants.h file assumes settings already allocated in memory @param settings settings structure
- osqp_
setup ⚠ - Initialize OSQP solver allocating memory.
- osqp_
solve ⚠ - Solve quadratic program
- osqp_
update_ ⚠A - Update elements of matrix A without changing sparsity structure.
- osqp_
update_ ⚠P - Update elements of matrix P (upper triangular) without changing sparsity structure.
- osqp_
update_ ⚠P_ A - Update elements of matrix P (upper triangular) and elements of matrix A without changing sparsity structure.
- osqp_
update_ ⚠alpha - Update relaxation parameter alpha @param work Workspace @param alpha_new New relaxation parameter value @return Exitflag
- osqp_
update_ ⚠bounds - Update lower and upper bounds in the problem constraints @param work Workspace @param l_new New lower bound @param u_new New upper bound @return Exitflag: 1 if new lower bound is not <= than new upper bound
- osqp_
update_ ⚠check_ termination - Update check_termination setting @param work Workspace @param check_termination_new New check_termination setting @return Exitflag
- osqp_
update_ ⚠delta - Update regularization parameter in polish @param work Workspace @param delta_new New regularization parameter @return Exitflag
- osqp_
update_ ⚠eps_ abs - Update absolute tolernace value @param work Workspace @param eps_abs_new New absolute tolerance value @return Exitflag
- osqp_
update_ ⚠eps_ dual_ inf - Update dual infeasibility tolerance @param work Workspace @param eps_dual_inf_new New dual infeasibility tolerance @return Exitflag
- osqp_
update_ ⚠eps_ prim_ inf - Update primal infeasibility tolerance @param work Workspace @param eps_prim_inf_new New primal infeasibility tolerance @return Exitflag
- osqp_
update_ ⚠eps_ rel - Update relative tolernace value @param work Workspace @param eps_rel_new New relative tolerance value @return Exitflag
- osqp_
update_ ⚠lin_ cost - Update linear cost in the problem @param work Workspace @param q_new New linear cost @return Exitflag for errors and warnings
- osqp_
update_ ⚠lower_ bound - Update lower bound in the problem constraints @param work Workspace @param l_new New lower bound @return Exitflag: 1 if new lower bound is not <= than upper bound
- osqp_
update_ ⚠max_ iter - Update max_iter setting @param work Workspace @param max_iter_new New max_iter setting @return Exitflag
- osqp_
update_ ⚠polish - Update polish setting @param work Workspace @param polish_new New polish setting @return Exitflag
- osqp_
update_ ⚠polish_ refine_ iter - Update number of iterative refinement steps in polish @param work Workspace @param polish_refine_iter_new New iterative reginement steps @return Exitflag
- osqp_
update_ ⚠rho - Update rho. Limit it between RHO_MIN and RHO_MAX. @param work Workspace @param rho_new New rho setting @return Exitflag
- osqp_
update_ ⚠scaled_ termination - Update scaled_termination setting @param work Workspace @param scaled_termination_new New scaled_termination setting @return Exitflag
- osqp_
update_ ⚠time_ limit - Update time_limit setting @param work Workspace @param time_limit_new New time_limit setting @return Exitflag
- osqp_
update_ ⚠upper_ bound - Update upper bound in the problem constraints @param work Workspace @param u_new New upper bound @return Exitflag: 1 if new upper bound is not >= than lower bound
- osqp_
update_ ⚠verbose - Update verbose setting @param work Workspace @param verbose_new New verbose setting @return Exitflag
- osqp_
update_ ⚠warm_ start - Update warm_start setting @param work Workspace @param warm_start_new New warm_start setting @return Exitflag
- osqp_
warm_ ⚠start - Warm start primal and dual variables @param work Workspace structure @param x Primal variable @param y Dual variable @return Exitflag
- osqp_
warm_ ⚠start_ x - Warm start primal variable @param work Workspace structure @param x Primal variable @return Exitflag
- osqp_
warm_ ⚠start_ y - Warm start dual variable @param work Workspace structure @param y Dual variable @return Exitflag
Type Aliases§
- LinSys
Solver - Linear system solver structure (sublevel objects initialize it differently)
- ffi_
osqp_ solve_ status - linsys_
solver_ type - Linear System Solvers *
- osqp_
error_ type - Solver Errors *
- osqp_
float - osqp_
int