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,
}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: boolTrait Implementations§
Source§impl Clone for WarmStartOptions
impl Clone for WarmStartOptions
Source§fn clone(&self) -> WarmStartOptions
fn clone(&self) -> WarmStartOptions
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 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
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