picos.constraints.con_lmi

Linear matrix inequalities.

Classes

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.

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

Bases: picos.constraints.constraint.ConicConstraint

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 conic_membership_form[source]

Implement for ConicConstraint.

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[source]

The matrix expression posed to be negative semidefinite.

property psd[source]

The matrix expression posed to be positive semidefinite.

property smaller

The smaller-or-equal side expression.