pub struct Outcome {
pub termination: String,
pub claim: String,
pub feasible: Option<bool>,
pub objective: Option<f64>,
pub x: Option<Vec<f64>>,
pub details: Value,
pub evidence: Option<Evidence>,
pub objective_bounds: Option<ObjectiveBounds>,
pub imprecise: bool,
}Fields§
§termination: StringWhy the task stopped, in the solver’s words (evaluation_limit,
optimal, converged, cancelled, …). Never a claim.
claim: StringOne of CLAIMS. A non_dominated_set describes a set of points in
details and has no single x or objective.
feasible: Option<bool>§objective: Option<f64>§x: Option<Vec<f64>>§details: Value§evidence: Option<Evidence>How the claim is supported. Workers of protocol 0.2 always report it;
a record without it predates 0.2 and is only claimed.
objective_bounds: Option<ObjectiveBounds>Best objective of a feasible point (primal) and a proven bound on the optimum (dual), in the model’s own sense.
imprecise: boolThe engine reported success only at relaxed accuracy. Qualifies the
claim; never set together with none.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Outcome
impl<'de> Deserialize<'de> for Outcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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