pub struct RobustResult<S: Scalar> {
pub x: Vec<S>,
pub f_nominal: S,
pub f_worst_case: S,
pub x_std: Vec<S>,
pub converged: bool,
pub message: String,
pub iterations: usize,
pub wall_time_secs: f64,
pub sensitivity: Option<ParamSensitivity<S>>,
}Expand description
Result of robust optimization.
Fields§
§x: Vec<S>Optimal decision variables.
f_nominal: SNominal objective value (at mean parameters).
f_worst_case: SWorst-case objective value.
x_std: Vec<S>Solution uncertainty: std dev of each x_i due to parameter uncertainty.
converged: boolWhether the optimizer converged.
message: StringStatus message.
iterations: usizeIterations.
wall_time_secs: f64Wall time.
sensitivity: Option<ParamSensitivity<S>>Parametric sensitivity (dx*/dp) if computed.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for RobustResult<S>where
S: Freeze,
impl<S> RefUnwindSafe for RobustResult<S>where
S: RefUnwindSafe,
impl<S> Send for RobustResult<S>
impl<S> Sync for RobustResult<S>
impl<S> Unpin for RobustResult<S>where
S: Unpin,
impl<S> UnsafeUnpin for RobustResult<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for RobustResult<S>where
S: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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