Article ID: | iaor2012274 |
Volume: | 13 |
Issue: | 1 |
Start Page Number: | 1 |
End Page Number: | 27 |
Publication Date: | Mar 2012 |
Journal: | Optimization and Engineering |
Authors: | Boyd Stephen, Mattingley Jacob |
Keywords: | packaged software |
CVXGEN is a software tool that takes a high level description of a convex optimization problem family, and automatically generates custom C code that compiles into a reliable, high speed solver for the problem family. The current implementation targets problem families that can be transformed, using disciplined convex programming techniques, to convex quadratic programs of modest size. CVXGEN generates simple, flat, library‐free code suitable for embedding in real‐time applications. The generated code is almost branch free, and so has highly predictable run‐time behavior. The combination of regularization (both static and dynamic) and iterative refinement in the search direction computation yields reliable performance, even with poor quality data. In this paper we describe how CVXGEN is implemented, and give some results on the speed and reliability of the automatically generated solvers.