pub struct AdjustedBounds {
pub adjusted: usize,
pub x_l: Box<dyn Vector>,
pub x_u: Box<dyn Vector>,
pub d_l: Box<dyn Vector>,
pub d_u: Box<dyn Vector>,
}Expand description
Result of IpoptCalculatedQuantities::adjusted_trial_bounds: the
new x_L / x_U / d_L / d_U to install on the NLP when one or more
trial slacks were corrected by the safe-slack mechanism.
Fields§
§adjusted: usizeTotal number of slack components corrected across all four blocks.
x_l: Box<dyn Vector>§x_u: Box<dyn Vector>§d_l: Box<dyn Vector>§d_u: Box<dyn Vector>Auto Trait Implementations§
impl !RefUnwindSafe for AdjustedBounds
impl !Send for AdjustedBounds
impl !Sync for AdjustedBounds
impl !UnwindSafe for AdjustedBounds
impl Freeze for AdjustedBounds
impl Unpin for AdjustedBounds
impl UnsafeUnpin for AdjustedBounds
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