pub struct SosReformulationOptions { /* private fields */ }Expand description
Settings for an SOS-to-MILP reformulation.
Implementations§
Source§impl SosReformulationOptions
impl SosReformulationOptions
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 for an SOS member side whose variable bound is infinite.
Finite variable bounds are always preferred.
pub const fn fallback_big_m(self) -> Option<f64>
Trait Implementations§
Source§impl Clone for SosReformulationOptions
impl Clone for SosReformulationOptions
impl Copy for SosReformulationOptions
Source§impl Debug for SosReformulationOptions
impl Debug for SosReformulationOptions
Source§impl Default for SosReformulationOptions
impl Default for SosReformulationOptions
Source§impl PartialEq for SosReformulationOptions
impl PartialEq for SosReformulationOptions
impl StructuralPartialEq for SosReformulationOptions
Auto Trait Implementations§
impl Freeze for SosReformulationOptions
impl RefUnwindSafe for SosReformulationOptions
impl Send for SosReformulationOptions
impl Sync for SosReformulationOptions
impl Unpin for SosReformulationOptions
impl UnsafeUnpin for SosReformulationOptions
impl UnwindSafe for SosReformulationOptions
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