pub enum AlphaForY {
Primal,
BoundMult,
Full,
Min,
Max,
Average,
}Expand description
Policy for the step length applied to the equality multipliers
y_c, y_d. Mirrors upstream’s alpha_for_y option (subset of
the upstream enum — pounce only ports the variants that the
Mehrotra cascade and default code paths exercise).
Variants§
Primal
Use the primal step length (upstream default).
BoundMult
Use the dual step length. Selected by the Mehrotra cascade
(alpha_for_y=bound_mult).
Full
Always take a full step on the equality multipliers.
Min
Use the minimum of the primal and dual step lengths.
Max
Use the maximum of the primal and dual step lengths.
Average
Use the arithmetic mean of the primal and dual step lengths.
Implementations§
Trait Implementations§
impl Copy for AlphaForY
impl Eq for AlphaForY
impl StructuralPartialEq for AlphaForY
Auto Trait Implementations§
impl Freeze for AlphaForY
impl RefUnwindSafe for AlphaForY
impl Send for AlphaForY
impl Sync for AlphaForY
impl Unpin for AlphaForY
impl UnsafeUnpin for AlphaForY
impl UnwindSafe for AlphaForY
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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