cvxpy/cvxpy
A Python-embedded modeling language for convex optimization problems. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28.5
- age_days: 4811
- days_rel: 25
- days_push: 8
- n_releases_24m: 21
Adoption not part of the score
6309 stars · 1204 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CVXPY is a Python-embedded modeling language for expressing and solving convex optimization problems in natural mathematical syntax. It canonicalizes problems and dispatches them to backend solvers such as Clarabel, SCS, OSQP, and HiGHS.
Use cases
- solve convex optimization problems in python
- model least-squares with constraints
- formulate mixed-integer convex programs
- express geometric programs in python
- solve parametric optimization problems efficiently
- compute lagrange dual values for constraints
- model portfolio or control optimization problems
When to choose
- you want to write optimization problems following the math rather than solver standard forms
- you need disciplined convex programming with automatic problem verification (DCP)
- you want solver-agnostic modeling that can swap between open-source and commercial solvers
- you need parametrized problems for fast re-solving with changing data
When to avoid
- your problem is nonconvex and outside DNLP's supported smooth nonlinear class
- you need raw solver performance without modeling overhead
- you are not working in Python
Facets
library · maturity stable
math sdk developer-tools mathematics data-science performance python windows cross-platform convex-optimization modeling-language optimization-solvers dcp mixed-integer-programming geometric-programming scientific-computing algorithms linux macos
6 sources
- readme: https://github.com/cvxpy/cvxpy · fetched 2026-08-28 · afe1e36c31c4
- homepage: https://www.cvxpy.org · fetched 2026-08-29 · 96b2b89050a3
- site_page: https://www.cvxpy.org/install/index.html · fetched 2026-08-29 · 6bf79d569f9f
- site_page: https://www.cvxpy.org/api_reference/cvxpy.html · fetched 2026-08-29 · 8cfea53586e5
- site_page: https://www.cvxpy.org/updates/index.html · fetched 2026-08-29 · 8d373b5123b6
- site_page: https://www.cvxpy.org/faq/index.html · fetched 2026-08-29 · b5d0ce7df327
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cvxpy/cvxpy | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem