Login
You're viewing the ruby.social public feed.
  • Nov 24, 2026, 5:15 AM

    The context is simple: since its inception, computer science has failed to explain why the simplex algorithm, that workhorse of modern operations research, performs well in practice. The gap is monumental. There are simple, concrete linear programming (LP) instances in which the simplex algorithm requires exponential time to complete. And yet, practitioners routinely solve LPs with millions of variables and constraints in seconds.

    💬 1🔄 1⭐ 0

Replies

  • Nov 24, 2026, 5:15 AM

    Indeed, theory did prove that linear programs can be solved in polynomial time, but it is complicated by two facts. The theoretical algorithms' runtimes pale in comparison to what modern simplex algorithms achieve in practice, and, while the theory did lead to improved practical algorithms, what's used in practice is not what is theoretically proven to work.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    The theory community has tried different approaches to explaining this gap, but it was generally agreed that the explanations fell short (Bach et al. explain why in section 1.2). The reason, this new paper argues, is that the theory community was focused on coming up with alternative theoretical models that admitted nice proofs, without constraining those models to what aligned with empirical observation.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    An example is smoothed analysis (en.wikipedia.org/wiki/Smoothed). Here we start with a worst-case LP instance, chosen by some adversary who knows your algorithm in advance (but not any randomness you sample at runtime). Then, before you have to solve it, the entries of the constraint matrix are perturbed by some small Gaussian-distributed noise. Under this setting, you can prove the simplex algorithm finishes in polynomial time. The dominant term looks like \(n^{2.75}\) where \(n\) is the number of constraints.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    And yet, no realistic LP instance is remotely similar to this situation. The simplest problem is that realistic LP instance are sparse, and perturbing the constraint matrix makes an instance dense. (Read section 1.2 for more examples!)

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    The original authors of smoothed analysis knew of these shortcomings, but that didn't stop this theory from winning its authors many awards, including the Gödel Prize. Bach et al. challenge this narrative with my favorite idea of the decade: the analysis of algorithms must be grounded in empiricism.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    The authors do this in three ways, all nobly attentive to detail. First, they surveyed collections of practical LP instance families to decide what structure the inputs to their algorithm should be permitted. This included, as above, a requirement of sparsity. In this process, they required that the properties they introduced into their model were actually efficiently measurable, so they could give effective bounds informed by practical instances.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    Second, they surveyed implementations of linear program solvers to determine what common algorithmic choices were made by practical implementations. This included interviews with the maintainers of closed source LP solvers like Gurobi! Then they required the algorithm they chose to analyze to make those same choices. This included a method unanimously employed to defend against numerical degeneracy, ironically which involved a much more limited flavor of perturbation. (I wonder if that was inspired by smoothed analysis, or if it was independently discovered)

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:15 AM

    Finally, after completing their algorithm analysis in this model, they review any unrealistic aspects that crept into the proofs. For example, they criticize their use of the shadow-vertex variant of the simplex algorithm, which is not widely used. But they identified it as necessary to accomplish the publication requirement of actually proving a theorem, and they opined that theory was not equipped with tools to analyze more practical pivot rules. The end of their paper reads less like bluster and more like a postmortem. To my eye, this reveals how deeply the authors care about getting this right.

    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 5:16 AM

    To the CS theory community's credit, this paper was presented at STOC, a tippy-top-tier venue. I hope in time their framework becomes a mainstay of the field.

    💬 0🔄 1⭐ 0