OSQP: an operator splitting solver for quadratic programs
Open accessThe DOI matches its Crossref record; 87 of the 87 references it cites were found in a registry or an index.
Abstract
We present a general-purpose solver for convex quadratic programs based on the alternating direction method of multipliers, employing a novel operator splitting technique that requires the solution of a quasi-definite linear system with the same coefficient matrix at almost every iteration. Our algorithm is very robust, placing no requirements on the problem data such as positive definiteness of the objective function or linear independence of the constraint functions. It can be configured to be division-free once an initial matrix factorization is carried out, making it suitable for real-time applications in embedded systems. In addition, our technique is the first operator splitting method for quadratic programs able to reliably detect primal and dual infeasible problems from the algorithm iterates. The method also supports factorization caching and warm starting, making it particularly efficient when solving parametrized problems arising in finance, control, and machine learning. Our open-source C implementation OSQP has a small footprint, is library-free, and has been extensively tested on many problem instances from a wide variety of application areas. It is typically ten times faster than competing interior-point methods, and sometimes much more when factorization caching or warm start is used. OSQP has already shown a large impact with tens of thousands of users both in academia and in large corporations.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Cortes, C., & Vapnik, V. (1995) · Machine Learning · doi:10.1007/bf00994018 · Cited by 59,421
Boyd, S., & Vandenberghe, L. (2004) · doi:10.1017/cbo9780511804441 · Cited by 56,601
Self-citationRegression shrinkage and selection via the lasso
Tibshirani, R. (1996) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1996.tb02080.x · Cited by 51,482
Golub, G. (2012) · doi:10.56021/9781421407944 · Cited by 34,505
Linear Matrix Inequalities in System and Control Theory
Boyd, S., El Ghaoui, L., Feron, E., & Balakrishnan, V. (1994) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970777 · Cited by 21,687
Self-citationBoyd, S., Parikh, N., Chu, E., Peleato, B., & Eckstein, J. (2011) · Foundations and Trends® in Machine Learning · doi:10.1561/2200000016 · Cited by 17,075
Self-citation(2021) · A First Course in Statistical Programming with R · doi:10.1017/9781108993456.011 · Cited by 13,724
Boyd, S. (2010) · now publishers, Inc. eBooks · doi:10.1561/9781601984616 · Cited by 12,677
Self-citationYALMIP : a toolbox for modeling and optimization in MATLAB
Lofberg, J. (2005) · 2004 IEEE International Conference on Robotics and Automation (IEEE Cat. No.04CH37508) · doi:10.1109/cacsd.2004.1393890 · Cited by 9,149
Domain-Adversarial Training of Neural Networks
Ganin, Y., Ustinova, E., Ajakan, H., Germain, P., Larochelle, H., Laviolette, F., Marchand, M., & Lempitsky, V. (2017) · Advances in Computer Vision and Pattern Recognition · doi:10.1007/978-3-319-58347-1_10 · Cited by 8,318
Robust estimation of a location parameter
Huber, P. J. (1964) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177703732 · Cited by 7,228
Huber, P. J. (1981) · Wiley Series in Probability and Statistics · doi:10.1002/0471725250 · Cited by 7,066
Golub, G. H., & Loan, C. F. V. (1996) · Johns Hopkins University Press eBooks · Cited by 6,027
Linear Programming and Extensions
Dantzig, G. (1963) · RAND Corporation eBooks · doi:10.7249/r366 · Cited by 5,755
Model predictive control: Theory and practice—A survey
García, C. E., Prett, D. M., & Morari, M. (1989) · Automatica · doi:10.1016/0005-1098(89)90002-2 · Cited by 5,284
Enhancing Sparsity by Reweighted ℓ 1 Minimization
Candès, E. J., Wakin, M. B., & Boyd, S. P. (2008) · Journal of Fourier Analysis and Applications · doi:10.1007/s00041-008-9045-x · Cited by 4,863
Self-citationA new polynomial-time algorithm for linear programming
Karmarkar, N. (1984) · Combinatorica · doi:10.1007/bf02579150 · Cited by 4,794
Benchmarking optimization software with performance profiles
Dolan, E. D., & Moré, J. J. (2002) · Mathematical Programming · doi:10.1007/s101070100263 · Cited by 4,412
Interior-Point Polynomial Algorithms in Convex Programming
Nesterov, Y., & Nemirovskii, A. (1994) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970791 · Cited by 4,334
The university of Florida sparse matrix collection
Davis, T. A., & Hu, Y. (2011) · ACM Transactions on Mathematical Software · doi:10.1145/2049662.2049663 · Cited by 3,630
Convex Analysis and Monotone Operator Theory in Hilbert Spaces
Bauschke, H. H., & Combettes, P. L. (2017) · CMS Books in Mathematics · doi:10.1007/978-3-319-48311-5 · Cited by 3,307
An algorithm for quadratic programming
Frank, M., & Wolfe, P. (1956) · Naval Research Logistics Quarterly · doi:10.1002/nav.3800030109 · Cited by 3,030
Convex Analysis and Monotone Operator Theory in Hilbert Spaces
Bauschke, H. H., & Combettes, P. L. (2011) · CMS Books in Mathematics · doi:10.1007/978-1-4419-9467-7 · Cited by 2,962
Linear Programming and Extensions
Dantzig, G. (1963) · Princeton University Press eBooks · doi:10.1515/9781400884179 · Cited by 2,713
A dual algorithm for the solution of nonlinear variational problems via finite element approximation
Gabay, D., & Mercier, B. (1976) · Computers & Mathematics with Applications · doi:10.1016/0898-1221(76)90003-1 · Cited by 2,514
Primal-Dual Interior-Point Methods
Wright, S. J. (1997) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611971453 · Cited by 2,391
Splitting Algorithms for the Sum of Two Nonlinear Operators
Lions, P. L., & Mercier, B. (1979) · SIAM Journal on Numerical Analysis · doi:10.1137/0716071 · Cited by 1,972
Iterative methods for linear and nonlinear equations
(1996) · Choice Reviews Online · doi:10.5860/choice.33-4556 · Cited by 1,947
On the numerical solution of heat conduction problems in two and three space variables
Douglas, J., & Rachford, H. H. (1956) · Transactions of the American Mathematical Society · doi:10.1090/s0002-9947-1956-0084194-4 · Cited by 1,744
On Projection Algorithms for Solving Convex Feasibility Problems
Bauschke, H. H., & Borwein, J. M. (1996) · SIAM Review · doi:10.1137/s0036144593251710 · Cited by 1,654
Iterative Methods for Linear and Nonlinear Equations
Kelley, C. T. (1995) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970944 · Cited by 1,635
On the Implementation of a Primal-Dual Interior Point Method
Mehrotra, S. (1992) · SIAM Journal on Optimization · doi:10.1137/0802028 · Cited by 1,613
Direct Methods for Sparse Matrices
Duff, I. S., Erisman, A. M., & Reid, J. K. (2017) · doi:10.1093/acprof:oso/9780198508380.001.0001 · Cited by 1,604
Direct Methods for Sparse Linear Systems
Davis, T. A. (2006) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9780898718881 · Cited by 1,443
Predictive Control for Linear and Hybrid Systems
Borrelli, F., Bemporad, A., & Morari, M. (2017) · Cambridge University Press eBooks · doi:10.1017/9781139061759 · Cited by 1,443
Self-citationJuMP: A MODELING LANGUAGE FOR MATHEMATICAL OPTIMIZATION
Dunning, I., Huchette, J., & Lubin, M. (2016) · Cited by 1,348
Rounding errors in algebraic processes
(1964) · Journal of the Franklin Institute · doi:10.1016/0016-0032(64)90390-4 · Cited by 1,315
qpOASES: a parametric active-set algorithm for quadratic programming
Ferreau, H. J., Kirches, C., Potschka, A., Bock, H. G., & Diehl, M. (2014) · Mathematical Programming Computation · doi:10.1007/s12532-014-0071-1 · Cited by 1,265
JuMP: A Modeling Language for Mathematical Optimization
Dunning, I., Huchette, J., & Lubin, M. (2017) · SIAM Review · doi:10.1137/15m1020575 · Cited by 1,250
Preconditioning Techniques for Large Linear Systems: A Survey
Benzi, M. (2002) · Journal of Computational Physics · doi:10.1006/jcph.2002.7176 · Cited by 1,221
Numerical Optimization (Springer Series in Operations Research and Financial Engineering)
Nocedal, J. M., & Wright, S. J. (2000) · Cited by 1,188
Glowinski, R., & Marroco, A. (1975) · Revue française d'automatique, informatique, recherche opérationnelle. Analyse numérique · doi:10.1051/m2an/197509r200411 · Cited by 1,105
Mathematical Methods of Organizing and Planning Production
Kantorovich, L. V. (1960) · Management Science · doi:10.1287/mnsc.6.4.366 · Cited by 1,082
HOW GOOD IS THE SIMPLEX ALGORITHM
Klee, V. L., & Minty, G. J. (1970) · Cited by 1,076
Iterative Methods for Solving Linear Systems
(2006) · Texts in Applied Mathematics · doi:10.1007/0-387-22750-4_4 · Cited by 1,014
Iterative Methods for Solving Linear Systems
Greenbaum, A. (1997) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970937 · Cited by 958
Concerning nonnegative matrices and doubly stochastic matrices
Sinkhorn, R., & Knopp, P. (1967) · Pacific Journal of Mathematics · doi:10.2140/pjm.1967.21.343 · Cited by 887
CVXGEN: a code generator for embedded convex optimization
Mattingley, J., & Boyd, S. (2012) · Optimization and Engineering · doi:10.1007/s11081-011-9176-9 · Cited by 790
Self-citationECOS: An SOCP solver for embedded systems
Domahidi, A., Chu, E., & Boyd, S. (2013) · 2013 European Control Conference (ECC) · doi:10.23919/ecc.2013.6669541 · Cited by 727
Self-citationMixed-integer nonlinear optimization
Belotti, P., Kirches, C., Leyffer, S., Linderoth, J., Luedtke, J., & Mahajan, A. (2013) · Acta Numerica · doi:10.1017/s0962492913000032 · Cited by 712
A rewriting system for convex optimization problems
Agrawal, A., Verschueren, R., Diamond, S., & Boyd, S. (2018) · Journal of Control and Decision · doi:10.1080/23307706.2017.1397554 · Cited by 669
Self-citationConic Optimization via Operator Splitting and Homogeneous Self-Dual Embedding
O’Donoghue, B., Chu, E., Parikh, N., & Boyd, S. (2016) · Journal of Optimization Theory and Applications · doi:10.1007/s10957-016-0892-3 · Cited by 664
Self-citationDirect Methods for Sparse Matrices.
Turner, K., Duff, I. S., Erisman, A. M., & Reid, J. K. (1989) · Mathematics of Computation · doi:10.2307/2008670 · Cited by 604
Efficient Numerical Methods for Nonlinear MPC and Moving Horizon Estimation
Diehl, M., Ferreau, H. J., & Haverbeke, N. (2009) · Lecture Notes in Control and Information Sciences · doi:10.1007/978-3-642-01094-1_32 · Cited by 539
Wang, E., Zhang, Q., Shen, B., Zhang, G., Lu, X., Wu, Q., & Wang, Y. (2014) · High-Performance Computing on the Intel® Xeon Phi™ · doi:10.1007/978-3-319-06486-4_7 · Cited by 506
The Simplex Method for Quadratic Programming
Wolfe, P. (1960) · Econometrica · doi:10.2307/1905320 · Cited by 503
Nonlinear Predictive Control and Moving Horizon Estimation — An Introductory Overview
Allgöwer, F., Badgwell, T. A., Qin, J. S., Rawlings, J. B., & Wright, S. J. (1999) · Advances in Control · doi:10.1007/978-1-4471-0853-5_19 · Cited by 474
He, B. S., Yang, H., & Wang, S. L. (2000) · Journal of Optimization Theory and Applications · doi:10.1023/a:1004603514434 · Cited by 465
CVXPY: A Python-Embedded Modeling Language for Convex Optimization
Diamond, S., & Boyd, S. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1603.00943 · Cited by 462
Self-citationGill, P. E., Murray, W., Saunders, M. A., et al. (1986) · Mathematical Programming · doi:10.1007/bf02592025 · Cited by 446
Ghadimi, E., Teixeira, A., Shames, I., & Johansson, M. (2015) · IEEE Transactions on Automatic Control · doi:10.1109/tac.2014.2354892 · Cited by 437
Chapter IX Applications of the Method of Multipliers to Variational Inequalities
Gabay, D. (1983) · Studies in mathematics and its applications · doi:10.1016/s0168-2024(08)70034-1 · Cited by 422
Diagonal preconditioning for first order primal-dual algorithms in convex optimization
Pock, T., & Chambolle, A. (2011) · 2011 International Conference on Computer Vision · doi:10.1109/iccv.2011.6126441 · Cited by 393
Optimization Methods in Finance
Cornuejols, G., & Tütüncü, R. (2006) · Cambridge University Press eBooks · doi:10.1017/cbo9780511753886 · Cited by 347
Algorithm 837: AMD, an approximate minimum degree ordering algorithm
Amestoy, P. R., Davis, T. A., & Duff, I. S. (2004) · ACM Transactions on Mathematical Software · doi:10.1145/1024074.1024081 · Cited by 311
Real-Time Convex Optimization in Signal Processing
Mattingley, J., & Boyd, S. (2010) · IEEE Signal Processing Magazine · doi:10.1109/msp.2010.936020 · Cited by 300
Self-citationEmbedded Online Optimization for Model Predictive Control at Megahertz Rates
Jerez, J. L., Goulart, P. J., Richter, S., Constantinides, G. A., Kerrigan, E. C., & Morari, M. (2014) · IEEE Transactions on Automatic Control · doi:10.1109/tac.2014.2351991 · Cited by 256
Self-citationObject-oriented software for quadratic programming
Gertz, E. M., & Wright, S. J. (2003) · ACM Transactions on Mathematical Software · doi:10.1145/641876.641880 · Cited by 253
Interactive Supercomputing on 40,000 Cores for Machine Learning and Data Analysis
Reuther, A., Kepner, J., Byun, C., Samsi, S., Arcand, W., Bestor, D., Bergeron, B., Gadepally, V., Houle, M., Hubbell, M., et al. (2018) · 2018 IEEE High Performance extreme Computing Conference (HPEC) · doi:10.1109/hpec.2018.8547629 · Cited by 245
Multi-Period Trading via Convex Optimization
Boyd, S., Diamond, S., Koh, K., Nystrup, P., Busseti, E., Kahn, R. N., & Speth, J. (2017) · now publishers, Inc. eBooks · doi:10.1561/2400000023 · Cited by 226
Self-citationLinear Convergence and Metric Selection for Douglas-Rachford Splitting and ADMM
Giselsson, P., & Boyd, S. (2017) · IEEE Transactions on Automatic Control · doi:10.1109/tac.2016.2564160 · Cited by 225
Self-citationSymmetric Quasidefinite Matrices
Vanderbei, R. J. (1995) · SIAM Journal on Optimization · doi:10.1137/0805005 · Cited by 202
Robust linear and support vector regression
Mangasarian, O. L., & Musicant, D. R. (2000) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/34.877518 · Cited by 186
A Splitting Method for Optimal Control
O'Donoghue, B., Stathopoulos, G., & Boyd, S. (2013) · IEEE Transactions on Control Systems Technology · doi:10.1109/tcst.2012.2231960 · Cited by 172
Self-citationParallel alternating direction multiplier decomposition of convex programs
Eckstein, J. (1994) · Journal of Optimization Theory and Applications · doi:10.1007/bf02196592 · Cited by 152
Algorithm 849: A concise sparse Cholesky factorization package
Davis, T. A. (2005) · ACM Transactions on Mathematical Software · doi:10.1145/1114268.1114277 · Cited by 137
A Scaling Algorithm to Equilibrate Both Rows and Columns Norms in Matrices 1
Ruiz, D. (2001) · CERN Document Server (European Organization for Nuclear Research) · Cited by 118
Eckstein, J., & Ferris, M. C. (1998) · INFORMS journal on computing · doi:10.1287/ijoc.10.2.218 · Cited by 89
Performance Bounds and Suboptimal Policies for Multi-Period Investment
Boyd, S., O’Donoghue, B., Mueller, M. T., & Wang, Y. (2014) · Foundations and Trends® in Optimization · doi:10.1561/2400000001 · Cited by 83
Self-citationEmbedded code generation using the OSQP solver
Banjac, G., Stellato, B., Moehle, N., Goulart, P. J., Bemporad, A., & Boyd, S. (2017) · IEEE Conference on Decision and Control (CDC) · doi:10.1109/cdc.2017.8263928 · Cited by 68
Self-citationOperator Splitting Methods in Control
Stathopoulos, G., Shukla, H., Szűcs, A., Pu, Y., & Jones, C. N. (2016) · Foundations and Trends® in Systems and Control · doi:10.1561/2600000008 · Cited by 67
Metric selection in fast dual forward–backward splitting
Giselsson, P., & Boyd, S. (2015) · Automatica · doi:10.1016/j.automatica.2015.09.010 · Cited by 66
Self-citationInfeasibility Detection in the Alternating Direction Method of Multipliers for Convex Optimization
Banjac, G., Goulart, P. J., Stellato, B., & Boyd, S. (2019) · Journal of Optimization Theory and Applications · doi:10.1007/s10957-019-01575-y · Cited by 62
Self-citationParameter Selection and Preconditioning for a Graph Form Solver
Fougner, C., & Boyd, S. (2018) · Lecture notes in control and information sciences - proceedings · doi:10.1007/978-3-319-67068-3_4 · Cited by 53
Self-citationADMM for Convex Quadratic Programs: Linear Convergence and Infeasibility DetectionPreprint
Raghunathan, A. U., & Cairano, S. D. (2015) · arXiv (Cornell University) · Cited by 22
Tight Global Linear Convergence Rate Bounds for Operator Splitting Methods
Banjac, G., & Goulart, P. J. (2018) · IEEE Transactions on Automatic Control · doi:10.1109/tac.2018.2808442 · Cited by 19
Self-citationStochastic Matrix-Free Equilibration
Diamond, S., & Boyd, S. (2016) · Journal of Optimization Theory and Applications · doi:10.1007/s10957-016-0990-2 · Cited by 14
Self-citation
Cited by
acados—a modular open-source framework for fast embedded optimal control
Verschueren, R., Frison, G., Kouzoupis, D., Frey, J., Duijkeren, N. V., Zanelli, A., Novoselnik, B., Albin, T., Quirynen, R., & Diehl, M. (2022) · Mathematical Programming Computation · doi:10.1007/s12532-021-00208-8 · Cited by 485
Geometrically Constrained Trajectory Optimization for Multicopters
Wang, Z., Zhou, X., Xu, C., & Gao, F. (2022) · IEEE Transactions on Robotics · doi:10.1109/tro.2022.3160022 · Cited by 434
Optimization-Based Control for Dynamic Legged Robots
Wensing, P. M., Posa, M., Hu, Y., Escande, A., Mansard, N., & Prete, A. D. (2024) · IEEE Transactions on Robotics · doi:10.1109/tro.2023.3324580 · Cited by 204
“An advantage of this approach is that it relies on mature off-the-shelf solvers, which are often free (e.g., [193] and [194]).”
BackgroundDetective-Dee: A Non-Intrusive In Situ Anomaly Detection and Fault Localization Framework
Man, Y., Li, S., Xia, W., Li, Y., Yu, B., Long, Y., & Pan, Y. (2023) · 2023 42nd International Symposium on Reliable Distributed Systems (SRDS) · doi:10.1109/srds60354.2023.00032 · Cited by 5
“Detective-Dee reimplements the detector in C++ using Eigen [6] as a matrix manipulation library and OSQP [28] as a convex optimization algorithm.”
Method
Metadata
- Authors
- Stellato, B., Banjac, G., Goulart, P., Bemporad, A., & Boyd, S.
- Venue
- Mathematical Programming Computation
- Published
- 2020-02-20
- Volume
- 12
- Issue
- 4
- Pages
- 637-672
- ISSN
- 1867-2949 (ISSN-L)
- 1867-2957
- OpenAlex
- W2769646558
- Cited by
- 1,213
- References
- 87
- FWCI
- 117.86
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.