Skip to content

Full affine atom implementation to support CVXPY #43

Description

@Transurgeon

We are missing a few affine atoms that are supported in CVXPY.
This issue will serve as a tracker to eventually add them in.

  • left kron
  • right kron
  • conv (convolution)
  • diag_mat
  • upper_tri (for PSD constraints)
  • vstack

Eventually it would be nice to support everything, such as ND expressions and general broadcasting
but that's probably a lot of work and won't be necessary for now.

Activity

  1. Transurgeon commented on Feb 11, 2026

    @Transurgeon
    MemberAuthor

    diag_mat and upper_tri can be implemented by getting the indices and calling make_index. This might be slightly less performant, but it keeps things cleaner for now.

  2. dance858 commented on Feb 11, 2026

    @dance858
    Collaborator

    Nice, thank you for making this list.

  3. Transurgeon commented on Mar 25, 2026

    @Transurgeon
    MemberAuthor

    made a PR for vstack in #52

  4. Transurgeon commented on Mar 25, 2026

    @Transurgeon
    MemberAuthor

    implemented diag_mat and upper_tri through index in #54

  5. Transurgeon commented on Jul 12, 2026

    @Transurgeon
    MemberAuthor

    I'll close this since we recently added Kron and have full support for cvxpy atoms now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions