cvxpy-base
A domain-specific language for modeling convex optimization problems in Python.
Decision gist · record as of 2026-08-14
Yes, if you are using CVXPY for convex optimization work. cvxpy-base is a required component of CVXPY's solver stack. It is actively maintained, has no known vulnerabilities, supports current Python versions, and carries a permissive Apache-2.0 license. Install friction is moderate due to compiled wheels, but pre-built binaries for major platforms minimize build complexity.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.11.
- Runtime dependencies numpy, scipy, qdldl, and sparsediffpy must be installed; typically handled automatically by pip.
- Medium install friction due to compiled wheels for multiple platforms and Python versions.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
last release 2026-06-22 (53 days) · last repo commit 2026-08-12 · 6,299 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 222,012 downloads/mo, #9,272 on PyPI
Alternatives
Verify before relying
pip install cvxpy-base
import cvxpy as cp
import numpy
x = cp.Variable(10)
objective = cp.Minimize(cp.sum_squares(x))
prob = cp.Problem(objective)
prob.solve()- Whether cvxpy-base can be installed and used standalone or requires the main cvxpy package
- Performance characteristics and solver selection behavior compared to other CVXPY solver backends
- Specific optimization problem classes or sizes for which this backend is recommended
- How monthly download volume translates to actual production usage patterns
What it is and what it does
cvxpy-base is the compiled solver kernel layer for CVXPY, a Python-embedded domain-specific language for convex optimization. It provides the numerical computation engine that solves optimization problems modeled in CVXPY's high-level syntax. The package handles the lower-level solver operations, relying on numpy, scipy, qdldl, and sparsediffpy for linear algebra and differentiation.
This is a base package—part of CVXPY's architecture rather than a standalone tool. It enables CVXPY to model and solve convex optimization problems (including mixed-integer, geometric, quasiconvex, and nonlinear programs) by providing the compiled solver kernels that perform the actual numerical work. Users typically interact with it indirectly through the main cvxpy package, which uses cvxpy-base's solvers to compute solutions.
Use it for
- Solving least-squares problems with variable bounds or linear constraints in machine learning pipelines
- Portfolio optimization and risk management in quantitative finance applications
- Control system design and trajectory optimization in robotics and autonomous systems
- Signal processing and filter design requiring convex formulations
- Resource allocation and scheduling problems in operations research
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using CVXPY for convex optimization work.
cvxpy-base is a required component of CVXPY's solver stack. It is actively maintained, has no known vulnerabilities, supports current Python versions, and carries a permissive Apache-2.0 license. Install friction is moderate due to compiled wheels, but pre-built binaries for major platforms minimize build complexity.
Install
cvxpy-base on PyPI
Before you install
Medium install friction due to compiled wheels for multiple platforms and Python versions. Active maintenance with recent releases; last commit 2026-08-12 indicates steady support.
Requires Python >= 3.11. Runtime dependencies numpy, scipy, qdldl, and sparsediffpy must be installed; typically handled automatically by pip.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install cvxpy-base
import cvxpy as cp
import numpy
x = cp.Variable(10)
objective = cp.Minimize(cp.sum_squares(x))
prob = cp.Problem(objective)
prob.solve()
Verify before relying
- Whether cvxpy-base can be installed and used standalone or requires the main cvxpy package
- Performance characteristics and solver selection behavior compared to other CVXPY solver backends
- Specific optimization problem classes or sizes for which this backend is recommended
- How monthly download volume translates to actual production usage patterns
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 4 packagesnumpyscipyqdldlsparsediffpy |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 222,012 / month, #9,272 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: cvxpy_base-1.9.2-cp311-cp311-macosx_10_9_universal2.whl; cvxpy_base-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl; cvxpy_base-1.9.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cvxpy_base-1.9.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cvxpy_base-1.9.2-cp311-cp311-win_amd64.whl; cvxpy_base-1.9.2-cp312-cp312-macosx_10_13_universal2.whl; cvxpy_base-1.9.2-cp312-cp312-macosx_10_13_x86_64.whl; cvxpy_base-1.9.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cvxpy_base-1.9.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cvxpy_base-1.9.2-cp312-cp312-win_amd64.whl; cvxpy_base-1.9.2-cp313-cp313-macosx_10_13_universal2.whl; cvxpy_base-1.9.2-cp313-cp313-macosx_10_13_x86_64.whl; cvxpy_base-1.9.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cvxpy_base-1.9.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cvxpy_base-1.9.2-cp313-cp313-win_amd64.whl; cvxpy_base-1.9.2-cp314-cp314-macosx_10_15_universal2.whl; cvxpy_base-1.9.2-cp314-cp314-macosx_10_15_x86_64.whl; cvxpy_base-1.9.2-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cvxpy_base-1.9.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cvxpy_base-1.9.2-cp314-cp314t-macosx_10_15_universal2.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cvxpy backend”
- cvxpy-basecvxpy-base provides compiled solver kernels for CVXPY, a Python…
- cvxpyCVXPY is a Python modeling language for expressing and solving convex…
- ecosECOS is a Python wrapper for a numerical solver that handles convex…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also cvxpy · scs · qpsolvers · cvxopt · ecos · osqp · Mosek · highspy · pyvcg · proxsuite