daqp 0.11.2Latest published 3d ago
MODULE.bazel
bazel_dep(name = "daqp", version = "0.11.2")
README

DAQP

License: MIT

DAQP is a dual active-set solver that solves convex quadratic programs of the form

minimize        0.5 x' H x + f' x

subject to      l  <=  x  <= u
                bl <=  Ax <= bu.

Binary constraints of the form $A x \in \lbrace b_l, b_u \rbrace$ are also supported, allowing for mixed-integer quadratic programs to be solved.

The code is written in C and is library free. DAQP can be interfaced to C, Julia, MATLAB, and Python.

Quick installation

Julia

] add DAQP

MATLAB

websave('install_daqp','https://raw.githubusercontent.com/darnstrom/daqp/master/interfaces/daqp-matlab/install_daqp.m')
install_daqp

Python

pip install daqp

Details

See the Documentation for more detailed installation instructions and basic use of the interfaces.

Citing DAQP

@article{arnstrom2022dual,
  author={Arnström, Daniel and Bemporad, Alberto and Axehill, Daniel},
  journal={IEEE Transactions on Automatic Control},
  title={A Dual Active-Set Solver for Embedded Quadratic Programming Using Recursive {LDL}$^{T}$ Updates},
  year={2022},
  volume={67},
  number={8},
  pages={4362-4369},
  doi={10.1109/TAC.2022.3176430}
}

About

A dual active-set algorithm for convex quadratic programming

@darnstrom/daqp@darnstrom
Homepage
140stars
Wednesday, November 11, 2026 (3 days ago)
@nielsvd#11695 daqp@0.11.2 (#11695)

Languages

C39.2%
C++26.3%
Julia17.8%
MATLAB6.3%
Python4.3%
Cython3.9%
CMake1.5%
Shell0.8%

Maintainers

@nielsvd

Compatibility

Versions

0.11.2 +5d2026-11-11
0.11.0 +1.1mo2026-11-06
0.10.3 +2d2026-10-02
0.10.22026-09-30