Cvxpy

Latest version: v1.6.4

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

1.6.0

1.5.4

Patch notes (from 2628)

| Link | Type | 1.5.x | Comment |
|------|------|-------|---------|
| 2541 | Bug | ✅ | |
| 2542 | Bug | ✅ | |
| 2549 | Bug | ✅ | |
| 2609 | Bug | ✅ | |
| 2624 | Bug | ✅ | |
| 2630 | Interface update | ✅ | |

New backward support policy
This release will be the last one in the 1.5.x series.
We plan to no longer support cvxpy versions 1.5.x, where x<4, while we continue working on cvxpy 1.6.x
Version 1.5.4 will be the last supported version in the 1.5.x series. In the future, we might update 1.5.4 with backport bug fixes.

1.5.3

rluce Fixing compatibility between NumPy 2.0 and the Gurobi interface 2484
Transurgeon Numerous bug fixes
GaetanLepage Improved scipy compatibility 2508

1.5.2

What's Changed

This release is the first one compatible with NumPy 2.0. It is backward compatible, i.e., NumPy versions < 2.0 will continue to work.

- 2475 updating pyproject to support numpy 2.0 (Transurgeon)
- 2461 Fix integer overflow on Windows in TensorRepresentation.flatten_tensor (sven-oxionics)
- 2454 Clarify ECOS_DEP_DEPRECATION_MSG, including how to suppress the warning (cjerdonek)
- 2452 Include minimum necessary meta information in setup.py (timkpaine)
- 2392 Updating numpy.i (cvxcore) swig interface (Transurgeon)
- 2481 [CI] Updates macos version (phschiele)
- various CI updates

**Full Changelog**: https://github.com/cvxpy/cvxpy/compare/v1.5.1...v1.5.2

1.5.1

What's Changed
- 2438 Fixes QP canonicalization (phschiele)
- 2436 Fix link in README.md (StefRe)
- 2435 Fix for issue with quad_over_lin parameters (SteveDiamond)
- 2441 Adds back DGP + DPP quad_over_lin (phschiele)

**Full Changelog**: https://github.com/cvxpy/cvxpy/compare/v1.5.0...v1.5.1

1.5

This release is consistent with our semantic versioning guarantee. It comes packed with many new features, bug fixes, and performance improvements. This version of CVXPY supports Python 3.8 through 3.12. While working on the next release, we continue to officially support
CVXPY 1.5 and 1.4.

This release may **not** be compatible with NumPy 2.0.


ECOS deprecation

CVXPY has used ECOS as the default solver for many years; however, it has known issues with performance and numerical stability in edge cases. Recently, a new solver, Clarabel, that improves the algorithm and implementation of ECOS has been under development.

In this release, CVXPY uses Clarabel instead of ECOS for all categories of problems where ECOS was previously the default.

In 1.6, we plan to no longer install ECOS as a CVXPY dependency. We have no plans to remove support for calling ECOS as a solver.

We encourage you to try and use Clarabel instead, but if you're dependent on ECOS's exact behavior please explicitly specify it as a solver and as a dependency for your project.

Features and bug fixes

- Major updates to the documentation, adding a number of new sections to the User Guide and breaking up the monolithic Advanced features page [Many PRs] Transurgeon
- Added `.curvatures` containing all curvatures an expression is compatible with 1540 sunnygurm
- Variable bounds can be specified with `cp.Variable(bound=(lower, upper))` and are directly passed to the solver when helpful. `lower` and `upper` can be either a NumPy array or floating point number. 2234, 2321 Paulnkk, SteveDiamond
- Constants can be named by writing `cp.Constant(name='...')` 2335 SteveDiamond
- Added a new atom, `vdot`, that has the same behavior as `scalar_product` 2371 Transurgeon
- CVXPY runs in the next PyOdide release via wasm 2363, 2382 phschiele
- Added or-tools 9.9 support 2316 mlubin
- Major rewrite to the PDLP interface 2252 mlubin
- Dropped MOSEK <= 9 support and upgraded the MOSEK integration code 2326 aszekMosek
- Improved HIGHS solver stats 2333 bstellato
- Removes pybind11 as runtime dep 2334 phschiele
- Quadratic objectives in NAG solver 2339 chasilvester
- DAQP solver interface 2312 enzbus
- Adds `solver_verbose` 2354 hailiangliu89
- ECOS deprecation progress 2388, 2391 PTNobel Transurgeon
- Improved type annotations 2304 sunnygurm
- Adds `save_file` to COPT interface 2393 wujianjack
- Setup dependabot 2369 tschm
- Many many infrastructure PRs phschiele
- Fixes doc deploy 2331 PTNobel
- Modernized build-system and metadata 2276 2277 mkoeppe
- Uses oldest-supported-numpy 2291 enzbus
- Fix keep dims for min atom 2431 allenlawrence94
- Reduce memory consumption for `sum(list)` 2428 phschiele
- Fix convolve when used with parameters 2427 SteveDiamond
- Fix nuclear norm gradient for non-square inputs 2426 SteveDiamond
- Improve XPRESS interface 2425 2288 phschiele
- Fix DQCP bugs with parameters 2424 SteveDiamond
- Warning for creating constants from nested lists 2423 phschiele
- Preserve sign in minimum and maximum 2420 zacharyweiss
- Resolves deprecation warnings in the SDPA interface 2350 usamamuneeb
- Starts NumPy 2.0 support 2319 phschiele
- Fixes counting of constraints 2303 PTNobel

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.