Skip to content
@osqp

OSQP

An organization for the OSQP solver and related repositories

OSQP - The Operator Splitting QP Solver

GitHub release version License

PyPI - downloads Conda - downloads Julia - downloads

OSQP is an optimization solver for Quadratic Programs (QPs) that uses the Alternating Direction Method of Multipliers (ADMM). It is written in pure C, is Apache-2.0 licensed, and can be compiled into a library-free embedded solver for control and robotics applications. Interfaces to high-level languages like Python, Julia, Matlab and R are also available, and OSQP can be used from modelling languages such as CVXPY, JuMP, and YALMIP.

Visit the documentation to learn how to use OSQP.

Visit our GitHub Discussions page for any questions related to the solver!

If you use OSQP in an academic work, please cite the relevant papers.

For more information, please see the OSQP website.

Installing

C

The OSQP C code can be found in the main OSQP repository, and build instructions can be found in the documentation.

Python

OSQP is available through PyPI by doing:

pip install osqp

OSQP is also available from Conda forge by doing:

conda install -c conda-forge osqp

Julia

OSQP is available in the general registry by running:

pkg> add OSQP

R

OSQP is available in CRAN by running:

install.packages("osqp")

Pinned Loading

  1. osqp osqp Public

    The Operator Splitting QP Solver

    C 1.7k 358

  2. qdldl qdldl Public

    A free LDL factorisation routine

    C 79 40

  3. OSQP.jl OSQP.jl Public

    Julia interface for OSQP: The Operator Splitting QP Solver

    Julia 69 25

  4. osqp-python osqp-python Public

    Python interface for OSQP

    Python 111 41

  5. osqpth osqpth Public

    The differentiable OSQP solver layer for PyTorch

    Python 59 5

  6. osqp-matlab osqp-matlab Public

    Matlab interface for OSQP

    MATLAB 43 25

Repositories

Showing 10 of 24 repositories
  • osqp-python Public

    Python interface for OSQP

    osqp/osqp-python’s past year of commit activity
    Python 111 Apache-2.0 41 26 6 Updated Nov 25, 2024
  • osqp Public

    The Operator Splitting QP Solver

    osqp/osqp’s past year of commit activity
    C 1,721 Apache-2.0 358 89 10 Updated Nov 11, 2024
  • osqp_benchmarks Public

    QP Benchmarks for the OSQP Solver against GUROBI, MOSEK, ECOS and qpOASES

    osqp/osqp_benchmarks’s past year of commit activity
    Python 94 Apache-2.0 21 1 1 Updated Oct 22, 2024
  • qdldl-python Public

    Python interface to the QDLDL(https://github.com/osqp/qdldl) free LDL factorization routine for quasi-definite linear systems

    osqp/qdldl-python’s past year of commit activity
    C 12 Apache-2.0 20 5 3 Updated Sep 23, 2024
  • qdldl Public

    A free LDL factorisation routine

    osqp/qdldl’s past year of commit activity
    C 79 Apache-2.0 40 2 2 Updated Aug 2, 2024
  • OSQP.jl Public

    Julia interface for OSQP: The Operator Splitting QP Solver

    osqp/OSQP.jl’s past year of commit activity
    Julia 69 25 16 1 Updated Jun 14, 2024
  • osqp-r Public

    R interface for OSQP

    osqp/osqp-r’s past year of commit activity
    R 12 Apache-2.0 7 5 0 Updated Jun 8, 2024
  • osqp-matlab Public

    Matlab interface for OSQP

    osqp/osqp-matlab’s past year of commit activity
    MATLAB 43 Apache-2.0 25 15 3 Updated Apr 4, 2024
  • osqp/OSQP_CUDA_jll.jl’s past year of commit activity
    Julia 0 0 0 0 Updated Dec 28, 2023
  • osqp/OSQP_jll.jl’s past year of commit activity
    Julia 0 0 0 0 Updated Dec 28, 2023

Most used topics

Loading…