arXiv:2610.20892math.OCOct 2026

Manuscript Offprint

arXiv:2610.20892

Learning Warm Starts for the Simplex Method from Measured Solver Cost

Felix Parker, Danielle A. Ripsman, Emmett Springer, Kimia Ghobadi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Learned warm starts for the simplex method build starting bases using predictions of which variables will be basic at optimality. Prior work has shown that starting bases predicted by graph neural networks can sharply reduce iteration counts, but the time saved may fall well short of the iterations saved. On 25 classes of linear programs (LPs), we find that a strong supervised basis predictor removes two thirds of the dual simplex's iterations but only a third of its time. Two effects explain the gap: the iterations removed by a good start tend to be cheap, and closeness to an optimal basis does not rank starts by cost. We prove that two starts with equal overlap with an optimal basis and equal pivot counts can differ in linear-algebra work by a factor that grows with the square root of the number of rows. Empirically, across the starts of one LP, the pivot count explains 71% of the variance of log solve time, while the CPU instruction count explains 98.5%. We introduce COSTSTART, which uses supervised prediction for the basis and trains a small policy on measured instruction counts to choose, per LP, how many predicted columns to use, which algorithm and pricing rule to run, and whether to warm-start at all. On unseen LPs of the training classes, including LPs four times the training size, COSTSTART roughly halves the solve time relative to the solver's default start and is 1.4 to 2.2 times as fast as two published methods retrained on the same data.

1 INTRODUCTION

Despite decades of competing algorithmic development since its 1947 debut, the simplex method remains a highly practical algorithm for solving linear programs (LPs) today. Simplex pivots iteratively from a starting basis to neighboring bases until it reaches optimality. A near-optimal starting basis can significantly shorten this path, which solvers have long exploited by building starting bases with crash heuristics (Bixby, 1992; Maros, 2003). Recent work has had success learning these starting bases, using a graph neural network (GNN) to score each column for membership in an optimal basis and a decoder to turn the scores into a valid basis. These methods substantially reduce the average number of simplex iterations (Fan et al., 2023; Lu & Yan, 2025). Learned starts are most useful for a stream of new LPs from known problem classes that must be solved by simplex, for example because a basic solution is needed at the root of branch-and-bound, for cut generation or for sensitivity analysis, or because runs must be reproducible. In that setting no earlier basis of the same LP is available, the training cost is paid once, and what matters is the solve time saved per LP.

The number of iterations (pivots) is a natural measure of starting-basis quality: it is hardware- and implementation-independent, and, intuitively, a start closer to an optimal basis should need fewer pivots. In practice, however, users pay for solve time, and the work of each pivot depends on factors like the sparsity of both the basis and the vectors it computes, and the numerical stability of the basis factorizations. As a result, pivot costs may vary by orders of magnitude within a single solve (Hall & McKinnon, 2005). Published results show the difference: in the HiGHS experiments of Fan et al. (2023), the learned start takes 0.25×0.25 \times the iterations of the default start but 0.41×0.41 \times its time; Lu & Yan (2025) report 0.60×0.60 \times and 0.73×0.73 \times and note that “a closer initial basis does not always result in greater acceleration” (Table 1). We therefore minimize “charged” time, the overall solve time with every overhead of the learned start included, and treat the iteration count as only one of its factors.

∗^{*}Equal contribution.

(a) Iterations vs. time, by method

Figure

(b) Variance of log solve time explained within an LP

Figure

Figure 1: Iteration savings overstate time savings. (a) Iterations and charged time of learned warm starts on unseen test LPs, relative to the dual simplex from a cold (all-slack) start (geometric means; §5). Every method lies well above the diagonal, where time saved would equal iterations saved. (b) How much of the variance in log solve time each quantity explains across different starts of the same LP. The CPU instruction count, which our method, COSTSTART (§4), trains on, explains nearly all of it.

On our data, the gap is large (Figure 1a). On unseen LPs from 25 problem classes, the strongest supervised predictor we could train removes about two thirds of the dual simplex's iterations but only about a third of its time, and two published methods save little or no time. The gap has two causes. First, the iterations that a good start removes are often the cheap ones. Second, closeness to an optimal basis, which predictors are trained for, does not rank the candidate starts of an LP by cost. We prove that two starts that contain the same fraction of an optimal basis (their overlap) and need the same number of pivots can differ in linear-algebra work by a factor that grows with the square root of the number of rows. On our generated LPs, across different starts of the same LP, overlap explains just 14% of the variance in log solve time, and even the pivot count explains only 71% (Figure 1b).

These findings call for a method that optimizes solve time, not just overlap with an optimal basis. Our method, COSTSTART, has two parts. A supervised predictor scores each column, and a triangular crash decodes the scores into a basis that is nonsingular by construction; the resulting start alone is already faster than two published methods retrained on our data. A small decision policy then chooses, per LP, how far to shift the predicted scores (and so how many predicted columns enter the start), which simplex algorithm and pricing rule to run, or whether to skip the warm start entirely. The policy is trained on the CPU instruction count of every action on every training LP, a less noisy proxy for solve time. Its three versions, COSTSTART-SHIFT, COSTSTART-ALG and COSTSTART-FULL, have progressively larger action sets.

Whereas the published methods train one model per dataset, we train a single model on LPs from 26 problem classes with 134 variants, half of which are the dual forms of the other half, and test it on the 25 of these classes that have test instances. We then test how far it generalizes: to new instances of the training classes, to LPs up to four times the training size, to held-out variants, and to unseen classes. Guardrails limit losses on unfamiliar and badly scaled LPs.

References (96)