Implementation of SquaredNormConstraint.


class picos.constraints.con_sqnorm.SquaredNormConstraint(squaredNorm, upperBound)[source]

Bases: Constraint

Upper bound on a squared Euclidean or Frobenius norm.

class ConicConversion[source]

Bases: ConstraintConversion

Upper bound on a squared norm to conic conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod predict(subtype, options)[source]

Implement predict.

__init__(squaredNorm, upperBound)[source]

Construct a SquaredNormConstraint.

  • squaredNorm (SquaredNorm) – The squared norm to bound from above.

  • upperBound (AffineExpression) – Upper bound on the squared norm.