picos.expressions.cone_rsoc¶
Implements RotatedSecondOrderCone
.
Classes
- class picos.expressions.cone_rsoc.RotatedSecondOrderCone(p=1, dim=None)[source]¶
Bases:
Cone
The (narrowed or widened) rotated second order cone.
For
and
, represents the convex cone
For
, this is the standard rotated second order cone
obtained by rotating the
second order cone
by
in the
plane.
The default instance of this class has
, which can be understood as a narrowed version of the standard cone. This is more convenient for defining the primal problem but it should be noted that
is not self-dual, so working with
may seem more natural when the dual problem is of interest.
- Dual cone
The dual cone is
The cone is thus self-dual for
.
- __init__(p=1, dim=None)[source]¶
Construct a rotated second order cone.
- Parameters
p (float) – The positive factor
in the definition.
- property dual_cone[source]¶
Implement
cone.Cone.dual_cone
.
- property p¶
A narrowing (
) or widening (
) factor.