Skip to content

Bump cvxpy floor to 1.9.0 and add moreau extra - #241

Merged
SteveDiamond merged 1 commit into
masterfrom
cvxpy-1.9-and-moreau-extra
May 19, 2026
Merged

SteveDiamond merged 1 commit into
masterfrom
cvxpy-1.9-and-moreau-extra

Conversation

@PTNobel

@PTNobel PTNobel commented May 19, 2026

Copy link
Copy Markdown
Collaborator

CVXPY 1.9.0 ships quad_form_dpp_scope, scope-aware QuadForm.is_atom_*, and parametric-P extract_quadratic_coeffs natively, so cvxpylayers no longer needs the _quad_form_dpp monkey-patches. Drop the patch module along with the stale hasattr/getattr compat in parse_args.py.

Also expose moreau as an optional install extra so users can run pip install cvxpylayers[moreau] for the GPU-accelerated pathway, with prominent pointers to the Moreau install guide for license terms.

CVXPY 1.9.0 ships quad_form_dpp_scope, scope-aware QuadForm.is_atom_*,
and parametric-P extract_quadratic_coeffs natively, so cvxpylayers no
longer needs the _quad_form_dpp monkey-patches. Drop the patch module
along with the stale hasattr/getattr compat in parse_args.py.

Also expose moreau as an optional install extra so users can run
`pip install cvxpylayers[moreau]` for the GPU-accelerated pathway,
with prominent pointers to the Moreau install guide for license terms.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@SteveDiamond SteveDiamond left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SteveDiamond
SteveDiamond merged commit ca45b8e into master May 19, 2026
5 checks passed
@PTNobel
PTNobel deleted the cvxpy-1.9-and-moreau-extra branch May 19, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants