CVXR: An R Package for Disciplined Convex Optimization

Anqi Fu, Balasubramanian Narasimhan, Stephen Boyd
11/21/2017
stat.CO

Official code: cvxgrp/CVXR (219 stars, R, last commit 2026-10-19).

Abstract

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 rather than the restrictive form required by most solvers.

Show full abstract

The user specifies an objective and set of constraints by combining constants, variables, and parameters using a library of functions with known mathematical properties. CVXR then applies signed disciplined convex programming (DCP) to verify the problem's convexity. Once verified, the problem is converted into standard conic form using graph implementations and passed to a cone solver such as ECOS or SCS. We demonstrate CVXR's modeling framework with several applications.

View on arXivView PDF

Code Implementations(1)

cvxgrp/CVXROfficial100%

An R modeling language for convex optimization problems.

21932R, C++Oct 10, 20151 months agoNOASSERTION

Similar Papers

Cite this paper

@article{fu2017cvxr,
  title  = {CVXR: An R Package for Disciplined Convex Optimization},
  author = {Anqi Fu and Balasubramanian Narasimhan and Stephen Boyd},
  year   = {2017},
  eprint = {1711.07582},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.07582}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.07582.svg)](https://codeofpaper.com/paper/1711.07582)

Discussion