pub struct CrossoverOptions {
pub enabled: bool,
pub mult_tol: Number,
pub primal_tol: Number,
pub max_iter: u32,
}Expand description
Tuning for the crossover phase. Populated from the crossover* options by
crate::application::IpoptApplication.
Fields§
§enabled: boolMaster switch (crossover). Default off.
mult_tol: NumberMultiplier magnitude above which a row is taken active in the §7
step-2 tolerance test (crossover_mult_tol).
primal_tol: NumberPrimal distance to a bound below which a row is taken binding in the
§7 step-2 tolerance test (crossover_primal_tol).
max_iter: u32Outer-iteration budget for the §7 step-4 fallback
(crossover_max_iter). 0 disables step 4 entirely, leaving
crossover as the one-step refinement of step 3.
Trait Implementations§
Source§impl Clone for CrossoverOptions
impl Clone for CrossoverOptions
Source§fn clone(&self) -> CrossoverOptions
fn clone(&self) -> CrossoverOptions
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 moreSource§impl Debug for CrossoverOptions
impl Debug for CrossoverOptions
Auto Trait Implementations§
impl Freeze for CrossoverOptions
impl RefUnwindSafe for CrossoverOptions
impl Send for CrossoverOptions
impl Sync for CrossoverOptions
impl Unpin for CrossoverOptions
impl UnsafeUnpin for CrossoverOptions
impl UnwindSafe for CrossoverOptions
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,
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