pub struct RestartRequest {
pub seed_x: Vec<f64>,
pub options: Vec<(String, String)>,
pub warm: Option<IterateSnapshot>,
}Expand description
Request to re-run the solve from a captured point with new options.
Written by the resolve command into the shared RestartCell and
read by the CLI after the solve unwinds.
Fields§
§seed_x: Vec<f64>Primal seed (the algorithm-space x at the time of resolve).
Also drives sweep / multistart, where only x varies.
options: Vec<(String, String)>set opt edits staged during the session, to apply before re-solve.
warm: Option<IterateSnapshot>Full primal-dual iterate (all 8 blocks + μ) captured at the pause,
for a true warm resolve that continues from the current interior
point. None for primal-only restarts (sweep / multistart). When
present, the CLI installs it via set_warm_start_iterate and turns
on warm_start_init_point / warm_start_target_mu.
Auto Trait Implementations§
impl !RefUnwindSafe for RestartRequest
impl !Send for RestartRequest
impl !Sync for RestartRequest
impl !UnwindSafe for RestartRequest
impl Freeze for RestartRequest
impl Unpin for RestartRequest
impl UnsafeUnpin for RestartRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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