Skip to content

Update dependency cvxpy to v1.7.1 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 13, 2025

This PR contains the following updates:

Package Change Age Confidence
cvxpy 1.5.3 -> 1.7.1 age confidence

Release Notes

cvxpy/cvxpy (cvxpy)

v1.7.1

Compare Source

Patch notes 1.7.1

This is a micro patch release which fixes two bugs from the 1.7.0 release.

Link Type 1.7.x Comment
#​2862 Bug Fix
#​2864 Bug Fix

Bug fixes

  • Update SciPy dependency to >= 1.13.0
  • Fix issue with scalar boolean variables

v1.7.0

Compare Source

CVXPY 1.7

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.9 through 3.13. While working on the next release, we continue to officially support CVXPY 1.6.

New GPU solvers

CVXPY begins supporting GPU solvers in this release. The following solvers are supported:

MPAX runs on a GPU device specified by the JAX environment. MPAX, cuOpt, and CuClarabel are new solver interfaces that can be used with CVXPY. SCS has a new backend based on cuDSS that can be used through the existing SCS interface.

Sparse array support

SciPy is deprecating the sparse matrix API in favor of sparse arrays. See the migration guide here.

CVXPY 1.7 supports the new sparse array API but continues to support the sparse matrix API for backwards compatibility.

Update on reshape order

In CVXPY 1.6, we began raising warnings for the default reshape order being Fortran ('F'),
which differs from NumPy's default order ('C'). We also mentioned that we would raise an error
if the order was not specified in CVXPY 1.7, and switch the default order to 'C' in CVXPY 1.8.
However, we have decided to postpone these changes to CVXPY 2.0, the next major release.
We believe that raising errors could break existing code and cause confusion among users.
We encourage users to continue explicitly specifying the order when using reshape, vec, and flatten atoms.

New features

  • Multiple attributes for variables and parameters
  • New QOCO solver interface
  • New atom: broadcast_to
  • New atom: transpose(expr, axes)
  • New atom: swapaxes
  • New atom: moveaxis
  • New atom: permute_dims
  • Add warm-start support for HiGHS
  • Add warm-start support for PIQP

Summary

This new release totaled 84 PRs from 27 users.

Special shoutout to @​PTNobel for leading the integration of GPU solver interfaces into CVXPY.

v1.6.7

Compare Source

Patch notes (from #​2859)

This is a micro patch release which fixes a few bugs.

Link Type 1.6.x Comment
#​2829 Bug Fix
#​2839 Bug Fix
#​2834 Bug Fix
#​2838 Bug Fix
#​2846 Doc

Bug fixes

v1.6.6

Compare Source

Patch notes (from #​2821)

This is a micro patch release which fixes a few bugs and updates solver interfaces.

Link Type 1.6.x Comment
#​2805 Bug Fix
#​2798 Bug Fix
#​2797 Interface
#​2796 Interface

Bug fixes

v1.6.5

Compare Source

Patch notes (from #​2789)

This is a micro patch release which fixes a few bugs and updates solver interfaces.

Link Type 1.6.x Comment
#​2785 Interface
#​2784 Interface
#​2778 Bug Fix
#​2769 Interface
#​2765 Bug Fix
#​2763 Interface
#​2760 Bug Fix
#​2756 Bug Fix

Bug fixes

v1.6.4

Compare Source

Patch notes (from #​2748)

This is a micro patch release which adds an interface for QOCO.
Notably this release will allow cvxpygen to use the interface and integrate with qocogen.

Link Type 1.6.x Comment
#​2745 Interface
#​2724 Interface
#​2719 Interface

All three PRs are from @​govindchari , author of QOCO.

v1.6.3

Compare Source

Patch notes (from #​2748)

This is a micro patch release which fixes two bugs.

Link Type 1.6.x Comment
#​2745 Bug
#​2724 Bug

Bug fixes

v1.6.2

Compare Source

Patch notes (from #​2738)

This is a micro patch release which fixes two bugs and removes one warning.

Link Type 1.6.x Comment
#​2737 Bug
#​2734 Bug
#​2726 Warning

Bug fixes

v1.6.1

Compare Source

Patch notes (from #​2716)

Link Type 1.6.x Comment
#​2630 Interface update
#​2634 Bug Remove bound setter
#​2635 Bug
#​2636 Interface update ortools bump
#​2691 Docs
#​2694 Bug
#​2695 Type hints
#​2697 Bug Clarabel fix
#​2702 Bug
#​2705 Docs
#​2711 Docs
#​2714 Bug
#​2690 Dependency

Bug fixes

  • The implementation of inv_prod was broken for variables of shape other than 1D. It is
    now fixed. This may break some code that was previously incorrectly allowed and giving
    incorrect answers.
  • The implementation of sparse variables did not allow for maximal efficiency gains. This can now be
    addressed with the value_sparse attribute.
  • Clarabel issues for DQCP are now fixed.

Documentation

  • New set of marimo notebooks for "basic" cvxpy examples. Thanks @​akshayka !
  • Typo in atomic functions table

v1.6.0

Compare Source

CVXPY 1.6

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.9 through 3.13. While working on the next release, we continue to officially support CVXPY 1.5.

Default reshape order warning

CVXPY's default order for array manipulation atoms such as reshape, vec and flatten, is Fortran ('F'). In this release CVXPY raises a warning when no explicit order is specified.

In version 1.7, we plan to raise an error if the order is not specified. Finally, in version 1.8, we will switch the default order from ('F') to ('C') to match NumPy's behavior.

Dropping ECOS dependency

In version 1.5, we changed our default solver from ECOS to Clarabel and announced that we would be removing ECOS as a dependency in 1.6. Despite some regressions in certain DQCP tests, we are moving forward with dropping ECOS in this release. If you are experiencing any issues with Clarabel we encourage you to try using SCS or add ECOS as a dependency to your project.

Features and bug fixes

  • Added Python 3.13 support and dropped Python 3.8 support
  • New HiGHS solver interface
  • New atom: cvar
  • New atom: cumprod
  • New atom: quantum_rel_entr
  • New atom: quantum_cond_entr
  • New atom: concatenate
  • Support for N-dimensional variables and expressions for the following operations:
    - axis atoms like min, max and sum
    - indexing
    - elementwise operations
  • Sparsity attribute for variables
  • New website and documentation theme based on Sphinx Immaterial
  • Ability to pass multiple solvers as argument to .solve()
  • Performance improvement for sum_largest and cumsum
  • Performance improvement for integer and boolean variables
  • Improving string representation of special index

Summary

This new release totaled 80 PRs from 24 users, 14 of which are first time contributors :).

The list below details all contributions made throughout this new release. Thank you all for your incredible work!

v1.5.4

Compare Source

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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/cvxpy-1.x-lockfile branch from 8c9e7db to 2b33e1a Compare June 14, 2025 20:14
@renovate renovate bot changed the title Update dependency cvxpy to v1.6.5 Update dependency cvxpy to v1.6.6 Jun 14, 2025
@renovate renovate bot changed the title Update dependency cvxpy to v1.6.6 Update dependency cvxpy to v1.7.1 Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants