pub struct StartingPoint<'a> {
pub init_x: bool,
pub x: &'a mut [f64],
pub init_z: bool,
pub z_l: &'a mut [f64],
pub z_u: &'a mut [f64],
pub init_lambda: bool,
pub lambda: &'a mut [f64],
}Expand description
Starting-point target buffers passed into TNLP::get_starting_point.
Each init_* flag matches upstream — mostly false unless warm-starting.
Fields§
§init_x: bool§x: &'a mut [f64]§init_z: bool§z_l: &'a mut [f64]§z_u: &'a mut [f64]§init_lambda: bool§lambda: &'a mut [f64]Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for StartingPoint<'a>
impl<'a> Freeze for StartingPoint<'a>
impl<'a> RefUnwindSafe for StartingPoint<'a>
impl<'a> Send for StartingPoint<'a>
impl<'a> Sync for StartingPoint<'a>
impl<'a> Unpin for StartingPoint<'a>
impl<'a> UnsafeUnpin for StartingPoint<'a>
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<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