Skip to content

Exotic2Common: avoid stack atoms in PowConeND to PowCone3D reduction  #1222

@rileyjmurray

Description

@rileyjmurray

Following PR #1211, cvxpy supports 3D and ND power cone constraints. The main way for doing this is the (Exotic2Common) that maps an ND power cone to a collection of (N-2) 3D power cones. As-implemented, this reduction has two downsides:

  1. The canonicalization involves use of hstack atoms and other high-level affine transformations. This use of high-level atoms will likely be more expensive to canonicalize in cvxcore compared to if we built suitable sparse matrices directly.
  2. The PowConeND class currently does not have dual variable support. (Resolved in 2023 by PR Dual variables for PowConeND #2241.)

We'd welcome contributions handling either of these issues.

We'd welcome contributions for handling the remaining issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    canonicalizationhelp wantedWe would appreciate contributions for this issue! A CVXPY member will provide guidance.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions