Verified Linear Programming via Tolerance-Aware Precision Boosting

arXiv:2609.11721 · math.OC, cs.NA, math.NA · Submitted 2026-09-10 · Read on arXiv

math.OC, cs.NA, math.NA

Submitted: 2026-09-10

Updated: 2026-10-29

Code: https://github.com/TendTo/delpi

License: http://creativecommons.org/licenses/by/4.0/

The gist: Linear programming plays a fundamental role in computer science, with applications in optimization, formal verification, SMT solving, and numerous other domains.

Terminology

Abstract

Linear programming plays a fundamental role in computer science, with applications in optimization, formal verification, SMT solving, and numerous other domains. When exactness guarantees are required, numerical inaccuracies arising from floating-point arithmetic can compromise soundness, whereas exact rational arithmetic often incurs significant computational overhead. In this paper, we investigate the numerical stability of the simplex algorithm and establish conditions under which a precision-boosting floating-point implementation provably produces the same pivot decisions and final basis as an exact rational implementation, from which the final result is reconstructed and certified exactly. Our analysis shows that correctness depends on both arithmetic precision and a careful handling of numerical tolerances. Based on these results, we develop a tolerance-aware, precision-boosting simplex algorithm with formal correctness guarantees. Finally, we introduce a delta-complete termination criterion that allows the algorithm to terminate once certified upper and lower bounds on the optimal objective differ by at most a user-specified threshold delta, providing a certified, user-controlled optimality gap.

Related papers