pub struct MILPOptions<S: Scalar> {
pub max_nodes: usize,
pub int_tol: S,
pub lp_tol: S,
pub gap_tol: S,
pub verbose: bool,
}Expand description
Options for the MILP branch-and-bound solver.
Fields§
§max_nodes: usizeMaximum number of branch-and-bound nodes to explore.
int_tol: STolerance for considering a value integer-feasible.
lp_tol: STolerance for the LP sub-solver.
gap_tol: SRelative gap tolerance for termination.
verbose: boolPrint progress information.
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for MILPOptions<S>
impl<S: Clone + Scalar> Clone for MILPOptions<S>
Source§fn clone(&self) -> MILPOptions<S>
fn clone(&self) -> MILPOptions<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for MILPOptions<S>where
S: Freeze,
impl<S> RefUnwindSafe for MILPOptions<S>where
S: RefUnwindSafe,
impl<S> Send for MILPOptions<S>
impl<S> Sync for MILPOptions<S>
impl<S> Unpin for MILPOptions<S>where
S: Unpin,
impl<S> UnsafeUnpin for MILPOptions<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MILPOptions<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