CVXR
Disciplined Convex Optimization
Description
An object-oriented modeling language for disciplined convex programming (DCP) as described in Fu, Narasimhan, and Boyd (2020, <doi:10.18637/jss.v094.i14>). It allows the user to formulate convex optimization problems in a natural way following mathematical convention and DCP rules. The system analyzes the problem, verifies its convexity, converts it into a canonical form, and hands it off to an appropriate solver to obtain the solution. This version uses the S7 object system for improved performance and maintainability.
Downloads
13.6K
Last 30 days
1028th
66.8K
Last 90 days
201.8K
Last year
Trend: -15% (30d vs prior 30d)
294
Last 30 days
1.1K
Last 90 days
2.4K
Last year
Trend: -31.9% (30d vs prior 30d)
2
Last 7 days
13
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'scip', 'xpress'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'xpress'
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/CVXR.Rcheck/00install.out' for details.
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'scip', 'xpress'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'xpress'
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 11, 2026
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
examples
Running examples in ‘CVXR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: conv
> ### Title: Discrete Convolution
> ### Aliases: conv
>
> ### ** Examples
>
> set.seed(129)
> x <-
...[truncated]...
()` is deprecated for <OSQP_Model> objects.
ℹ Use `model@Solve()` instead.
Error in status_map(object, solution$info$status_val) :
OSQP status unrecognized: 5
Calls: solve ... invert -> invert -> invert -> status_map -> status_map
Execution halted
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'
package dependencies
Packages which this enhances but not available for checking: 'Rcplex', 'gurobi', 'rcbc'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex'