pub struct AlgorithmBundle {
pub mu_update: Box<dyn MuUpdate>,
pub conv_check: Box<dyn ConvCheck>,
pub init: Box<dyn IterateInitializer>,
pub eq_mult: Box<dyn EqMultCalculator>,
pub hess: Box<dyn HessianUpdater>,
pub line_search: BacktrackingLineSearch,
pub iter_output: Box<dyn IterationOutput>,
pub search_dir: Option<PdSearchDirCalc>,
}Expand description
Assembled strategy bundle. Phase 7 ships the structural bundle;
IpoptAlgorithm::new reads from this when it lands.
Fields§
§mu_update: Box<dyn MuUpdate>§conv_check: Box<dyn ConvCheck>§init: Box<dyn IterateInitializer>§eq_mult: Box<dyn EqMultCalculator>§hess: Box<dyn HessianUpdater>§line_search: BacktrackingLineSearch§iter_output: Box<dyn IterationOutput>§search_dir: Option<PdSearchDirCalc>Some when the builder was given a LinearBackendFactory;
None for the bare structural bundle that pre-Phase-6 unit
tests still rely on.
Auto Trait Implementations§
impl Freeze for AlgorithmBundle
impl !RefUnwindSafe for AlgorithmBundle
impl !Send for AlgorithmBundle
impl !Sync for AlgorithmBundle
impl Unpin for AlgorithmBundle
impl UnsafeUnpin for AlgorithmBundle
impl !UnwindSafe for AlgorithmBundle
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> 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