picos.expressions.exp_renyientr¶
Implements Renyi entropy expressions.
Classes
- class picos.expressions.exp_renyientr.BaseQuasiEntropy(X, Y, alpha)[source]¶
Bases:
Expression
Base class defining a general quasi-relative entropy expression.
- __init__(X, Y, alpha)[source]¶
Construct an
BaseQuasiEntropy
.- 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 alpha¶
The alpha
.
- class picos.expressions.exp_renyientr.BaseRenyiEntropy(X, Y, alpha, u=None)[source]¶
Bases:
Expression
Base class used to define a general Renyi entropy expression.
- __init__(X, Y, alpha, u=None)[source]¶
Construct an
BaseRenyiEntropy
.- Parameters
X (AffineExpression) – The affine expression
.
Y (AffineExpression) – The affine expression
. This should have the same dimensions as
.
alpha (float) – The parameter
.
u (AffineExpression) – An additional scalar affine expression
. If specified, then this defines the perspective of the Renyi entropy.
- property X¶
The expression
.
- property Y¶
The additional expression
.
- property alpha¶
The alpha
.
- property u¶
The additional expression
.
- class picos.expressions.exp_renyientr.QuasiEntropy(X, Y, alpha)[source]¶
Bases:
BaseQuasiEntropy
Quasi-relative entropy of an affine expression.
- Definition
Let
and
be
-dimensional symmetric or hermitian matrices. Then this is defined as
for some
.
Warning
When you pose an upper or lower bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.
- class picos.expressions.exp_renyientr.RenyiEntropy(X, Y, alpha, u=None)[source]¶
Bases:
BaseRenyiEntropy
Renyi entropy of an affine expression.
- Definition
Let
and
be
-dimensional symmetric or hermitian matrices. Then this is defined as
for some
.
Warning
When you pose an upper or lower bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.
- class picos.expressions.exp_renyientr.SandQuasiEntropy(X, Y, alpha)[source]¶
Bases:
BaseQuasiEntropy
Sandwiched quasi-relative entropy of an affine expression.
- Definition
Let
and
be
-dimensional symmetric or hermitian matrices. Then this is defined as
for some
.
Warning
When you pose an upper or lower bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.
- class picos.expressions.exp_renyientr.SandRenyiEntropy(X, Y, alpha, u=None)[source]¶
Bases:
BaseRenyiEntropy
Sandwiched Renyi entropy of an affine expression.
- Definition
Let
and
be
-dimensional symmetric or hermitian matrices. Then this is defined as
for some
.
Warning
When you pose an upper or lower bound on this expression, then PICOS enforces
and
through an auxiliary constraint during solution search.