picos.constraints.con_vecnorm

Implementation of VectorNormConstraint.

Outline

Classes

VectorNormConstraint

Bound on a (generalized) vector p-norm.

Classes

VectorNormConstraint

class picos.constraints.con_vecnorm.VectorNormConstraint(norm, relation, rhs)[source]

Bases: picos.constraints.constraint.Constraint

Bound on a (generalized) vector p-norm.

class Conversion[source]

Bases: picos.constraints.constraint.ConstraintConversion

Bound on a (generalized) p-norm constraint conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod predict(subtype, options)[source]

Implement predict.

__init__(norm, relation, rhs)[source]

Construct a VectorNormConstraint.

Parameters
  • norm (Norm) – Left hand side expression.

  • relation (str) – Constraint relation symbol.

  • rhs (AffineExpression) – Right hand side expression.