English
Related papers

Related papers: Embedded Code Generation with CVXPY

200 papers

We introduce custom code generation for parametrized convex optimization problems that supports evaluating the derivative of the solution with respect to the parameters, i.e., differentiating through the optimization problem. We extend the…

Optimization and Control · Mathematics 2025-04-22 Maximilian Schaller , Stephen Boyd

CVXPY is a domain-specific language for convex optimization embedded in Python. It allows the user to express convex optimization problems in a natural syntax that follows the math, rather than in the restrictive standard form required by…

Optimization and Control · Mathematics 2016-06-02 Steven Diamond , Stephen Boyd

We consider a family of convex quadratic programs in which the coefficients of the linear objective term and the righthand side of the constraints are affine functions of a parameter. It is well known that the solution of such a…

Optimization and Control · Mathematics 2025-06-24 Maximilian Schaller , Daniel Arnström , Alberto Bemporad , Stephen Boyd

MOCVXPY is an open-source Python library for convex vector optimization. It is built on top of CVXPY, a domain-specific language for single-objective convex optimization. MOCVXPY enables practitioners to describe their convex vector…

Optimization and Control · Mathematics 2025-10-27 Ludovic Salomon , Daniel Dörfler , Andreas Löhne

CVXR is an R package that provides an object-oriented modeling language for convex optimization, similar to CVX, CVXPY, YALMIP, and Convex.jl. It allows the user to formulate convex optimization problems in a natural mathematical syntax…

Computation · Statistics 2021-01-01 Anqi Fu , Balasubramanian Narasimhan , Stephen Boyd

Large language models have demonstrated impressive capabilities in generating code, yet they often produce programs with flaws or deviations from intended behavior, limiting their suitability for safety-critical applications. To address…

Software Engineering · Computer Science 2025-04-08 Merlijn Sevenhuijsen , Khashayar Etemadi , Mattias Nyberg

We describe a modular rewriting system for translating optimization problems written in a domain-specific language to forms compatible with low-level solver interfaces. Translation is facilitated by reductions, which accept a category of…

Optimization and Control · Mathematics 2019-02-28 Akshay Agrawal , Robin Verschueren , Steven Diamond , Stephen Boyd

We present a general-purpose interior-point solver for convex optimization problems with conic constraints. Our method is based on a homogeneous embedding method originally developed for general monotone complementarity problems and more…

Optimization and Control · Mathematics 2024-05-22 Paul J. Goulart , Yuwen Chen

We present Optimization Engine (OpEn): an open-source code generation tool for real-time embedded nonconvex optimization, which implements a novel numerical method. OpEn combines the proximal averaged Newton-type method for optimal control…

Optimization and Control · Mathematics 2020-03-03 Pantelis Sopasakis , Emil Fresk , Panagiotis Patrinos

In this paper we introduce disciplined convex-concave programming (DCCP), which combines the ideas of disciplined convex programming (DCP) with convex-concave programming (CCP). Convex-concave programming is an organized heuristic for…

Optimization and Control · Mathematics 2016-04-12 Xinyue Shen , Steven Diamond , Yuantao Gu , Stephen Boyd

We introduce disciplined biconvex programming (DBCP), a modeling framework for specifying and solving biconvex optimization problems. Biconvex optimization problems arise in various applications, including machine learning, signal…

Optimization and Control · Mathematics 2025-11-11 Hao Zhu , Joschka Boedecker

We show how to efficiently compute the derivative (when it exists) of the solution map of log-log convex programs (LLCPs). These are nonconvex, nonsmooth optimization problems with positive variables that become convex when the variables,…

Optimization and Control · Mathematics 2020-06-02 Akshay Agrawal , Stephen Boyd

Discrete latent factor models (DLFMs) are widely used in various domains such as machine learning, economics, neuroscience, psychology, etc. Currently, fitting a DLFM to some dataset relies on a customized solver for individual models,…

Optimization and Control · Mathematics 2025-06-27 Hao Zhu , Shengchao Yan , Jasper Hoffmann , Joschka Boedecker

Recent work has shown how to embed differentiable optimization problems (that is, problems whose solutions can be backpropagated through) as layers within deep learning architectures. This method provides a useful inductive bias for certain…

Machine Learning · Computer Science 2019-10-29 Akshay Agrawal , Brandon Amos , Shane Barratt , Stephen Boyd , Steven Diamond , Zico Kolter

SnapVX is a high-performance Python solver for convex optimization problems defined on networks. For these problems, it provides a fast and scalable solution with guaranteed global convergence. SnapVX combines the capabilities of two open…

Social and Information Networks · Computer Science 2017-02-22 David Hallac , Christopher Wong , Steven Diamond , Abhijit Sharang , Rok Sosic , Stephen Boyd , Jure Leskovec

We introduce log-log convex programs, which are optimization problems with positive variables that become convex when the variables, objective functions, and constraint functions are replaced with their logs, which we refer to as a log-log…

Optimization and Control · Mathematics 2019-03-22 Akshay Agrawal , Steven Diamond , Stephen Boyd

Constrained optimization problems arise frequently in classical machine learning. There exist frameworks addressing constrained optimization, for instance, CVXPY and GENO. However, in contrast to deep learning frameworks, GPU support is…

Machine Learning · Computer Science 2022-03-31 Sören Laue , Mark Blacher , Joachim Giesen

Imposing explicit constraints is relatively new but increasingly pressing in deep learning, stimulated by, e.g., trustworthy AI that performs robust optimization over complicated perturbation sets and scientific applications that need to…

Machine Learning · Computer Science 2022-11-15 Buyun Liang , Tim Mitchell , Ju Sun

We propose a new architecture for optimization modeling frameworks in which solvers are expressed as computation graphs in a framework like TensorFlow rather than as standalone programs built on a low-level linear algebra interface. Our new…

Optimization and Control · Mathematics 2016-10-12 Matt Wytock , Steven Diamond , Felix Heide , Stephen Boyd

We present a composition rule involving quasiconvex functions that generalizes the classical composition rule for convex functions. This rule complements well-known rules for the curvature of quasiconvex functions under increasing functions…

Optimization and Control · Mathematics 2020-03-02 Akshay Agrawal , Stephen Boyd
‹ Prev 1 2 3 10 Next ›