picos.expressions.exp_logarithm¶
Implements Logarithm
.
Classes¶
Logarithm¶
-
class
picos.expressions.exp_logarithm.
Logarithm
(x)[source]¶ Bases:
picos.expressions.expression.Expression
Logarithm of a scalar affine expression.
- Definition
For a real scalar affine expression
, this is
.
Warning
When you pose a lower bound on a logarithm
, then PICOS enforces
through an auxiliary constraint during solution search.
-
__init__
(x)[source]¶ Construct a
Logarithm
.- Parameters
x (AffineExpression) – The scalar affine expression
.
-
property
exp
¶ The exponential of the logarithm, equal to
.
-
property
x
¶ The expression
.