picos.expressions.exp_oprelentr¶
Implements OperatorRelativeEntropy.
Classes
- class picos.expressions.exp_oprelentr.OperatorRelativeEntropy(X, Y)[source]¶
Bases:
ExpressionOperator relative entropy of an affine expression.
- Definition
For
-dimensional symmetric or Hermitian matrices
and
, this is defined as
Warning
When you pose an upper bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.
- __init__(X, Y)[source]¶
Construct an
OperatorRelativeEntropy.- Parameters
X (AffineExpression) – The affine expression
.
Y (AffineExpression) – The affine expression
. This should have the same dimensions as
.
- property X¶
The expression
.
- property Y¶
The additional expression
.
- property tr¶
Trace of the operator relative entropy.
- class picos.expressions.exp_oprelentr.TrOperatorRelativeEntropy(X, Y)[source]¶
Bases:
OperatorRelativeEntropyTrace operator relative entropy of an affine expression.
- Definition
For
-dimensional symmetric or Hermitian matrices
and
, this is defined as
Warning
When you pose an upper bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.
- __init__(X, Y)[source]¶
Construct an
OperatorRelativeEntropy.- Parameters
X (AffineExpression) – The affine expression
.
Y (AffineExpression) – The affine expression
. This should have the same dimensions as
.