Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Changelog

All notable changes to LP-IP-craft are documented here. Versions are the workspace version in Cargo.toml (Rust crates, Python package lp-ip-craft and the job worker share it). A tag vX.Y.Z publishes that version to PyPI and crates.io (RELEASING.md); dates are those of the commits that set each version.

Versions 0.4.0-0.15.0 and 0.21.0-0.23.0 were developed outside this repository and never set on its main branch. They arrived with the imports that set 0.16.0 and 0.24.0 and are summarized in those sections. References such as (#5) are pull requests.

[Unreleased]

Added

  • Opt-in entering-column FTRAN reach seeded by the matrix column support.
  • Opt-in dominated-column dual presolve for certified binary exchanges.
  • Opt-in retained root dual bounds for incumbent-preserving binary fixings.
  • Opt-in binary-probe affine bounds for root affine GMI and path c-MIR, derived with conservative mixed-row propagation.
  • Opt-in one-sided Farkas repair with bounded rounding trials and re-verification against the original node box.
  • Opt-in exact proportional column merging for MIPs, including nonunit scales with gap-free integral intervals and reversible postsolve.
  • Opt-in transformed path c-MIR with exact affine lower and upper links, integer complement trials, and path work diagnostics.
  • Opt-in affine bound substitution for exact GMI through the same coordinate map.
  • Opt-in exact equal or opposite column merging for MIPs, with reversible postsolve and original-model point checks.
  • Opt-in tree restart voting based on estimated remaining branch work and certified gap progress.
  • Opt-in adaptive reliability branching, root-solution dive ordering, queued RINS and RENS with shared pivot limits, and one certified improving-domain tree restart. Added root primal pivot budgeting and root separation diagnostics.
  • GMI computes tableau rows on demand. Cut selection caches violation scores and verifies row duplicates through a coefficient index.
  • Opt-in node_separation for the finite-bound general MIP search. It reuses dropped root cuts and adds globally valid exact MIR at queued nodes within a bounded cut pool and a configurable node_cut_rounds limit. Available in Rust and Python.
  • Independent pricing of dropped root cuts and fresh MIR, active cut retirement, and propagation from active pool rows. Binary probe implications and exact conflict replay are available in the general tree.
  • Opt-in exact parallel-row merging, doubleton substitution and short implied-free equality aggregation with original-model checks. Also added implied integrality, monotone objective fixing and small binary-row enumeration.
  • benchmarks/generic/validate_path_cmir.py checks transformed path c-MIR, affine GMI and probing-derived bounds against HiGHS on small fixed-charge networks (in CI). validate_search.py gains arms for the new options and can plant parallel, proportional and dominated columns.
  • HiGHS-derived search options, all opt-in (Rust and Python; see docs/api.md): clique_cuts (a conflict graph of binary literals extracted exactly from the rows, with root clique separation), path_cuts (c-MIR on exact aggregations of up to six rows that cancel continuous columns), node_selection = "hybrid" (bound and pseudocost estimate, best bound every tenth node), plunge_limit (depth-first plunging after a queue selection), branching_score = "highs" (pseudocost product with inference and cutoff statistics), rins_interval (RINS sub-MIPs in the tree under a 5 % pivot budget) and restart_fixing_rate (MIP presolve and the root stage once more after enough root fixings).
  • benchmarks/generic: a generic MIPLIB 3 panel (60 models from coin-or-tools/Data-Miplib3 with pinned SHA-256, a fixed tuning/test split and the five previously tuned models as controls), a runner for native profiles and HiGHS option ablations, the profiles stock, existing, highs_like and highs_search, and validate_search.py, which checks the new options against HiGHS on random MIPs with near ties (in CI). The oracle solves each model with HiGHS with and without presolve and accepts an optimum only if its point passes evaluate, because HiGHS’s presolve can misjudge a near tie.
  • Multiple subset sum presolve, on by default for cold maximization MIPs. It recognizes complete binary assignments: every item row allows one bin, and each bin row charges exactly the item’s objective weight. The bound is the sum of the bins’ best reachable fills, computed independently per bin. When a packing that attains it passes the original-model check, the solve returns optimal at the root; otherwise the bound is passed to the general search and kept on its result (diagnostics.subset_sum_upper). A maximization MIP with a row whose upper bound lies below zero while its activity cannot be negative is reported infeasible at once. On the 10,000 MILPBench HEM_knapsack inputs every solve is a proof (9,996 optima, 4 infeasible), median 0.56 ms end-to-end against 360 ms for HiGHS 1.16.0 (benchmarks/milpbench).
  • integral_slack_reduction (off by default) proves cold serial minimization MIPs with a bounded common continuous sum, one local binary and one local integer slack per row, and shared integer columns with nonnegative row effects. Each row’s local cost is tabulated by required slack level; shared integers are fixed at zero only when an exact dominance argument holds for every one of them, and the common sum is enumerated at integer values. The restored point is checked on the original model and must reach the proved bound; anything else falls back to the general search. It proves all 90 MILPBench HEM_mik models, median 0.023 s end-to-end against 2.36 s for HiGHS and 0.15 s for Gurobi 14.0.0. Available in Rust, Python and the job worker.
  • weighted_stock_search (off by default) is a serial branch-and-price for small production-stock chains with binary openings, quarter-unit opening prices and shared time capacities. Lower bounds come from exact integer pricing of every chain at nonnegative capacity prices; every incumbent is a checked original-model point. MIPLIB 3 vpm2 is proved at 13.75 in all ten cold and ten warm runs (median 0.79/0.73 s; HiGHS 1.45/3.26 s; Gurobi 0.14/0.16 s). Rust and Python.
  • large_rational_witness (off by default) admits the sparse exact incumbent reconstruction on inputs up to 131,072 rows plus columns and 262,144 nonzeros, with the same work budgets and the same check of all original rows and bounds. Available in Rust, Python and the job worker.
  • benchmarks/milpbench: the contributed MILPBench round (four collections, 10,142 original LPs, against HiGHS 1.16.0 and Gurobi 14.0.0), a fetch-and-solve runner with pinned archive hashes and member manifests, the per-model scorecards, and validate_structural.py, which checks the subset sum presolve and integral_slack_reduction against HiGHS on random models and near misses in CI. The fc.data, transportation and long-horizon unit-commitment results of that round come from application drivers outside this repository.
  • lot_sizing_cut_limit (1–512, default 96) sets the interval cuts added per lot-sizing round, and lot_sizing_zero_dual_limit (0–512, off by default) also drops tight zero-price cuts after interval separation, keeping the shortest ones up to the limit. one_sided_shrink_first (off by default) tries slightly shrunken row prices first on open domains. Rust and Python. With the new *-retain profiles of benchmarks/gurobi-gap/test2.py, pp08a, pp08aCUTS and set1ch were proved in all ten cold runs, medians 0.31/0.30/0.086 s against HiGHS at 1.11/0.98/0.30 s and Gurobi at 0.40/0.21/0.074 s. The profiles are tuned on these three models.
  • block_symmetry_bits (0–8, off by default) orders interchangeable blocks in a cold MIP solve with presolve. Two blocks are exchanged only if their columns, local rows and linking-row coefficients match exactly, up to power-of-two row scaling. The added rows order the first binary columns of such blocks lexicographically. A supplied start skips the pass. Available in Rust, Python and the job worker. validate_block_symmetry.py checks it against HiGHS in CI.
  • Exact incumbent reconstruction for larger sparse MIPs. Above 4,096 rows or 8,192 columns the solver builds a sparse exact basis from equalities and near-active inequalities instead of returning model_size. Admission is capped at 32,768 rows plus columns and 100,000 nonzeros, the basis at 32,768 entries, within the existing exact work budgets. Smaller models fix continuous columns at active bounds when a residual component exceeds the dense limit. Every reconstruction is checked against all original rows and bounds before its outward objective bound prunes.
  • diagnostics.terminal_frontier in the search trace: pending nodes, how many have unknown bounds, the closed and unresolved bounds and the certified upper bound at termination.
  • PGLib-UC RTS-GMLC unit commitment (Test 4) in benchmarks/gurobi-gap, contributed. The 27 January eight-hour model was a 15 s timeout. With the new witness and an explicit profile it was proved in all ten runs. Median end-to-end time was 0.40 s, against 1.24 s for stock HiGHS 1.16.0 and 0.49 s for HiGHS with reduced heuristics. Both held-out eight-hour models were proved as well. The profile is tuned on 27 January: 12, 24 and 48 h horizons are not proved in 30 s. CI proves the January model.
  • Opt-in serial MIP search for bounded discrete variables and one-sided continuous variables. one_sided_mip retains original infinite sides, inherits checked node bounds and checks Farkas and recession evidence. Available in Rust, Python and the job worker.
  • Experimental root cut controls. flow_cover_cuts separates exact single-node flow covers with nonnegative capacity slack. root_cut_family_quota reserves slots for GMI and MIR when both run.
  • lot_sizing_cut_rounds separates interval-demand cuts on recognized production, inventory and backlog chains. The root keeps the LP basis between cut batches. The option is available in Rust, Python and the job worker.
  • Rust and Python controls for interval cuts per round and retention of zero-price root cuts. One-sided search can opt to check slightly shrunken LP prices first when the objective favors finite variable endpoints.
  • One-sided search reuses checked row-price enclosures across boxes and can verify a nearby integral completion of a continuous incumbent.
  • MIPLIB 3 Test 2 runner for pp08a, pp08aCUTS and set1ch with open continuous domains (benchmarks/gurobi-gap). With per-model profiles all ten cold repeats of each model were checked proofs. Median times were 0.50/0.36/0.14 s against HiGHS 1.16.0 at 1.12/0.96/0.30 s and Gurobi 14.0.0 at 0.40/0.22/0.07 s. The profiles are tuned on these three models and do not transfer between them. validate_one_sided.py checks the option against HiGHS on random open-domain models in CI.
  • Exact checks of single search decisions (benchmarks/exact-decisions).
    • Scope. 51 decisions from nine solves of four small frozen models: reduced-cost fixings, probe fixings, children pruned by probe bounds, in-simplex and after-optimum cutoffs, and lattice prunes.
    • Method. Each discarded region is solved with exact SCIP 10.1.0 (SoPlex 8.1.0). Each result has a VIPR certificate that viprchk accepts.
    • Result. All 51 decisions are sound: 4 tie the incumbent and 9 regions have no feasible point. Two control regions are refuted, and tampered records fail the structural check.
    • In CI. The committed results are rechecked, without SCIP.
  • decision-capture, a development feature of lp-ip-craft-native, also forwarded by the Python crate. With LPIP_DECISION_FILE set, it writes one JSON line per decision, including the box each proof covered. Normal builds, the published packages and the job worker do not include it. CI lints it and runs a capture test. It also records root group conflict cuts.
  • group_conflict_cuts (off by default), with group_conflict_rounds and group_conflict_limit: root clique cuts from rows that link two exactly-one groups, directly or through group-defined dates. Conflicts are decided exactly with a margin of four feasibility tolerances; cliques that a row already contains are skipped. Checks: an exact enumeration oracle (2,000 random models; 300 in CI) and exact SCIP on all 414 cuts of three PSPLIB J30 cases. On the PSPLIB benchmark the cuts raise three bounds but prove no further case, so the option stays opt-in.
  • diagnostics.failure_site: every numerical_failure names the check that failed, also in the message.
  • PSPLIB scheduling benchmark (benchmarks/scheduling): the 20 size-eligible J30/J60 cases of the Gurobi comparison, a fetch script with pinned SHA-256s (the PSPLIB data are not committed), native, Gurobi and HiGHS arms with an independent schedule audit.
  • balance_chain_cuts (off by default) and balance_chain_heuristic (false), contributed for MIPLIB 3 vpm1: cardinality cuts on chains of bounded stock balances whose flows are linked to binaries (modes disjoint, all, presolved, objective). Mode bound derives an objective lower bound without adding rows. It closes the solve before any LP when the start or the optional schedule heuristic is a certified point that attains the bound; otherwise the search prunes on the bound once a certified incumbent attains it. On vpm1 the bound with the heuristic proves 20 in about 1 ms cold and warm, and the bound alone in 1.5 s cold (stock: 15 s limit with bound 19). vpm2 (unequal costs) is unchanged. Checks: an enumeration oracle over 200 random chains (530 feasible assignments) for every cut and the objective bound, and exact replay of every vpm1 point.
  • mixed_lattice_pruning (off by default): prune mixed-model nodes on the rounded-up node bound when the objective is integral on every feasible point.
  • component_progress (off by default): small_first visits small serial components first, dominant skips decomposition when only one component has rows.
  • lp_ip_craft_native::rcpsp and lp_ip_craft.rcpsp.solve, contributed: a dedicated scheduler for single-mode projects (makespan, integer durations, precedence DAG, renewable capacities), without LP or MIP. Checked serial schedules, the critical-path and workload bounds, and an exact deadline search (precedence windows, compulsory parts, non-overlapping pairs, root interval energy, start-domain or overload-cover splits) whose refuted deadlines raise the lower bound. Every schedule, also from the search, is checked before it is returned.
  • Scheduler options disjunctive_pairs (on by default) and unary_edges (off), contributed: branching on both orders of two overlapping activities that cannot run together on a resource, and edge finding on sets of activities that must run one at a time. With pair branching and an adaptive second prepass (run.py --j60-profile), the J60 held-out race gives 155 proofs per repeat (three repeats) against 148 before, HiGHS 144 and, on the 156 licensed models, Gurobi 146. On all 960 instances at 15 s both together prove J30 468 and J60 384 (before 434 and 366) and lose no proof; pair branching alone proves 51 of the 52 new cases.
  • PSPLIB J30/J60 benchmark of the scheduler (benchmarks/psplib): all 960 instances, 15 s, one thread, the same 256-trial prepass for every engine, then the scheduler against HiGHS 1.16.0 and Gurobi 14.0.0 on time-indexed MIPs. On the held-out instances 7–10 (192 per family) the scheduler proves 172 J30 cases (HiGHS 154; Gurobi 160 of the 191 its license accepts) and 147 J60 cases (HiGHS 143). On the 156 J60 models Gurobi accepts, both prove 146; the PAR-2 ratio 0.90 is inconclusive. All 960: 795 proofs. The race records, their replay checker and a job generator are included; the data come from the pinned download of benchmarks/scheduling/fetch.py, which now also keeps the solution tables.

Fixed

  • A time limit or cancellation during root bound inference with one_sided_mip could leave open domains and surface as unsupported. The solve now reports the limit status and keeps a supplied start that passes the original-model check.
  • A node LP optimum that fails the residual checks gets one more solve with tighter reduced-cost tolerances. The new point must pass the same checks; otherwise the node fails as before.
  • Dual simplex on degenerate LPs. Recomputed prices forced a basic logical’s price to zero even when its cost was perturbed or shifted, so the updated reduced costs drifted from the recomputed ones at every refactorization; a Harris step clamped at zero left the entering column’s reduced cost nonzero; and passing a breakpoint whose reduced cost had the wrong sign could lower the dual objective, which let two near-zero columns flip back and forth forever. Time-indexed scheduling LPs ended with numerical_failure (9 of 60 PSPLIB runs; 24 of 60 synthetic 30-job LP relaxations, and 10 more hit a 10 s limit); now none do, and the synthetic set needs 54k pivots instead of 2.8M. New diagnostic cost_shifts.
  • A caller start that the root reductions accept within tolerance but the user’s model rejects is no longer the incumbent of the reduced search, which ended numerical_failure (“root postsolve rejected”); the start is rejected and the search proceeds.
  • Bounds that underflow under power-of-two scaling move outward by one subnormal step instead of failing with “bound out of range after power-of-two scaling”.
  • A decomposed MIP stopped by a limit reported the box bound of the whole model (0 on vpm1 and vpm2); it now sums the components’ bounds and returns a combined point: per component the better of its checked point and its part of the start, or the best box corner of a component without rows. An infeasible component makes the whole answer infeasible even when another component stopped first.
  • A positive mip_absolute_gap or mip_relative_gap never stopped mixed models whose incumbents fail the outward-rounded certification; the gap is now measured from the independently checked incumbent in that case.

Changed

  • Lattice cutoffs start one step earlier. On pure integer models with an integral objective, and on mixed ones with mixed_lattice_pruning, the in-simplex cutoff of dual_cutoff_interval and the safe_node_pruning check compute a node’s outward bound once its LP value is within one lattice step of the incumbent; the rounded bound must still reach the incumbent to prune. With mixed_lattice_pruning the in-simplex cutoff now rounds to the lattice as well. Default solves are unaffected; GTOC12 80001–80006 with the suggestions profile keep their nodes and pivots.
  • With dive_node_limit, a child that a bounded dive returns to the queue keeps its parent’s basis within the snapshot budget; before, it started from the basis of whichever node was solved last. The Test 4 proof keeps its 95 nodes.
  • GTOC12 44-asteroid search with profiles/suggestions.json: the simplex fixes change degenerate LP vertices and with them the trees. On 60 fresh clusters (60001–60030, 70001–70030, cold) the median node ratio against 0.34.0 is 1.10 and 1.22, and five of 132 runs that proved within 15 s now exceed it: 60017, 60018, and 80011 cold in all three repetitions (proved in 26.8 s).

[0.34.0] - 2026-11-30

Added

  • Native options for exactly-one scheduling models, from the GTOC12 44-asteroid work (summary and reports). They recognize exactly-one choice rows with the continuous values they select and add root incompatibility and mined-mass cuts (ordered_group_cuts, choice_mass_rounds, choice_order_presolve), route and mining propagation (choice_route_depth, choice_pair_depth), shallow mining separation (choice_local_depth, choice_local_rounds), bounded route and neighborhood heuristics (choice_route_passes, choice_route_restarts, grouped_heuristics), incumbent-preserving binary fixings at the root and in shallow mixed nodes (mixed_root_rounds, mixed_fix_trials), root dual rechecks after an incumbent improvement (root_refit_sweeps, root_refit_fraction) and safe cutoffs before a warm node’s point is accepted (safe_node_pruning). All are off by default.
  • Proof-search options, all off by default: strong branching metered by the pivots probes use (branch_probe_actual_work, branch_probe_pivot_share), probe bounds as proofs and probe ranking by pseudocost (branch_probe_proofs, branch_probe_score), mixed reduced-cost fixing at any depth (mixed_fix_depth), pseudocosts from cutoff nodes (cutoff_pseudocosts), an incumbent cutoff inside the dual simplex (dual_cutoff_interval), incumbent-opposite root LP probes (root_probe_limit), root separation controls (root_cut_progress, root_cut_gap, root_cut_delay), mining cuts in the tree (choice_tree_cut_limit, choice_tree_cut_interval), cutoff clauses (proof_conflict_limit) and bounded or estimate-led dives (estimated_diving, dive_node_limit). Every exclusion uses an outward-safe dual bound or a verified Farkas ray. With the option set in benchmarks/gtoc12/profiles/suggestions.json on 30 fresh 44-asteroid clusters, five runs each at 15 s: 150 of 150 verified optima, against 145 for HiGHS 1.16.0 and for the previous profile; PAR-2 1.02 s against 9.13 s and 2.51 s.
  • benchmarks/gtoc12/validate_proofs.py checks the proof options against SciPy’s MILP on random exactly-one models from a feasible and from an optimal start. CI runs it and the exhaustive tiny-schedule oracle with the 44-asteroid profile and with every proof option on.
  • MIP trace includes the first incumbent-bound prune and the last rational witness outcome.
  • GTOC12 fixed-route refinement, a new documentation page: the 44-asteroid result against HiGHS 1.16.0 and Gurobi 14.0.0, how the refinement fits after global search, and an independent rerun. The gtoc12 harness gains a gurobi arm, and its summary pairs the candidate with every other arm.

Changed

  • A node LP whose rounded integral point fails the acceptance checks no longer ends the MIP solve with numerical_failure (repair_integral_leaves, default true). The solver tries an exact witness and a bounded LP with the integers fixed; a checked point becomes a candidate. A leaf that this does not close is split on an unfixed integer column, and one that cannot be split keeps its bound, so the solve reports numerical_failure only if the incumbent does not reach that bound. Set repair_integral_leaves=False for the former behavior. Other default solves are unchanged: the 18 recorded tutorial summaries differ only by the new option and counter names.
  • The optimization-jobs pin moves from 2bfa8e4 to 9c1427e (tag v0.6.0; the job crates are 0.6.0) in Cargo.toml and Cargo.lock, by way of ded566f (#59). Cargo.lock changes only in the optimization-jobs entries and the three crates the runner now uses for signed uploads (base64, hmac, subtle). optimization-mcp gains the 0.6.0 MCP extensions: three skills, output schemas for put_input, get_job and wait_job, the view_result app and an opt-in Files upload (--files-endpoint). The guide behind get_guide names fcmaes-core 0.5, lp-ip-craft 0.33 and sqp-craft 0.21. Worker describe reports job_api_version 0.6.0; the envelope, worker protocol and result contract are unchanged, and the shared job tests pass against this worker. ai-context.md names the new revision.

Fixed

  • Incumbent certification resolves exact singleton row intervals after fixing the integers, then handles independent continuous blocks. This can certify feasible points with more than 64 free continuous columns while retaining the exact original-model checks and work limits.

[0.33.0] - 2026-11-27

Changed

  • Presolve rounds with the feasibility tolerance. Integer bounds derived from rows with non-integer coefficients (MIP presolve and root bound inference), the limits of integer rows (propagation and row strengthening) and the integral-objective bound are rounded after allowing the accepted row violation; continuous bounds stay exact. Up to 0.32.0 the stored doubles were read exactly, so 15x + 0.1y = 29.8 over bounded integers was infeasible with presolve and optimal without it. Against enumeration under the tolerance, 9,000 random small integer programs with decimal coefficients got a wrong default answer 15 times, 1,441 times with the right-hand side off in the last place and 1,504 times with it off by 1e-10; now 0, 0 and 1. Nodes and pivots on the 69 benchmark fixtures are unchanged. A start that violates a stored row by less than the tolerance is no longer removed by presolve and can be proven optimal, where the answer was the exact optimum or numerical_failure; three tests that pinned the exact reading changed. The search itself still certifies incumbents against the stored rows: in the remaining case a point 1e-10 below a row limit is lost with or without presolve.

[0.32.0] - 2026-11-27

  • Add opt-in objective-implied bounds for MIP admission in Rust, Python and the job worker (objective_cutoff_bounds, default off). A certified start can cap improving points. Small eligible models can try a fixed-setup LP when no start is supplied, or when the supplied start fails the exact check; a start outside the capped model is then replaced and reported as rejected (details).
  • Propagate missing MIP bounds with a bounded incident-row queue, including chains whose row order previously exhausted the sweep limit. Models that were Unsupported for a missing bound can now be solved by default. On models with missing bounds the inferred values, and with them a reported bound or objective, can differ from 0.31.0 in the last digits.
  • Index long binary probe trails in the MIP presolve. The result is the same; a 1,024-column implication chain presolves 2.4 times faster.
  • Review of the delivery, with the measurements behind these entries: docs/performance-thirty/REVIEW.md.

[0.31.0] - 2026-11-27

Added

  • NativeOptions::adaptive_root (Rust, Python, job payload field adaptive_root), off by default: the root chooses bounded GMI or GMI/MIR separation from the row structure. It adds GMI passes on binary on/off capacity rows coupled with short continuous balances, skips generic cuts on uniform binary covering and dense binary packing systems, and spends at most half of the node and iteration limits and a quarter of the time. diagnostics.adaptive_root_family and diagnostics.adaptive_root_stop report what ran. Explicit cut settings take precedence.

  • NativeOptions::integer_equality_presolve (same three surfaces), off by default: residue propagation on short equalities over bounded integers, before and during the tree. Decimal coefficients are scaled by 10 or 100 when an outward error bound over the box allows it. The option can turn an infeasible into an optimal on decimal data that the default presolve reads exactly as stored; docs/api.md has the example.

  • benchmarks/gurobi-gap: a comparison harness for two builds of the Python package with Gurobi as an optional reference (frozen inputs, a runner with one fresh process per observation, an audit against the original arrays, a paired scorer). With both options on, the reviewed build scored 0.73 times the preceding patch’s shifted ten-second solve time on 35 cases and 0.77 on 24 fresh generator cases; against Gurobi 14 the ratio went from 2.76 to 2.00 and from 0.85 to 0.65. Unchanged defaults take the same nodes and pivots as 0.30.0 on all 69 fixtures. See the results and their review (#53). CI runs both options against the existing oracles and the harness’s tests.

  • Experimental Rust NativeOptions::local_mip_effort and local_mip_seed for one bounded tight-move feasibility search at a fractional serial MIP root. The default is zero. The native solver checks proposals before admitting them through the existing incumbent and certification path. When the search supplies the first checked incumbent, up to eight later fractional nodes keep their rounding call. diagnostics.root_local_search.* reports the work, the stop reason, whether the point became the incumbent and, if the search was requested but not started, why. With zero effort the solver’s results and metadata are those of 0.30.0. The pilot found no gain that would justify enabling it: see the results and their review (#52).

  • benchmarks/local-mip: the pilot’s driver, runner, scorer and FPR fixing replay, with a CI job that builds the driver and runs its regression tests.

Changed

  • The integral-objective bound now also applies to a MIP whose continuous columns all have objective coefficient exactly zero. Only the returned bound is rounded in these models; node order and reduced-cost fixing are as before. On sp150x300d the bound after 250 nodes is 36 instead of 35.13, with the same nodes, pivots and incumbent. A run that stops at a limit can report a bound equal to its incumbent while keeping the limit status.
  • A MIP node LP that fails numerically under steepest-edge pricing gets one more cold solve with largest-infeasibility pricing inside the same budgets; an infeasibility found there counts only with a verified Farkas row. diagnostics.unweighted_node_retries counts the retries. With both new options on, a 150,000-node run of noswot used one retry and reached its node limit; the preceding patch stopped there with numerical_failure at 122,185 nodes. With default options the retry did not fire on any fixture.
  • optimization-jobs pin 2bfa8e4 (the merge of the optimization-jobs 0.5.0 release; was 41d5f00, main after 0.4.1; the job crates are 0.5.0). It adds an optional progress file to command jobs (jobs progress), which experiment-craft uses to prune adaptive trials, and guide entries, among them the releases of 20 November 2026 (fcmaes 2.2.0, fcmaes-rust 0.4.0); the job envelope, the worker protocol and the result contract are unchanged.

[0.30.0] - 2026-11-16

Added

  • Opt-in mip_relative_gap and mip_absolute_gap controls in native Rust, Python and lp-ip.solve/1. Reaching either positive limit with a known global bound returns gap_limit, with a feasible job claim and the reported gap, rather than optimality. Zero limits preserve complete search; LPs ignore the controls.

  • Gap-limited separable MIPs are searched whole and report decompose=false / gap_limit_scope=whole_model. Specialized packing and parallel tree search reject positive limits with Unsupported until they implement a global stopping rule.

  • Gap benchmark evidence and default comparisons under docs/benchmarks/gap-limits/.

  • README: links the documentation site, now that it is published.

  • A documentation site of the user pages: this overview, the API, the crate and Python package pages, the nine application tutorials, the AI context and the job interface. book/SUMMARY.md lists the pages; plans, logs and evidence are linked to GitHub, and no file moved. The workflow shared through optimization-jobs builds it with mdBook, checks the relative links of all Markdown files and the links of the built pages, and deploys to GitHub Pages only when the repository variable PUBLISH_DOCS_SITE is true.

  • Links to the CFD source-allocation LP and sensor-coverage MIP tutorials from the tutorial index; their independent validation remains simulator-owned.

  • Application tutorials LP1–LP9 (allocation, battery dispatch, Sudoku, rostering, transportation, facility location, cutting stock, stochastic planning, SpOC4 matching). Each solves with the native engine through the Python API, checks every candidate independently, compares with an exact or independent reference, and keeps recorded smoke and study results. LP4, LP5 and LP7 verify the solver’s own LP duals exactly and with safe_dual_bound. The structured-tutorials workflow runs all nine chapters and compares the deterministic ones with the recorded results.

  • The prompt-driven LP/MIP tutorial chooses projects with an LP relaxation and a binary model through the existing lp-ip-job-worker, checks them by enumeration and keeps the deliberately infeasible case’s claimed evidence. No numerical code or dependency pin changes.

  • The prompt-driven energy tutorial uses this repository’s existing job worker for an independently checked one-hour dispatch LP. The larger energy simulator retains its original microlp backend.

Changed

  • README: links the overview of the 18 related repositories.
  • The README’s performance paragraph no longer lists Forrest–Tomlin updates as a next step; they are implemented (crates/native/src/ft.rs).
  • The README points to experiment-craft, which runs reproducible campaigns of lp-ip-job-worker jobs and rebuilds and tests this repository at a pinned revision.
  • optimization-jobs pin 78970a2 (tag v0.4.1; the job crates are 0.4.1) in the manifest and the lockfile. That release documents every public item and updates the guide that get_guide serves; the CLI, the MCP tools, the job envelope, the worker protocol and the result contract are unchanged.
  • optimization-jobs pin 12f9d57 (its 0.4.0 release 602d31a plus documentation-only changes: doc comments on every public item, and a simulator section and corrections in the guide that get_guide serves, so the job crates are 0.4.0) in the manifest and the lockfile. The runner gains node capabilities, jobs execution JOB_ID (an execution record of how each job’s worker process ended), opt-in trusted command jobs with verified binary file transfer, and explicitly placed jobs on SSH nodes with persisted dispatch and reconciliation, all through the CLI. Envelope, result contract, worker protocol and solver behavior are unchanged.
  • README badges as in fcmaes-rust: pure-Rust solver, unsafe forbidden in the library crates, no C/C++ dependencies, crates.io, docs.rs, PyPI and the AI agent guide.
  • optimization-jobs pin 37b30e4 (tag v0.3.0, the first crates.io release of optimization-job-api and optimization-runner): crate metadata, the shared guide that get_guide serves names the October 2026 registry releases, and the job crates are 0.3.0. Envelope, result contract and worker protocol are unchanged.
  • Clippy 1.88, the job layer’s minimum Rust, is clean on the workspace too: a nested else { if … } in the LU btran is collapsed. Results are unchanged.

Fixed

  • Documentation errors:
    • ai-context.md said the MCP server has thirteen tools; the pinned optimization-jobs server has fifteen, including get_guide and put_input.
    • docs/api.md said the branching score is the pseudocost product (the default is weighted_sum), that column replacements are eta updates (the default auto chooses Forrest–Tomlin or eta) and that triangular solves are never sparse.
    • Its “Deliberate limits” listed cuts, strong branching, MIP presolve and tree parallelism as absent.
    • The README called 0.28.0 the current version.
    • The rust-solvers benchmark commands pointed at target/release/solvercmp, but the crate’s own workspace builds benchmarks/rust-solvers/target/release/solvercmp.

[0.29.0] - 2026-10-22

The first release on PyPI (lp-ip-craft) and crates.io (lp-ip-craft, lp-ip-craft-native). The first crates.io upload needs an API token; later releases use Trusted Publishing (RELEASING.md).

Everything merged after the commit that set 0.28.0 (#11-#20), the release preparation and the fixes of the agent-discovery review. The code of the numerical crates and the Python package is unchanged since 0.28.0; the crates gained publishing metadata, and the Python tests gained the discovery and MPS converter tests.

Added

  • lp-ip-job-worker, a worker for the shared agent job API (#11). Profile lp-ip.solve/1 solves SHA-256-checked sparse CSR model artifacts (lp-ip.model/1) with complete MIP starts, node and pivot budgets and inner_threads 1-8, and rechecks each result independently. A model the native solver refuses (for example a MIP with a free continuous column) completes as termination: "unsupported" with zero work instead of failing the job; presolve: false also clears the reductions it switches off, so the reported effective options are true; native settings are validated when the job is prepared. Runnable tutorial in tutorials/job-api/. The CI workflow job-api.yml checks the job layer with Rust 1.88; the numerical crates keep Rust 1.85.
  • Result contract 0.2 in the worker (#15): infeasible, unbounded and infeasible_or_unbounded claims, objective_bounds, evidence with the recomputed checks (an LP optimum’s duals are rechecked with the native KKT acceptance) and refutations of a native status that fails its check (infeasible_point, false_optimality, false_infeasibility). New profile lp-ip.evaluate/1 evaluates given points without solving.
  • optimization-mcp, the MCP server over one node, built by cargo build -p optimization-runner (#18). CI runs the shared MCP tests (test_mcp.py) with this worker.
  • ai-context.md: operational context for AI agents (when the solver fits, problem card, modelling in Rust and Python, options, statuses, independent checks, parallel layouts, job profiles) (#12). Corrected in #13 (for example, presolve=false skips the whole root stage, so a MIP then needs finite bounds as given) and brought up to date in #20 (result contract 0.2, optimization-jobs, the MCP server, the sibling SQP-craft and fcmaes-rust workers).
  • Release workflows modeled on fcmaes-rust, with RELEASING.md: python-release.yml builds abi3 wheels (CPython 3.10+) for Linux x86_64, macOS x86_64 and arm64 and Windows x86_64 plus the source distribution, installs and tests each one, attests them and publishes lp-ip-craft to PyPI through Trusted Publishing on a v* tag that equals the workspace version (a manual run builds and tests without publishing). publish-crates.yml checks and publishes lp-ip-craft and lp-ip-craft-native to crates.io once the repository variable CRATES_IO_TRUSTED_PUBLISHING is true; until then it runs every check and skips the upload.
  • The two library crates are publishable: crates.io metadata, a README and the license in each crate, and a version on the native crate’s path dependency. The Python package and the worker stay unpublished crates.
  • README section “Install from source”: requirements (Rust 1.85, 1.88 for the job layer, no C/C++ toolchain, CMake or BLAS), the Python build, the job worker with its git dependency on optimization-jobs, and the crates as git dependencies.
  • ai-context.md points to the AI entry point of optimization-jobs, which chooses between the four solver repositories, and says what the release workflows will publish.
  • Job discovery (review finding F01): the worker’s describe adds payload_schemas (JSON Schema draft 2020-12 of the lp-ip.solve/1 and lp-ip.evaluate/1 payloads, strict as the worker), input_schemas (the lp-ip.model/1 artifact, with the rules across fields in $comment) and examples (a continuous LP, a MIP with a complete start and an evaluate job, each on 1/1/1 resources with its model inline), so a client without a checkout can build and validate one job per profile. The files are in crates/lp-ip-job-worker/discovery/. Rust tests turn every example into a job with hashed input files and check its outcome; tests/test_job_discovery.py validates every example and tutorial payload and model with jsonschema and, in the job API CI, that describe embeds the files.
  • scripts/mps_to_model.py (review finding F13): converts fixed and free MPS files (also gzipped) to lp-ip.model/1, with OBJSENSE, RANGES, integer markers and the bound types UP, LO, FX, FR, MI, PL, BV, LI and UI; the objective constant is -RHS of the objective row, and a negative UP without a given lower bound frees the lower side (CPLEX’s convention). It writes the CSR by rows in MPS order, prints the file’s SHA-256 and optionally the row and column names; unsupported input (SC bounds, quadratic sections, an infinity on the wrong side, duplicates) fails with the line number. Tested on fixtures in tests/fixtures/ against hand-computed optima.
  • AGENTS.md: what the repository is, what to read first, build and test commands and conventions. The README links it and ai-context.md.
  • ai-context.md: a table of what lp-ip.solve/1 exposes, forces and leaves at native defaults compared with the in-process options; a recipe for many independent models on many cores (the batch cap of 16, one model per job, component_threads=1 for callers that own the concurrency, why identical null starts do not scale); the discovery keys and MCP put_input; the MPS converter.
  • The test extra .[test] adds jsonschema>=4.18; the job API CI installs pytest and runs the discovery test against the built worker.

Changed

  • crates.io and docs.rs pages: lp-ip-craft-native‘s description names the dual revised simplex (it said “two-phase simplex”, the 0.15 kernel); both crates’ homepage is their entry on the ecosystem page; the READMEs show cargo add, and the native README a complete, tested example with the limits; rustdoc links docs/safe-dual-bounds.md absolutely and no longer calls the native engine dependency-free (it uses Rayon).
  • publish-crates.yml: while Trusted Publishing is not enabled (CRATES_IO_TRUSTED_PUBLISHING), a tag publishes the crates with the secret CARGO_REGISTRY_TOKEN, one crate at a time in dependency order and skipping versions already on crates.io. This publishes the first release without a local toolchain; RELEASING.md describes the token and its removal afterwards.
  • The PyPI description is python/README.md, a short page with installation, an example, the limits and absolute links; the repository README, with its relative links and history, stays on GitHub.
  • Discovery: the README opens with the title and a short description, then links the shared solver-selection guide and the ecosystem overview; both crate READMEs link them too. pyproject.toml adds keywords and project URLs (documentation, issues, changelog, ecosystem, agent guide). RELEASING.md covers discovery after a release.
  • The README opens with a banner (docs/images/lp-ip-craft.png). It is linked by absolute URL, so the PyPI description shows it too.
  • Breaking: the worker speaks worker protocol optimization.worker/0.2 and publishes results as optimization.result/0.2 (shared job crates 0.2.0, #15). A 0.2 runner still accepts 0.1 workers; a 0.1 runner rejects 0.2 workers at registration. The job envelope stays optimization.job/0.1. Runner errors carry codes, and JSON Schemas describe jobs and results.
  • The shared job crates optimization-job-api and optimization-runner, imported in-tree at 0.1.0 (#11) and synchronized as 0.1.1 with fcmaes-rust and SQP-craft (#14; zero-work repair of a queued job whose launcher died, shared runner regression tests in CI), were removed from the repository together with the shared guide, plan, JSON Schemas and scripts (#17). The workspace depends on github.com/dietmarwo/optimization-jobs at a pinned git revision instead. cargo build -p optimization-runner still builds optimization-run; CI and the tutorial run the shared harness from Cargo’s checkout (scripts/job-api/shared_root.py); docs/job-api.md points to the shared guide.
  • The pin moved from 9feb72e (#17) to 0ee495f (MCP server, #18), eb1c9de (Outcome::check rejects contradictory bounds, #19) and 6a42472 (#20): worker-declared artifacts and paged artifact reads (jobs artifact --offset/--limit, MCP get_artifact with offset and limit), which also page through the results journal of a running job. Then 423cd87: artifact::page streams the file and parses only the page’s records. This worker’s profiles are unchanged by the pin moves.
  • optimization-jobs pin 069d87c (its review of agent discovery): optimization-mcp gains put_input (stages an input file, such as a model or a CSV, and returns its sha256 and input_dir) and get_guide (the cross-repository AI entry point); node doctor reports the host’s usable CPUs and memory; workers add accepts up to 1 MiB of describe output; and the shared harness, which CI runs from Cargo’s checkout, checks the worker’s payload schemas and runs its examples, also over MCP.
  • optimization-jobs pin 43ef3ae (third review of agent workflows, N1; the merge of optimization-jobs #10, which adds only the landing page and discovery docs to 8d19278): the guide that optimization-mcp serves with get_guide has the corrected Pareto guidance (scalarization gives candidates), and the shared harness, which CI runs from the pinned checkout, checks that the payload schemas and the worker agree on null optional fields. The new workflow shared-pin.yml fails when optimization-jobs main has changed the shared crates, guide, job API docs or test scripts since the pinned revision (weekly, and on changes to Cargo files), so the pin no longer drifts. Landing-page and discovery files do not count.
  • Shared job API docs and harness synchronized with fcmaes-rust (#16).

Fixed

  • Review LP-01 (#19): after refuting an optimum, the worker still published the solver’s bound and a gap computed from the solver’s own objective, so a minimization with primal 7 could report dual 8 and a zero gap. The gap is now recomputed from the shown point’s objective (an overflowing gap is left out instead of failing the task). A bound beyond that objective by more than BOUND_TOLERANCE is kept only in details.reported_best_bound with a bound_note. An optimum without KKT confirmation whose candidate does not evaluate to the solver’s objective is refuted (objective_mismatch).

[0.28.0] - 2026-10-18

Thirty checkpoints toward one eight-worker CPU budget (#10, one squashed commit), on top of the MIP iterations (#8) and the presolve default change (#9) merged after 0.27.0. The default numerical width stays 1.

Added

  • Options.threads is a maximum native numerical width of 1-8 (default 1); before, any value other than 1 was Unsupported. 0 is invalid, values above 8 are Unsupported, the dummy backend accepts only 1, and the effective width is reported as numeric_threads. A width above 1 serializes component, residual and tree workers.
  • Parallel numerical phases that keep each value’s operation order: structural reduced costs and dense column pricing over disjoint columns, dense-LU trailing Schur rows after the ordered panel, and the packing primal-dual root loop. Dispatch is gated by actual work, so small work runs the original scalar loops. Sparse pivot selection, triangular solves, certification and acceptance stay ordered.
  • Mixed batches: solve_batch(models, workers, options=Options(threads=k)) and NativeSolver::solve_batch accept outer x inner <= 8 (1x8, 2x4, 4x2, 8x1). The serial-inner limit of 16 outer workers is unchanged.
  • Opt-in MIP policies from twenty iterations on the open 0.27 issues (#8): a RENS sub-MIP in root_heuristics (diagnostics.root_rens_nodes, root_rens_candidates); probing on up to 2,000 binaries in the first MIP presolve round (diagnostics.mip_presolve_probed, probe_fixed, probe_tightened); c-MIR divisors from variable-upper-bound slopes; a warm-started feasibility-pump projection LP. With GMI and MIR both on, a family that contributes no selected cut is no longer separated, and cuts with more than max(50, n/4) terms are not selected while both are active. Rejected experiments are recorded in docs/mip-iterations/ITERATIONS.md.
  • Benchmarks: frozen synthetic MIP development and test sets (six classes, four seeds each, optima proven by HiGHS 1.15.1; run.py --synthetic), the harness policies presolve-nodual and legacy, and a fail-closed scaling and oracle harness (scripts/parallel028*.py).

Changed

  • Breaking: mip_presolve and coefficient_tightening are on by default in Rust and Python (#9). Both keep every feasible point; dual_presolve, cuts and root heuristics stay off. Pass mip_presolve=False, coefficient_tightening=False for the 0.27 behaviour. No benchmark case is lost (shifted geometric mean x0.62 on the public set, x0.99-x1.02 elsewhere); on the frozen oracle no status changes, while 165 node counts, 233 pivot counts and 33 objectives (within tolerance) do.
  • lp-ip-craft-native depends on Rayon 1.12.0 (pinned) for local pools with an owned width; no global Rayon pool is configured. The core crate stays dependency-free, and no HiGHS, BLAS or C/C++ solver is linked.
  • Batch, component, tree and residual execution collect results privately and merge them in order with bounded task claims; expensive batch models and components are dispatched first (components not under explicit node or pivot limits).
  • Search-identical speedups from #8: in-place and stack-held exact sums and indexed multipliers for GMI, an allocation-free gcd on the default rational-witness path, and in-place probing (MIP presolve of a 200k-column cover model 1.13 s -> 0.19 s).
  • On eight pinned CPUs, 16 independent dense384 solves take 379 ms at 8 outer x 1 inner against 1,863 ms at 1x1. At width 8 instead of 1, the dense1024 LP takes 2,568 ms instead of 3,345 ms (with more CPU time) and the SpOC4 II root phase 76.1 ms instead of 102.9 ms. Small and medium cases can be slower (held-out dense256 38.6 ms -> 46.2 ms). An independent differential check against the pre-0.28 code found bit-identical results at widths 1, 2, 4 and 8.

Fixed

Found in the review of the delivered 0.28 code, before the merge:

  • Python solve_batch ran every job at width 1 and accepted threads=0; it now passes Options.threads and validates it as a direct solve does.
  • The packing root runs on an exclusive pool above its 131,072-nonzero gate, so a concurrent caller’s waiting worker can no longer pick up the root loop and miss its own deadline.
  • A panic in the batch or residual share run on the calling thread becomes Error::Backend, as on spawned workers, instead of unwinding.
  • The benchmark drivers run on macOS and Windows (CI failed there), and two error messages had lost the space before a number.

[0.27.0] - 2026-10-17

Opt-in MIP presolve, exact GMI/MIR root cuts and checked root heuristics, informed by ripsolve (#7). Generic search defaults are unchanged.

Added

  • MIP presolve, off by default in this version: mip_presolve (bounded root fixpoint with exact integer and outward mixed propagation; rows proven redundant over the box are freed), mip_presolve_rounds (8, 0-32), coefficient_tightening (binary big-M reduction with an exact i128 path) and dual_presolve (optimum-preserving empty and singleton objective fixes).
  • Exact root cuts, off by default: gmi_cuts (GMI from advisory optimal-basis rows after exact reaggregation), mir_cuts (MIR with certified variable-upper-bound substitution), mip_cut_rounds (8, 0-50), mip_cut_limit (16 per round, 1-64) and cut_exact_work (4,000,000 charged limb operations per separation call). Cut rows extend the retained root basis; diagnostics.root_stages records each checked round.
  • root_heuristics (checked rounding, guided diving, L1 feasibility-pump projections; heuristic_lp_calls, default 16) and the branching experiments branching_score (weighted_sum or product), pseudocost_min_step and branch_trace_limit (diagnostics.branch_trace).
  • Benchmark-only comparison harness benchmarks/rust-solvers/ with ripsolve 0.4.0 pinned and a HiGHS driver.
  • p0548 with presolve, GMI and MIR proves 8691 in 1.70-1.72 s (before: 60 s time limit with incumbent 28397). Combined cuts regress bell5 and many easy held-out models, so they stay opt-in.

Changed

From the review before the merge:

  • GMI and MIR are derived in exact dyadics (dyadic.rs) without gcd normalization, and coefficient tightening’s exact fallback uses the same path (p0548 combined 2.0 s -> 0.4 s). Advisory multipliers are rounded to an integer grid, fixed terms are left out, and each coefficient is rounded to the binary64 neighbour with the smaller box compensation, so a variable with one infinite bound no longer rejects a cut.
  • Cut rows strictly slack at the final root optimum are removed before the search (diagnostics.root_cuts_pruned); the root bound is unchanged. bell5 with combined cuts proves optimality in 57,144 nodes (delivered build: 100,000-node cap without proof); rgn GMI-only 3.2 s -> 0.84 s.

Fixed

  • The checked root bound of the cut model was merged into every child result, so infeasible or unbounded outcomes came back with a finite best_bound; only limit, failure and optimal results take it now.
  • diagnostics.branch_trace wrote non-finite values as inf and NaN, which is not JSON; they are null now.
  • Coefficient tightening rebuilt the matrix after every rewritten row (quadratic in the row count on big-M models); it rebuilds once per pass, with unchanged results.

[0.26.0] - 2026-10-17

Opt-in controls for the packing repair (#6, merged together with 0.25.0). Defaults keep the 0.25 behaviour.

Added

  • packing_combine_repairs merges compatible improving repairs from one batch snapshot and keeps the best standalone repair as a fallback.
  • packing_rounds (1-32) runs successive repair rounds with refreshed snapshots, packing_neighborhood_growth (0-1024) enlarges neighborhoods per round, and packing_seed_strategy (incumbent, rejected, mixed) adds rejected-transfer seeds ranked with root prices.
  • packing_residual_cliques and packing_clique_work insert bounded local clique cuts inside residual repairs.
  • packing_repair_seconds and packing_proof_seconds cap the repair and proof phases separately; packing_price_diagnostics exposes the best checked resource prices. New diagnostics.packing_* counters and a per-round trajectory.
  • Eight rounds of 64 rejected-transfer neighborhoods (four workers, merging on) reach 32,847.565 on SpOC4 matching-I and 70,945.093 on matching-II, against 32,120.012 and 68,914.100 with the 0.25 policy. These are checked feasible incumbents, not proven optima.

Changed

  • Packing repair candidates are reconstructed and checked once in the workers instead of in the serial merge, and residual tasks and tree subtrees are taken from a shared counter. Results are still merged in task order and are unchanged; with one worker, matching-I 2.15 s -> 1.21 s and matching-II 8.14 s -> 4.14 s.
  • Option validation errors name the offending field and its range.
  • The local clique separator counts conflict-graph degrees once instead of in every sort comparison.

Fixed

  • The disjoint-frontier tree of 0.25.0 took its status from the last unfinished subtree, so a subtree ending in NumericalFailure or on the wall clock could be reported as NodeLimit. Statuses now combine by severity (NumericalFailure > Cancelled > TimeLimit > IterationLimit > NodeLimit), and the message names the first failing subtree and its error, which was dropped before.

[0.25.0] - 2026-10-17

Opt-in packing search for binary unit-packing models, aimed at the ESA SpOC4 matching tables. The 0.25.0 source was never delivered on its own: it was reconstructed by reversing the 0.26.0 archive’s patch and merged with 0.26.0 (#6). Existing default search modes are unchanged.

Added

  • packing_root with packing_root_iterations and packing_root_work: a factorization-free projected primal-dual root pass and a greedy early incumbent for recognized unit-packing models. Every reported price bound goes through the outward-rounded core bound.
  • packing_neighborhoods, packing_neighborhood_size, packing_workers (1-16) and packing_neighborhood_nodes: residual neighborhoods solved by private workers and merged in task order through the original-model check.
  • packing_cuts and packing_cut_work: cross-resource triangle and odd-cycle (lengths 3, 5 and 7) cuts directed by the root hint.
  • partial_dual_bounds, and scalable_branching with branch_probe_candidates, branch_probe_pivots and branch_probe_work: reliability probing without the old model-size gate, under work caps.
  • tree_threads (1-16) and tree_split_depth (0-8): an exhaustive disjoint binary frontier solved by private subtree workers with conservative bound aggregation.
  • The SpOC4 matching tables (ESA, GPL-3.0, with license text and provenance) in benchmarks/spoc4-025/. With the root pass and residual neighborhoods, a one-second budget gives 32,120.012 on matching-I and 68,914.100 on matching-II, 7.82% and 8.85% above the greedy baseline.

[0.24.0] - 2026-10-17

Imports the native solver archive 0.24.0, which contains 0.21.0-0.23.0, followed by review fixes (#5). Raw benchmark data under docs/*/data/ is not committed; docs/EVIDENCE.md names the archives and their checksums.

Added

  • 0.21: Rust PreparedDualBound caches the conservative dual bound for repeated variable-bound changes (O(log n) per change, O(1) per read); opposite-domain fixing uses it for its trials.
  • 0.22: ordered independent-job batches, solve_batch(models, workers=...) in Python and NativeSolver::solve_batch in Rust, with 1-16 workers, private solver state, per-job limits and errors, and shared cancellation (32 packing jobs: 5.38x the throughput of one worker at eight).
  • 0.22 controls: singleton_presolve (on; exact-quotient singleton reductions with original-row dual reconstruction), root_propagation (on), root_cuts (off; at most eight exact binary cover cuts before factorization), factor_replay (off), adaptive_pricing (on), devex (off) and avoid_dominant_components (on).
  • 0.23: mip_diagnostics and mip_trace_limit (256, 0-4096), a bounded opt-in search trace in diagnostics.mip_search; six public MIPs and six planted packing holdouts in the benchmark corpus.
  • 0.24 MIP search: rational_certification (on), exact rational witnesses for incumbents on the supplied binary64 data; reliability_branching with reliability_threshold and reliability_max_probes; a deterministic serial Feasibility Jump prototype (feasibility_jump, feasibility_jump_steps); LP-directed root covers with exact sequential lifting (root_separation, root_cut_rounds, cover_lifting); reversible mixed-row node propagation (mixed_propagation). All but rational certification are off by default.

Changed

  • Root inference (0.22) admits a MIP whose box is not finite when the constraints prove finite bounds; unresolved infinities and magnitudes above 2^53-1 still return Unsupported. egout and flugpl now solve; bell5 reaches the 100,000-node cap.
  • LP kernel: four accumulators in dense-tail forward solves (0.21; wide1024 kernel 170 ms -> 84 ms), sparse support through forward solves and eta updates, broader guarded Forrest-Tomlin eligibility and row/column pricing selection (0.22), reuse of captured Forrest-Tomlin output support (0.23).
  • With default rational certification, egout needs 12,602 nodes instead of 66,553, and rgn solves to numerical optimality in 7,249 nodes instead of reaching the 100,000-node cap. diagnostics.certification_solves counts actual LP repair calls only.
  • Mixed propagation reuses its buffers and inlines its outward-rounded helpers (review): bit-identical search, bell5 with mixed_propagation 19.2 s -> 7.0 s.

Fixed

  • 25fv47 no longer ends in numerical_failure (0.21): only consecutive restarts without pivot progress are bounded, and perturbed costs are cleaned before a one-sided dual infeasibility is classified, so a perturbed auxiliary optimum no longer implies unboundedness. All seven public LPs pass.

Found in the review of the delivered 0.24.0 code, before the merge:

  • Rational witnesses were limited to 250 ms of wall time, so certification and pruning depended on machine speed. Each attempt is now capped at 8,000,000 and each solve at 64,000,000 limb operations (diagnostics.rational_witness_work), with word-level division (egout witness time 151 ms -> 8 ms).
  • Sequential cover lifting stopped at the first item heavier than the row capacity; such items are skipped and lifting continues.
  • Feasibility Jump clamped integer columns to fractional bounds; they now move within ceil(lower)..floor(upper).
  • Legacy root strong branching (strong_branching=true) again probes only when there is a real choice, as before 0.24.
  • Root-separation counters are reported as diagnostics.* keys with a number or none instead of Rust Debug strings.

[0.20.0] - 2026-10-17

Added

  • reduced_cost_fixing (default true): certified opposite-domain fixing. Numerical reduced costs only shortlist candidates; each inherited integer fixing is justified by a conservative core dual bound against a certified incumbent.
  • strong_branching (default false): bounded root probes (at most four 32-pivot solves) charged to the global limits; off after negative measurements.
  • Public corpus (seven LPs and three MIPs with their original infinite bounds) and seeded MIP coverage and holdout fixtures.

Changed

  • Cached reciprocal LU and Forrest-Tomlin diagonals, zero-aware forward triangular arithmetic, and exact steepest-edge winners cached in blocks of 64.
  • Exact i128 integer-row activities with an incidence-driven bounded propagation queue, now also for long rows; smoothed pseudocost estimates and a balanced degradation score.
  • Against 0.19: packing-4096 263.7 ms -> 216.3 ms, network-2048 88.7 ms -> 73.1 ms, nodecopy 105 -> 42 nodes. Regressions are kept in the report (long-row-mip 112 2.08x slower, adlittle +17%). 25fv47 still fails numerically, and egout, flugpl and bell5 are rejected for infinite bounds.

[0.19.0] - 2026-10-17

Added

  • factor_ordering (auto, natural, min_degree; Rust FactorOrdering), factor_pivot_search (1-64, default 4) and adaptive_refactor (default true).
  • Optional basis-replay feature: capture of actual bases with a validated binary replay reader, and a frozen corpus of 21 bases in docs/irregular-lu/corpus/.

Changed

  • Dense LU tails of at least 64 rows are factorized as row-major blocks with partial pivoting (panel width 32) and kept for both triangular solves. Small tails, singular fallback and tight entry caps keep the old path.
  • Sparse elimination uses cross-indexed entries with checked 32-bit links and reusable workspaces; dimensions above u32::MAX are rejected before allocation.
  • Bounded approximate minimum-degree ordering advice, used automatically only for m >= 2048 after a dense tail above m/8.
  • Work-based rebuilds for large dense bases: after at least 32 updates, when eta work exceeds a quarter of the estimated factor work. The default refactor_interval changes from 64 to 256 and is now a maximum; other bases keep an internal maximum of 64.
  • irregular-4096 19.36 s -> 7.34 s (HiGHS 9.45 s), irregular-1024 217 ms -> 159 ms; some sub-millisecond cases are up to 26.5% slower.

[0.18.0] - 2026-10-17

Added

  • Forrest-Tomlin basis updates with a checked eta fallback, selected by basis_update (auto default, eta, forrest_tomlin; Rust BasisUpdate). auto starts with eta updates and enables Forrest-Tomlin at a refactorization only for bases of dimension >= 128 with a sparse L and enough observed update work.
  • Optional kernel-profile feature for exclusive kernel timings, compiled out of normal builds.

Changed

  • Sparse support is carried from the triangular solves into pricing and the entering column; L is skipped when it is the identity.
  • packing-4096 478 ms -> 286 ms, packing-2048 121 ms -> 73 ms; irregular-1024 unchanged; a few small cases are slower (pivot-0 +15.5%).

[0.17.0] - 2026-10-17

Ten measured performance iterations on 0.16 (docs/performance-ten/). 0.17.0-0.20.0 reached main as history patches with the 0.24.0 import (#5).

Changed

  • Integral row bounds are rounded inward before the MIP relaxation when all coefficients and variables are integral: selection-64 needs 1 node instead of 9,311.
  • Row-free continuous models are solved directly with the same independent checks, and component discovery is skipped for empty matrices (box-lp 16.5 ms -> 4.6 ms).
  • Sparse kernels: reachability-based forward and transpose triangular solves with dense fallback, reuse of the entering column’s support, sparse unit support through eta updates, and exact cancellations removed from the Markowitz lists.
  • Exact i128 propagation of short (at most eight entries) all-integer rows during MIP reoptimization.
  • Large bases are refactorized when eta fill exceeds eight times the base factor after at least 16 updates; refactor_interval stays the hard maximum. packing-4096 556.9 ms -> 489.4 ms; network-2048 is about 2% slower.

[0.16.0] - 2026-10-16

The project’s own LP/MIP solver replaces the HiGHS adapter (#4). The pull request imported the native archive 0.15.0, which carries 0.4.0-0.15.0, and reworked its kernels into 0.16.0.

Added

  • Native backend: crate lp-ip-craft-native with NativeSolver and NativeOptions, selected in Python by solve(..., backend="native", backend_options=NativeOptions()). The numerical crates have no third-party dependencies; the default backend stays dummy.
  • One kernel for every LP and node relaxation: a bounded-variable dual revised simplex on a sparse LU factorization. Variable bounds stay bounds, so a branch changes a bound in place and keeps the factorized basis. Power-of-two scaling, Markowitz LU (threshold 0.1) with a dense tail and eta updates, dual steepest edge (steepest_edge), a bound-flipping ratio test with Harris tolerances, cost perturbation, an auxiliary dual phase 1 and a Farkas re-check of infeasibility claims.
  • Integer search: best-bound node selection with diving and pseudocost branching. Pruning uses only certified incumbents; an incumbent-certification LP makes them available on mixed models.
  • From 0.5.0-0.14.0 (docs/native/): presolve of fixed columns, free and empty rows and conservatively redundant rows; checked incumbents with conservative pruning and integral-objective bounds; independent component execution with up to 16 workers and reserved shares of the global budgets (decompose, component_threads).
  • Rust check::lp_residuals_with_bounds and safe_dual_bound_with_bounds for replacement variable bounds.
  • examples/validate_random.py, a randomized differential check against SciPy (5,500 LP/MIP cases). CI fails if highs, bindgen, cmake, blas or lapack enter the native dependency tree.

Changed

  • Breaking: the HiGHS backend is removed (crate lp-ip-craft-highs, backend="highs", Python HighsOptions); use backend="native". In the archive, 0.4.0 still loaded models through HiGHS’s bulk CSR API, and 0.5.0 replaced HiGHS with the first native simplex.
  • Breaking: MIPs need finite bounds on all variables, continuous ones included, of magnitude at most 2^53-1. LP starts are rejected (start_status="rejected"); MIP starts are evaluated as incumbent candidates.
  • Breaking, against the 0.15.0 archive: NativeOptions drops sparse, max_tableau_entries, fast_pivots and dantzig_pricing, and renames max_sparse_entries -> max_factor_entries and sparse_refactor_interval -> refactor_interval. Unknown option names are rejected.
  • Against the 0.15.0 build: LP benchmark families 2.6-30x faster than the better 0.15 kernel, network-2048 now solves, selection-20 needs 93 nodes instead of 1,505, and randomized MIPs need 20-29x fewer nodes.

[0.3.0] - 2026-10-16

Added

  • safe_dual_bound in the Rust core and in Python, with SafeDualBound and SafeBoundStatus: a conservative Lagrangian bound in the original sense from approximate row duals, using residual correction over the variable bounds and outward-rounded binary64 arithmetic, or the reason (with the first blocking row or variable index) why no finite bound exists. The validity argument is in docs/safe-dual-bounds.md; an exact rational oracle on 210,000 adversarial models found no bound on the wrong side.
  • examples/safe_bound.py, including margin_duals: duals of the LP with one-sided costs shifted by 1e-6 max(1, |c_j|) in the safe direction gave a bound in 100 of 100 random LPs and MIP relaxations. examples/bound_availability.py measures availability.

[0.2.0] - 2026-10-16

Added

  • HiGHS backend (crate lp-ip-craft-highs; HiGHS 1.15.0 built from source through highs 2.4.0 and highs-sys 1.15.0): solve(..., backend="highs", backend_options=HighsOptions(...)) with time, node and iteration limits, cancellation through the interrupt callback, complete primal starts and independent acceptance checks. iteration_limit on a MIP and node_limit on an LP are Unsupported.
  • Statuses optimal, infeasible, unbounded, infeasible_or_unbounded, time_limit, node_limit, iteration_limit, solution_limit, objective_limit, memory_limit, numerical_failure and unknown, each mapped explicitly from HiGHS.
  • LP optimal requires the relative duality gap |P - D| / (1 + |P| + |D|) <= dual_tolerance, and stationarity and dual-sign residuals <= dual_tolerance * (1 + max|c|); LpResiduals.duality_gap.
  • BackendReport (Python result.backend), StartStatus, BACKENDS, BackendError and Python lp_residuals.

Changed

  • Breaking: SolveResult::gap returns Result<Option<Gap>> and fails on overflow, instead of Option<Gap>.

[0.1.0] - 2026-10-15

Interface draft without an optimizer (#1).

Added

  • Core crate lp-ip-craft without dependencies: an immutable Model validated once by Model::new(ModelData) (canonical zero-based CSR, duplicates rejected, errors naming field and entry), the LpIpSolver trait, Options with Tolerances and threads (only 1), WarmStart with a primal point, and CancellationToken.
  • best_bound as a proven bound in the original sense and one crate-derived signed Gap for a feasible candidate; Duals with c = A^T y + z in the original sense; independent check::evaluate and check::lp_residuals.
  • DummySolver, which evaluates one candidate (the start, or zero clamped to the bounds) and returns status stub.
  • Python package lp_ip_craft (PyO3 0.30.1, abi3 for CPython 3.10+): a keyword-only, frozen, picklable Model, solve() with the interpreter released, evaluate() for any solver’s point, and EvaluationError.
  • CI on GitHub Actions: fmt, Clippy, tests, MSRV 1.85, and Python 3.10 and 3.14 on Linux, macOS and Windows.

Repository: https://github.com/dietmarwo/LP-IP-craft