pub struct InfPrFloor { /* private fields */ }Expand description
Running evidence, over one solve, that it found a floor on the constraint violation and could not get below it.
Fed once per outer iteration from the value already computed for the
inf_pr column, so it costs no function evaluations. The restoration
sub-IPM has its own InfPrFloor on its own IpoptData, measuring
its own (restoration) NLP; the guard reads the outer one.
Implementations§
Source§impl InfPrFloor
impl InfPrFloor
Sourcepub fn observe(&mut self, inf_pr: Number)
pub fn observe(&mut self, inf_pr: Number)
Record the scaled primal infeasibility at one iterate.
Sourcepub fn iters_at_floor(&self) -> Index
pub fn iters_at_floor(&self) -> Index
How many iterates sat within an order of magnitude of the floor
this solve settled at. 0 when nothing was observed.
Trait Implementations§
Source§impl Clone for InfPrFloor
impl Clone for InfPrFloor
Source§fn clone(&self) -> InfPrFloor
fn clone(&self) -> InfPrFloor
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 moreimpl Copy for InfPrFloor
Source§impl Debug for InfPrFloor
impl Debug for InfPrFloor
Source§impl Default for InfPrFloor
impl Default for InfPrFloor
Source§impl PartialEq for InfPrFloor
impl PartialEq for InfPrFloor
impl StructuralPartialEq for InfPrFloor
Auto Trait Implementations§
impl Freeze for InfPrFloor
impl RefUnwindSafe for InfPrFloor
impl Send for InfPrFloor
impl Sync for InfPrFloor
impl Unpin for InfPrFloor
impl UnsafeUnpin for InfPrFloor
impl UnwindSafe for InfPrFloor
Blanket Implementations§
impl<T> Boilerplate for T
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,
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