pub struct IndicatorEvaluatedData {
pub evaluated_value: f64,
pub feasible: bool,
pub indicator_active: bool,
pub used_decision_variable_ids: VariableIDSet,
}Expand description
Data carried by an indicator constraint in the Evaluated stage.
Unlike regular EvaluatedData, this records
whether the indicator variable was active and does not include a dual variable
(duals are not well-defined for indicator constraints).
Fields§
§evaluated_value: f64§feasible: bool§indicator_active: boolWhether the indicator variable was active (ON) at evaluation time.
used_decision_variable_ids: VariableIDSetTrait Implementations§
Source§impl Clone for IndicatorEvaluatedData
impl Clone for IndicatorEvaluatedData
Source§fn clone(&self) -> IndicatorEvaluatedData
fn clone(&self) -> IndicatorEvaluatedData
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 moreSource§impl Debug for IndicatorEvaluatedData
impl Debug for IndicatorEvaluatedData
Source§impl PartialEq for IndicatorEvaluatedData
impl PartialEq for IndicatorEvaluatedData
impl StructuralPartialEq for IndicatorEvaluatedData
Auto Trait Implementations§
impl Freeze for IndicatorEvaluatedData
impl RefUnwindSafe for IndicatorEvaluatedData
impl Send for IndicatorEvaluatedData
impl Sync for IndicatorEvaluatedData
impl Unpin for IndicatorEvaluatedData
impl UnsafeUnpin for IndicatorEvaluatedData
impl UnwindSafe for IndicatorEvaluatedData
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> 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