pub struct LPConfig {
pub backend: LPBackend,
pub node_selection: NodeSelection,
pub branching: BranchingStrategy,
pub max_nodes: usize,
pub time_limit_ms: u64,
pub int_tolerance: BigRational,
pub opt_gap: BigRational,
pub presolve: bool,
pub cutting_planes: bool,
pub verbosity: u32,
}Expand description
LP/MIP solver configuration
Fields§
§backend: LPBackendBackend to use
node_selection: NodeSelectionNode selection strategy
branching: BranchingStrategyBranching strategy
max_nodes: usizeMaximum nodes to explore in branch-and-bound
time_limit_ms: u64Time limit in milliseconds (0 = unlimited)
int_tolerance: BigRationalTolerance for integer feasibility
opt_gap: BigRationalTolerance for optimality gap
presolve: boolEnable presolve
cutting_planes: boolEnable cutting planes
verbosity: u32Verbosity level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LPConfig
impl RefUnwindSafe for LPConfig
impl Send for LPConfig
impl Sync for LPConfig
impl Unpin for LPConfig
impl UnsafeUnpin for LPConfig
impl UnwindSafe for LPConfig
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