picos.constraints.con_sqnorm

Implementation of SquaredNormConstraint.

Outline

Classes

SquaredNormConstraint

Upper bound on a squared Euclidean or Frobenius norm.

Classes

SquaredNormConstraint

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

Bases: picos.constraints.constraint.Constraint

Upper bound on a squared Euclidean or Frobenius norm.

class ConicConversion[source]

Bases: picos.constraints.constraint.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.

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

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