pub struct HandoverOptions {
pub enabled: bool,
pub tol: Number,
pub stall_iter: Index,
pub max_attempts: u32,
}Expand description
Tuning, read from the ipm_sqp_handover* options.
Fields§
§enabled: boolipm_sqp_handover. Default off.
tol: Numberipm_sqp_handover_tol: try once the overall NLP error is this small.
stall_iter: Indexipm_sqp_handover_stall_iter: try once the best error has not halved
in this many iterations. 0 disables the stall test.
max_attempts: u32ipm_sqp_handover_max_attempts.
Trait Implementations§
Source§impl Clone for HandoverOptions
impl Clone for HandoverOptions
Source§impl Debug for HandoverOptions
impl Debug for HandoverOptions
Auto Trait Implementations§
impl Freeze for HandoverOptions
impl RefUnwindSafe for HandoverOptions
impl Send for HandoverOptions
impl Sync for HandoverOptions
impl Unpin for HandoverOptions
impl UnsafeUnpin for HandoverOptions
impl UnwindSafe for HandoverOptions
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