picos.expressions.set_soc

Implements SecondOrderCone.

Outline

Classes

SecondOrderCone

The second order cone.

Classes

SecondOrderCone

class picos.expressions.set_soc.SecondOrderCone[source]

Bases: picos.expressions.set.Set

The second order cone.

Also known as the quadratic, 2-norm, Lorentz, or ice cream cone.

For n \in \mathbb{Z}_{\geq 2}, represents the convex cone

\mathcal{Q}^n = \left\{
    x \in \mathbb{R}^n
~\middle|~
    x_1 \geq \sqrt{\sum_{i = 2}^n x_i^2}
\right\}.

Dual cone

The second order cone as defined above is self-dual.

__init__()[source]

Construct a second order cone.