pub enum LinearSystemScalingChoice {
None,
Ruiz,
Mc19,
}Expand description
Symmetric scaling method applied to the augmented KKT system by
TSymLinearSolver. Mirrors the linear_system_scaling option
in IpAlgBuilder.cpp:302-318 and the RuizTSymScalingMethod /
Mc19TSymScalingMethod strategies in upstream Ipopt.
None(default) — no scaling;TSymLinearSolverruns with a null scaling method. Matches upstream’s default.Ruiz— iterative symmetric ∞-norm equilibration (Ruiz, 2001). Implemented inpounce_linsol::RuizTSymScalingMethod.Mc19— Curtis-Reid (HSL MC19) scaling. Not yet implemented; falls back toNonewith a warning.
Variants§
Trait Implementations§
Source§impl Clone for LinearSystemScalingChoice
impl Clone for LinearSystemScalingChoice
Source§fn clone(&self) -> LinearSystemScalingChoice
fn clone(&self) -> LinearSystemScalingChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LinearSystemScalingChoice
Source§impl Debug for LinearSystemScalingChoice
impl Debug for LinearSystemScalingChoice
Source§impl Default for LinearSystemScalingChoice
impl Default for LinearSystemScalingChoice
Source§fn default() -> LinearSystemScalingChoice
fn default() -> LinearSystemScalingChoice
Returns the “default value” for a type. Read more
impl Eq for LinearSystemScalingChoice
Source§impl PartialEq for LinearSystemScalingChoice
impl PartialEq for LinearSystemScalingChoice
Source§fn eq(&self, other: &LinearSystemScalingChoice) -> bool
fn eq(&self, other: &LinearSystemScalingChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinearSystemScalingChoice
Auto Trait Implementations§
impl Freeze for LinearSystemScalingChoice
impl RefUnwindSafe for LinearSystemScalingChoice
impl Send for LinearSystemScalingChoice
impl Sync for LinearSystemScalingChoice
impl Unpin for LinearSystemScalingChoice
impl UnsafeUnpin for LinearSystemScalingChoice
impl UnwindSafe for LinearSystemScalingChoice
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
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