pub struct MilpOptions {
pub mip_rel_gap: f64,
pub node_limit: usize,
pub integrality_tolerance: f64,
}Expand description
Options for milp (SciPy’s options).
Fields§
§mip_rel_gap: f64Stop when the gap between the best integer solution and the best bound, relative to the former, is at most this (HiGHS’s default 10⁻⁴).
node_limit: usizeThe largest number of branch-and-bound nodes (LP relaxations) to solve.
integrality_tolerance: f64How far from an integer a value may be and still count as one (HiGHS’s 10⁻⁶).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MilpOptions
impl RefUnwindSafe for MilpOptions
impl Send for MilpOptions
impl Sync for MilpOptions
impl Unpin for MilpOptions
impl UnsafeUnpin for MilpOptions
impl UnwindSafe for MilpOptions
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