CVXR
1.9.1Disciplined Convex Optimization
Overview
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.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1810 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-1010 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Documentation
- Examples that run
- 67%
- Documented parameters
- 97%
- Return-value docs
- 99%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/cvxgrp/cvxr on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 68 max
- Test cases
- 440 / 0.17 per code line
Test coverage
Line coverage
40%
Expression
41.4%
Tests / Examples
40.2% / 11% ex
Functions
2541 133 exported
Complexity
2.6 avg / 68 max
Call network
2541 nodes / 1493 edges
Call graph
Open call graph →Lowest coverage
2541 functions| Function | Cyclo | Coverage |
|---|---|---|
| %<<% exp | 1 | 0% |
| as_cvxr_expr exp | 1 | 0% |
| available_solvers exp | 1 | 0% |
| backward exp | 11 | 0% |
| ceil_expr exp | 1 | 0% |
| condition_number exp | 1 | 0% |
Datasets
People & History
22 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.9.1Latest
- RR 4.6.0 released · 2026-04-24
- 1.8.22026-04-04 · diff ↗
- 1.8.12026-03-06 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.0-152024-11-07 · diff ↗
- 1.0-142024-06-27 · diff ↗
- 1.0-132024-06-01 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.0-122024-02-02 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0-112022-10-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0-102021-11-10 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0-92021-01-19 · diff ↗
Show 16 earlier events
- 1.0-82020-09-13 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0-12020-04-02 · diff ↗
- 1.02020-02-02 · diff ↗
- 0.99-72019-11-07 · diff ↗
- 0.99-62019-06-02 · diff ↗
- 0.99-52019-05-13 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.99-42019-03-13 · diff ↗
- 0.99-32019-02-20 · diff ↗
- 0.99-22018-11-06 · diff ↗
- 0.992018-05-26 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.952018-02-20 · diff ↗
- 0.94-42017-11-20
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-11-20
- Total releases
- 22 / 9 yrs
- License
- Apache License 2.0 | file LICENSE OSI
- Additional repositories
- bnaras.r-universe.dev, bnaras.github.io
- Minimum R
- ≥ 4.3.0
- Bundled data
- 16 KB / 3 files
- Download size
- 460 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet