picos.constraints.con_rsoc

Rotated second order cone constraints.

Outline

Classes

RSOCConstraint

Rotated second order cone membership constraint.

Classes

RSOCConstraint

class picos.constraints.con_rsoc.RSOCConstraint(normedExpression, upperBoundFactor1, upperBoundFactor2=None, customString=None)[source]

Bases: picos.constraints.constraint.Constraint

Rotated second order cone membership constraint.

__init__(normedExpression, upperBoundFactor1, upperBoundFactor2=None, customString=None)[source]

Construct a RSOCConstraint.

Parameters
  • normedExpression (AffineExpression) – Expression under the norm.

  • upperBoundFactor1 (AffineExpression) – First of the two scalar factors that make the upper bound on the normed expression.

  • upperBoundFactor2 (AffineExpression) – Second of the two scalar factors that make the upper bound on the normed expression.

  • customString (str) – Optional string description.