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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cvxpy-base from 1.5.3 to 1.6.0.
Release notes
Sourced from cvxpy-base's releases.
... (truncated)
Commits
284b628
Merge remote-tracking branch 'origin/master' into release/1.6.x8ea9e71
removing pinned diffcpa153cf9
Fixes diffcp imports (#2624)34a6418
pinning diffcp version in CI131ea95
release branch for 1.6.x9c2cd01
DOC: Updating wishlist for new release (1.6) (#2617)975af01
CI: updating CI for diffcp new release (#2622)c756be3
Fixes failingquantum_rel_entr
tests (#2621)f3de1e8
quantum_rel_entr
,quantum_cond_entr
&& CVXPY QI Marimo demo (#2606)38e4652
DOC: adding new features in docs for 1.6 (#2582)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show