pub struct NativeOptions {Show 121 fields
pub time_limit_seconds: Option<f64>,
pub node_limit: Option<u64>,
pub mip_relative_gap: Option<f64>,
pub mip_absolute_gap: Option<f64>,
pub iteration_limit: Option<u64>,
pub pivot_tolerance: f64,
pub dual_tolerance: f64,
pub max_factor_entries: usize,
pub refactor_interval: usize,
pub adaptive_refactor: bool,
pub basis_update: BasisUpdate,
pub factor_pivot_search: usize,
pub factor_ordering: FactorOrdering,
pub steepest_edge: bool,
pub presolve: bool,
pub redundant_rows: bool,
pub redundant_row_min_ratio: f64,
pub node_reoptimization: bool,
pub strong_branching: bool,
pub reliability_branching: bool,
pub reliability_threshold: u32,
pub reliability_max_probes: u64,
pub reduced_cost_fixing: bool,
pub mixed_fix_trials: usize,
pub proof_conflict_limit: usize,
pub choice_tree_cut_interval: u64,
pub choice_tree_cut_limit: usize,
pub branch_probe_score: bool,
pub branch_probe_proofs: bool,
pub root_probe_limit: usize,
pub dive_node_limit: usize,
pub estimated_diving: bool,
pub repair_integral_leaves: bool,
pub dual_cutoff_interval: u64,
pub root_cut_delay: usize,
pub root_cut_gap: f64,
pub root_cut_progress: f64,
pub cutoff_pseudocosts: bool,
pub branch_probe_pivot_share: u64,
pub branch_probe_actual_work: bool,
pub mixed_fix_depth: usize,
pub mixed_root_rounds: usize,
pub root_refit_sweeps: usize,
pub root_refit_fraction: f64,
pub choice_route_depth: usize,
pub choice_pair_depth: usize,
pub choice_local_depth: usize,
pub choice_local_rounds: usize,
pub safe_node_pruning: bool,
pub choice_order_presolve: bool,
pub incumbent_heuristic: bool,
pub rational_certification: bool,
pub feasibility_jump: bool,
pub feasibility_jump_steps: u64,
pub local_mip_effort: u64,
pub local_mip_seed: u64,
pub objective_lattice: bool,
pub decompose: bool,
pub decomposition_min_variables: usize,
pub component_threads: usize,
pub component_parallel_min_entries: usize,
pub root_cuts: bool,
pub root_separation: bool,
pub mip_presolve: bool,
pub integer_equality_presolve: bool,
pub objective_cutoff_bounds: bool,
pub adaptive_root: bool,
pub coefficient_tightening: bool,
pub dual_presolve: bool,
pub mip_presolve_rounds: usize,
pub gmi_cuts: bool,
pub mir_cuts: bool,
pub mip_cut_rounds: usize,
pub mip_cut_limit: usize,
pub cut_exact_work: u64,
pub root_heuristics: bool,
pub grouped_heuristics: bool,
pub ordered_group_cuts: bool,
pub choice_mass_rounds: usize,
pub choice_route_passes: usize,
pub choice_route_restarts: usize,
pub heuristic_lp_calls: usize,
pub branching_score: String,
pub pseudocost_min_step: f64,
pub branch_trace_limit: usize,
pub root_cut_rounds: usize,
pub cover_lifting: bool,
pub root_propagation: bool,
pub mixed_propagation: bool,
pub singleton_presolve: bool,
pub avoid_dominant_components: bool,
pub devex: bool,
pub adaptive_pricing: bool,
pub factor_replay: bool,
pub mip_diagnostics: bool,
pub mip_trace_limit: usize,
pub packing_root: bool,
pub packing_root_iterations: usize,
pub packing_root_work: u64,
pub packing_neighborhoods: usize,
pub packing_neighborhood_size: usize,
pub packing_workers: usize,
pub packing_neighborhood_nodes: u64,
pub packing_cuts: bool,
pub packing_cut_work: u64,
pub packing_combine_repairs: bool,
pub packing_rounds: usize,
pub packing_neighborhood_growth: usize,
pub packing_seed_strategy: String,
pub packing_residual_cliques: bool,
pub packing_clique_work: u64,
pub packing_price_diagnostics: bool,
pub packing_repair_seconds: Option<f64>,
pub packing_proof_seconds: Option<f64>,
pub partial_dual_bounds: bool,
pub scalable_branching: bool,
pub branch_probe_candidates: usize,
pub branch_probe_pivots: u64,
pub branch_probe_work: u64,
pub tree_threads: usize,
pub tree_split_depth: usize,
}Expand description
Native controls.
Fields§
§time_limit_seconds: Option<f64>Whole-call cooperative wall-time limit, including conversion/checks.
node_limit: Option<u64>Number of LP relaxations processed in a MIP.
mip_relative_gap: Option<f64>Relative MIP gap limit, |incumbent-bound|/|incumbent|; off by default. Zero retains a complete solve. Ignored for continuous LPs.
mip_absolute_gap: Option<f64>Absolute MIP gap limit in original objective units; off by default.
iteration_limit: Option<u64>Total simplex iterations across the solve, including all MIP nodes.
pivot_tolerance: f64Smallest pivot-row entry accepted by the scaled dual ratio test.
dual_tolerance: f64Independent relative duality and dual-sign acceptance threshold.
max_factor_entries: usizeCap on stored LU and eta entries of one basis factorization.
refactor_interval: usizeMaximum basis updates before rebuilding LU; excessive eta fill rebuilds sooner.
adaptive_refactor: boolRebuild large dense bases using accumulated update-work estimates.
basis_update: BasisUpdateBasis-update strategy; auto adapts to observed update and factor fill.
factor_pivot_search: usizeMarkowitz candidates examined after a feasible pivot is found (1..=64).
factor_ordering: FactorOrderingOptional bounded minimum-degree advice for sparse pivot selection.
steepest_edge: boolDual steepest-edge pricing; false prices by largest infeasibility.
presolve: boolDrop free rows and feasible empty rows before simplex.
redundant_rows: boolAlso drop rows whose activity over the root box is conservatively feasible.
redundant_row_min_ratio: f64Scan row redundancy only when m/n reaches this threshold; zero forces scanning.
node_reoptimization: boolReoptimize branch-and-bound children from the parent basis.
strong_branching: boolBounded root lookahead on eligible multi-constraint MIPs.
reliability_branching: boolBounded early-node probes until directional pseudocosts are reliable.
reliability_threshold: u32§reliability_max_probes: u64§reduced_cost_fixing: boolFix integer bound values using conservative opposite-domain dual bounds.
mixed_fix_trials: usizeMaximum opposite-branch certificates at a shallow mixed MIP node. Zero preserves the baseline reduced-cost fixing policy.
proof_conflict_limit: usizeMaximum stored binary clauses proved from dual cutoffs.
choice_tree_cut_interval: u64Search-node interval between global mining separation attempts.
choice_tree_cut_limit: usizeTotal global mining cuts separated below the shallow tree.
branch_probe_score: boolRank strong-branch candidates using their pseudocosts.
branch_probe_proofs: boolKeep verified child bounds and infeasibility proofs from strong branching.
root_probe_limit: usizeMaximum incumbent-opposite LP probes after root separation.
dive_node_limit: usizeReturn to the best-bound queue after this many consecutive dive nodes.
estimated_diving: boolPrefer the child with the smaller estimated directional gain.
repair_integral_leaves: boolRepair rejected rounded leaves or preserve their remaining search domains.
dual_cutoff_interval: u64Check a likely verified cutoff after this many warm simplex pivots. Zero disables it.
root_cut_delay: usizeNumber of mining rounds before the first generic separation round.
root_cut_gap: f64Skip generic root cuts when the certified absolute gap is at most this value.
root_cut_progress: f64Relative improvement that resets the root separation stagnation counter.
cutoff_pseudocosts: boolRecord a direction observation when a warm LP produces a safe cutoff.
Add one probe pivot per this many other pivots. Replaces the maximum probe count when positive.
branch_probe_actual_work: boolCharge spent probe pivots rather than their reservation.
mixed_fix_depth: usizeLast depth for mixed reduced-cost fixing. Zero admits every depth.
mixed_root_rounds: usizeRoot reoptimization rounds after incumbent-preserving mixed fixings.
root_refit_sweeps: usizeRevisit the root dual when the content of the certified incumbent improves.
root_refit_fraction: f64Minimum improvement as a fraction of the initial root gap.
choice_route_depth: usizePropagate chronological and fuel support below this depth, 0 disables it.
choice_pair_depth: usizePropagate epoch, sign and mass intervals below this depth, 0 disables it.
choice_local_depth: usizeCheck additional mass cuts in a separate LP below this depth.
choice_local_rounds: usizeLimit a shallow node’s mass separation to this many rounds.
safe_node_pruning: boolCertify a likely node cutoff before accepting its primal relaxation.
choice_order_presolve: boolTighten mining pairs whose clock order follows from choice precedence.
incumbent_heuristic: boolIndependently checked rounding and bounded unit-move incumbents.
rational_certification: boolExact rational fixed-integer boundary witnesses, bounded by dimension/bit caps.
feasibility_jump: boolBounded serial root Feasibility Jump prototype.
feasibility_jump_steps: u64§local_mip_effort: u64Coefficient visits for an experimental tight-move search at the serial MIP root. Zero disables it. The local wall limit is 250 ms, including setup.
local_mip_seed: u64Reproducible sampling and tie breaking for LocalMIP.
objective_lattice: boolTighten conservative bounds to a verified integral objective lattice.
decompose: boolSplit independent restricted-row components before solving.
decomposition_min_variables: usizeSkip graph discovery below this variable count.
component_threads: usizeMaximum workers for independent components, 1 through 16.
component_parallel_min_entries: usizeSolve components serially unless their average size (nonzeros plus rows plus columns) reaches this value; zero forces workers.
root_cuts: boolAdd bounded exact binary cover cuts before building LP caches.
root_separation: boolLP-directed root cover separation, rebuilding caches before search.
mip_presolve: boolMIP root presolve: bounded exact/outward bound propagation, probing on binaries, and removal of rows the box proves redundant (rows are freed, not renumbered). Keeps every feasible point. On by default.
integer_equality_presolve: boolBounded residue propagation on certified short integer equalities.
objective_cutoff_bounds: boolAllow a certified incumbent to supply finite bounds for MIP admission. Requires presolve and root propagation.
adaptive_root: boolChoose bounded root separation for general MIPs.
coefficient_tightening: boolExact big-M coefficient tightening on unfixed binary columns of one-sided rows; keeps every integer-feasible point. On by default.
dual_presolve: boolObjective-directed fixing of empty and singleton columns. Preserves an optimum, not the feasible set.
mip_presolve_rounds: usizePresolve passes, 0 through 32.
gmi_cuts: boolGomory mixed-integer root cuts, derived exactly from advisory optimal-tableau rows.
mir_cuts: boolMixed-integer rounding root cuts on model rows, with exact variable-upper-bound substitution.
mip_cut_rounds: usizeRoot cut rounds for GMI/MIR, 0 through 50. Rounds also stop after three with under 0.1% objective change.
mip_cut_limit: usizeCuts selected per round, 1 through 64.
cut_exact_work: u64Exact-arithmetic work per separation round, in charged limb operations, at most 100,000,000. Also bounds coefficient tightening.
root_heuristics: boolChecked root rounding, guided diving and L1 feasibility-pump projections. Their LPs never supply bounds.
grouped_heuristics: boolBounded LP-guided sub-MIPs for disjoint exactly-one binary groups.
ordered_group_cuts: boolAdd incompatibility cliques from comparisons of exactly-one group values.
choice_mass_rounds: usizeBounded root rounds for verified absolute differences of one-hot choices.
choice_route_passes: usizeIncumbent improvement passes over recognized chains of one-hot choices.
choice_route_restarts: usizeNumber of deterministic route orders in the incumbent heuristic.
heuristic_lp_calls: usizeLP solves the root heuristics may use, 0 through 128.
branching_score: StringPseudocost score: weighted_sum (0.8 min + 0.2 max, the default) or
product.
pseudocost_min_step: f64Floor on the branching step when normalizing pseudocost gains, in 0..=0.5; zero keeps the unclamped gain.
branch_trace_limit: usizeBranching decisions recorded in diagnostics.branch_trace, 0
through 256.
root_cut_rounds: usizeLP-directed cover separation rounds for root_separation, 0 through 4.
cover_lifting: boolLift the covers found by root_separation.
root_propagation: boolInfer sound mixed MIP root bounds before finite-domain admission.
mixed_propagation: boolConservative node propagation for finite mixed/nonintegral rows.
singleton_presolve: boolRemove exactly reversible singleton rows before factorization.
avoid_dominant_components: boolKeep large near-monolithic models in a single numerical solve.
devex: boolUse bounded Devex-style approximate weights instead of exact DSE maintenance.
adaptive_pricing: boolChoose column pricing for dense BTRAN support when estimated work is lower.
factor_replay: boolReplay validated numerical pivots for identical basis signatures.
mip_diagnostics: boolCollect bounded observational MIP search diagnostics in backend metadata.
mip_trace_limit: usizeMaximum retained search events (0 means summaries only, at most 4096).
packing_root: boolGreedy incumbent plus a factorization-free primal-dual root pass whose prices give a checked upper bound. Also enables the packing driver.
packing_root_iterations: usizeFirst-order root steps, at most 100000.
packing_root_work: u64Root work cap in matrix/vector units, 2*nnz+4*n+4*m per step.
packing_neighborhoods: usizeResidual repair tasks per round, at most 4096; positive enables the packing driver.
packing_neighborhood_size: usizeMaximum columns per residual, 4..=1024.
packing_workers: usizeResidual workers, 1..=16. Fixed-work results do not depend on it.
packing_neighborhood_nodes: u64Node ceiling per residual task, at most 100000.
packing_cuts: boolHint-directed triangle and odd-cycle cuts before the proof search.
packing_cut_work: u64Edge-visit cap of that separator, at most 100000000.
packing_combine_repairs: boolMerge compatible improving repairs of one snapshot batch.
packing_rounds: usizeRepair rounds, 1..=32; packing_neighborhoods * packing_rounds <= 4096.
packing_neighborhood_growth: usizeExtra residual columns per round, at most 1024 (capacity saturates at 1024).
packing_seed_strategy: StringRepair seeds: "incumbent", "rejected" or "mixed".
packing_residual_cliques: boolLocal clique cuts inside each residual before it is solved.
packing_clique_work: u64Operation cap of the local clique separator per task, at most 1000000.
packing_price_diagnostics: boolReport the best checked root prices as diagnostics.packing_root_prices.
packing_repair_seconds: Option<f64>Wall-time cap of the repair phase (finite, nonnegative; 0 skips it).
packing_proof_seconds: Option<f64>Wall-time cap of the exact search after repairs (finite,
nonnegative; 0 skips it and returns time_limit).
partial_dual_bounds: boolConservative bound from current prices of an interrupted simplex solve.
scalable_branching: boolReliability probing on a bounded shortlist, without the old size gate.
branch_probe_candidates: usizeShortlist size of scalable probing, 1..=16.
branch_probe_pivots: u64Pivots reserved per probe direction, at most 1024.
branch_probe_work: u64Cumulative probe-work reservation per serial search, at most 1e10.
tree_threads: usizeWorkers for the disjoint binary frontier, 1..=16 (1 disables it).
tree_split_depth: usizeFrontier depth, at most 8: 2^depth disjoint subtrees (0 disables it).
Implementations§
Source§impl NativeOptions
impl NativeOptions
Trait Implementations§
Source§impl Clone for NativeOptions
impl Clone for NativeOptions
Source§impl Debug for NativeOptions
impl Debug for NativeOptions
Source§impl Default for NativeOptions
impl Default for NativeOptions
Source§impl PartialEq for NativeOptions
impl PartialEq for NativeOptions
impl StructuralPartialEq for NativeOptions
Auto Trait Implementations§
impl Forget for NativeOptions
impl Freeze for NativeOptions
impl Move for NativeOptions
impl RefUnwindSafe for NativeOptions
impl Send for NativeOptionswhere
RawVecInner: Send,
impl Sync for NativeOptionswhere
RawVecInner: Sync,
impl Unpin for NativeOptions
impl UnsafeUnpin for NativeOptions
impl UnwindSafe for NativeOptionswhere
RawVecInner: 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
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> ⓘ
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> ⓘ
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