picos.constraints.con_lmi

Linear matrix inequalities.

Outline

Classes

ComplexLMIConstraint

Complex linear matrix inequality.

LMIConstraint

Linear matrix inequality.

Classes

ComplexLMIConstraint

class picos.constraints.con_lmi.ComplexLMIConstraint(lhs, relation, rhs, customString=None)[source]

Bases: picos.constraints.con_lmi.LMIConstraint

Complex linear matrix inequality.

class RealConversion[source]

Bases: picos.constraints.constraint.ConstraintConversion

Complex LMI to real LMI conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod dual(auxVarPrimals, auxConDuals, options)[source]

Implement dual.

classmethod predict(subtype, options)[source]

Implement predict.

LMIConstraint

class picos.constraints.con_lmi.LMIConstraint(lhs, relation, rhs, customString=None)[source]

Bases: picos.constraints.constraint.Constraint

Linear matrix inequality.

An inequality with respect to the positive semidefinite cone, also known as a Linear Matrix Inequality (LMI) or an SDP constraint.

__init__(lhs, relation, rhs, customString=None)[source]

Construct a LMIConstraint.

Parameters
  • lhs (AffineExpression) – Left hand side expression.

  • relation (str) – Constraint relation symbol.

  • rhs (AffineExpression) – Right hand side expression.

  • customString (str) – Optional string description.

property greater

The greater-or-equal side expression.

property nnd

The matrix expression posed to be positive semidefinite.

property npd

The matrix expression posed to be negative semidefinite.

property nsd

The matrix expression posed to be negative semidefinite.

property psd

The matrix expression posed to be positive semidefinite.

property smaller

The smaller-or-equal side expression.