Skip to content

Modify CostInequalityConstraint to compile risk limit to simple SOC #203

@enzbus

Description

@enzbus

Currently risk_model <= limit compiles to something like cp.sum_squares(...) <= limit**2. Instead we want cp.norm2(...) <= limit to improve execution performance and solver stability, especially with first order solvers. We'll need to add an alternative compilation route and use cp.hstack in the constraint object to concatenate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions