pub enum ConeKind {
Free,
Zero,
Nonneg,
Nonpos,
Exp,
SecondOrder,
Pow,
}Expand description
The CBF cone kinds this reader supports (F/L=/L+/L-/EXP/Q,
plus the 3-D power cone @k:POW resolved against POWCONES). Unsupported
kinds (PSD DCOORD, the rotated SOC QR, dual power cones) are rejected
at parse time with a clear error rather than silently mis-handled.
Variants§
Free
F — free (ℝ): no constraint.
Zero
L= — the zero cone: the rows are equalities.
Nonneg
L+ — nonnegative orthant.
Nonpos
L- — nonpositive orthant.
Exp
EXP — the 3-D exponential cone (CBF order; reversed for pounce).
SecondOrder
Q — the second-order cone.
Pow
@k:POW — the 3-D power cone, with the exponent α resolved from the
referenced POWCONES parameter set (stored on ConeDecl::alpha).
Trait Implementations§
impl Copy for ConeKind
impl Eq for ConeKind
impl StructuralPartialEq for ConeKind
Auto Trait Implementations§
impl Freeze for ConeKind
impl RefUnwindSafe for ConeKind
impl Send for ConeKind
impl Sync for ConeKind
impl Unpin for ConeKind
impl UnsafeUnpin for ConeKind
impl UnwindSafe for ConeKind
Blanket Implementations§
impl<T> Boilerplate for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more