Skip to content

Conversation

@SteveDiamond
Copy link
Collaborator

@SteveDiamond SteveDiamond commented Nov 16, 2025

This is a follow up MR to #178 to add GP support. After adding GP support, functions had gotten quite long, so I created a bunch of helper functions to organize the code.

I found an odd quirk where CVXPY requires initial values for parameters to get the DPP mapping for DGP problems. I was able to remove this limitation with hacky subclassing of CVXPY, but it would be better to fix the issue on the CVXPY side.

Base automatically changed from steven/jax-interface to cvxpylayers.1.0 November 21, 2025 05:17
@SteveDiamond SteveDiamond requested a review from PTNobel November 22, 2025 01:54
torch = None # type: ignore[assignment]

if TYPE_CHECKING:
# Type alias for multi-framework tensor types
Copy link
Collaborator

Choose a reason for hiding this comment

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

Smart. I like it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's upstream this.

@SteveDiamond SteveDiamond merged commit 34fcb78 into cvxpylayers.1.0 Nov 22, 2025
1 check passed
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.

3 participants