Struct totsu_core::ConeRotSOC
source · pub struct ConeRotSOC<L: LinAlg> { /* private fields */ }
Expand description
Rotated second-order (or quadratic) cone
\[ \mathcal{Q}_r^n = \left\lbrace x \in \mathbb{R}^n \ \middle|\ x_3^2+\cdots+x_n^2 \le 2x_1x_2, x_1\ge0, x_2\ge0 \right\rbrace \]
Implementations§
source§impl<L: LinAlg> ConeRotSOC<L>
impl<L: LinAlg> ConeRotSOC<L>
sourcepub fn new() -> Self
pub fn new() -> Self
Creates an instance.
Returns the ConeRotSOC
instance.