picos.expressions.set_simplex¶
Implements Simplex
.
Classes¶
Simplex¶
-
class
picos.expressions.set_simplex.
Simplex
(radius=<1×1 Real Constant: 1>, truncated=False, symmetrized=False)[source]¶ Bases:
picos.expressions.set.Set
A (truncated, symmetrized) real simplex.
- Definition
Let
the specified radius and
an arbitrary dimensionality.
Without truncation and symmetrization, this is the nonnegative simplex
For
, this is the standard (unit)
-simplex.
With truncation but without symmetrization, this is the nonnegative simplex intersected with the
-norm unit ball
For
, this equals case (1).
With symmetrization but without truncation, this is the
-norm ball of radius
With both symmetrization and truncation, this is the convex polytope
For
, this equals case (3).
-
__init__
(radius=<1×1 Real Constant: 1>, truncated=False, symmetrized=False)[source]¶ Construct a
Simplex
.- Parameters
radius (float or AffineExpression) – The radius of the simplex.
-
property
radius
¶ The radius of the simplex.
-
property
symmetrized
¶ Wether the simplex is mirrored onto all orthants.
-
property
truncated
¶ Whether this is intersected with the unit
-ball.