pub struct WarmStartOptions {
pub bound_push: Number,
pub bound_frac: Number,
pub slack_bound_push: Number,
pub slack_bound_frac: Number,
pub mult_bound_push: Number,
pub mult_init_max: Number,
pub target_mu: Number,
pub entire_iterate: bool,
pub same_structure: bool,
pub bound_mult_init_val: Number,
}Expand description
Knobs read off OptionsList and baked into
WarmStartIterateInitializer. Defaults mirror
IpWarmStartIterateInitializer.cpp:RegisterOptions.
Wired today: mult_init_max (clamps |y_c|, |y_d| and caps z/v
blocks) and target_mu (overrides data.curr_mu at iter 0).
The remaining knobs (bound_push, bound_frac, slack_bound_push,
slack_bound_frac, mult_bound_push, entire_iterate,
same_structure) are stored on the initializer but not yet
consumed — WarmStartIterateInitializer::set_initial_iterates
currently trusts the caller-populated data.curr rather than
re-running the upstream push_variables machinery.
Fields§
§bound_push: Number§bound_frac: Number§slack_bound_push: Number§slack_bound_frac: Number§mult_bound_push: Number§mult_init_max: Number§target_mu: Number§entire_iterate: bool§same_structure: bool§bound_mult_init_val: NumberThe value a NaN-seeded bound multiplier takes: NaN in a
user-supplied z/v seed means “unseeded, use the default”.
Threaded from builder.init.bound_mult_init_val at build time
so the Mehrotra override and any user setting stay the single
source of truth.
Trait Implementations§
Source§impl Clone for WarmStartOptions
impl Clone for WarmStartOptions
Source§fn clone(&self) -> WarmStartOptions
fn clone(&self) -> WarmStartOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WarmStartOptions
impl Debug for WarmStartOptions
Auto Trait Implementations§
impl Freeze for WarmStartOptions
impl RefUnwindSafe for WarmStartOptions
impl Send for WarmStartOptions
impl Sync for WarmStartOptions
impl Unpin for WarmStartOptions
impl UnsafeUnpin for WarmStartOptions
impl UnwindSafe for WarmStartOptions
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
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> ⓘ
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> ⓘ
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