pub struct IndicatorReformulationOptions { /* private fields */ }Expand description
Settings for explicit indicator-to-MILP reformulation.
Implementations§
Source§impl IndicatorReformulationOptions
impl IndicatorReformulationOptions
Sourcepub const fn with_fallback_big_m(self, big_m: f64) -> Self
pub const fn with_fallback_big_m(self, big_m: f64) -> Self
Use big_m as the row M only where finite variable bounds cannot derive one.
pub const fn fallback_big_m(self) -> Option<f64>
Trait Implementations§
impl Copy for IndicatorReformulationOptions
impl StructuralPartialEq for IndicatorReformulationOptions
Auto Trait Implementations§
impl Freeze for IndicatorReformulationOptions
impl RefUnwindSafe for IndicatorReformulationOptions
impl Send for IndicatorReformulationOptions
impl Sync for IndicatorReformulationOptions
impl Unpin for IndicatorReformulationOptions
impl UnsafeUnpin for IndicatorReformulationOptions
impl UnwindSafe for IndicatorReformulationOptions
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