Competitive ratio of the greedy algorithm for online Steiner forest
On this page15 sections
Difficulty: a claimed complete answer exists from specialists and only verification remains, but the question resisted the community from 1996 to 2022. Application value is low because the best order was already achieved by another algorithm. Leverage is confined to online network design.
The problem
How badly can the simple cheapest-connection rule do when connection requests arrive one at a time? A new preprint claims an answer.
- 1Pairs arrive; cables stay bought
- 2Greedy buys the cheapest new path
- 31996: ratio at most log squared
- 42022: log times log log on restricted cases
- 52026 preprint: exactly that, unverified
The question. In online Steiner forest, a weighted graph is given and pairs , , arrive one at a time; each pair must be connected by bought edges before the next arrives, and bought edges stay bought. The greedy algorithm buys a shortest path between and after setting the cost of already-bought edges to zero. An algorithm is -competitive if its cost is at most on every sequence, where is the cheapest edge set serving all pairs, computed with full hindsight. What is greedy's best possible as a function of ?
Known before October 2026.
- Every online algorithm has (Imase and Waxman, 1991, for online Steiner tree, which is a special case).
- Greedy has (Awerbuch, Azar and Bartal, 1996), who conjectured .
- A different algorithm of Berman and Coulston (1997) has , so the best possible is .
- Greedy has on a large restricted class of instances (Bamas, Drygala and Maggiori, SODA 2022).
The claim. Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026) report two theorems: an upper bound of the form on every instance, and an infinite family of instances where greedy costs at least . Together, greedy's ratio would be exactly . That would refute the conjecture and leave a gap to the best online algorithm.
Why it was hard. For trees, a newly arriving node only has to join one growing component, and the analysis is clean. For forests, greedy may keep many separate components alive, and a later pair can force them to merge in costly ways. The question stayed open from 1996 until at least 2022, when only the restricted-class result appeared.
What is unknown. Whether the two theorems are correct. As of 31 October 2026 the paper is two days old, unrefereed, and DARC found no independent verification. The problem stays marked in progress.
Go deeper
The full technical text.
In online Steiner forest, a weighted graph is given and terminal pairs arrive one at a time; each pair must be connected by purchased edges before the next arrives, and purchased edges cannot be removed. The greedy algorithm connects each pair by a shortest path in the graph where purchased edges cost zero. What is the worst-case competitive ratio of greedy as a function of ? Awerbuch, Azar and Bartal proved and conjectured ; every online algorithm has ratio , and a non-greedy algorithm of Berman and Coulston achieves .
Words on this page (9)
- online algorithm
- A method that must make permanent decisions as input arrives, without seeing the future requests.
- competitive ratio
- The worst-case factor by which an online algorithm's cost exceeds that of the best choice made with full hindsight.
- Steiner forest
- Like a Steiner tree, but only given pairs of nodes must be connected, so the result may be several separate trees.
- greedy algorithm
- A method that always takes the locally cheapest step and never revisits earlier choices.
- shortest path
- The route between two nodes of a weighted graph whose edge costs add up to the least.
- conjecture
- A statement that experts believe is true but have not proved.
- logarithm
- The power to which a base must be raised to give a number; it grows very slowly, so $\log k$ is small even for huge $k$.
- preprint
- A paper posted publicly before peer review, so its claims have not yet been checked by independent referees.
- Θ (theta) notation
- Says a quantity grows at the same rate as a given function, bounded above and below up to constant factors.
New to this? Read first (4)
- Competitive analysis of online algorithms (Wikipedia)Defines competitive ratio with simple examples.
- Steiner tree problem (Wikipedia)Background on the tree version of the problem.
- Gholami et al., The Tight Competitive Ratio of Greedy for Online Steiner Forest (arXiv)The unrefereed October 2026 paper; the abstract states the claim.
- Bamas, Drygala, Maggiori, An Improved Analysis of Greedy for Online Steiner Forest (arXiv)The 2022 partial result that the new claim extends.
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- Then
- Competitive ratio of the greedy algorithm for online Steiner forestThe problem
State of the art
Accepted results. Greedy is -competitive (Awerbuch, Azar, Bartal, SODA 1996). No online algorithm beats , which follows from the Imase–Waxman lower bound for online Steiner tree, and Berman and Coulston give an -competitive non-greedy algorithm. Bamas, Drygala and Maggiori (SODA 2022) showed that greedy is -competitive on a wide class of instances containing all previously published hard examples.
Claimed resolution (unrefereed). Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026) report that greedy's cost is at most on every instance, and that an infinite family of instances forces cost at least . That would make the ratio , refute the conjecture, and leave a gap between greedy and the best online algorithm. As of 31 October 2026 the paper is two days old and no independent verification or refereed publication was found, so the status is IN_PROGRESS.
Realistic applications
Mostly theoretical: it fixes how much a simple, memoryless shortest-path rule loses against the more elaborate Berman–Coulston scheme in online network building. It does not change practice, since the best order was already known.
What counts as solved
A proof of the exact worst-case competitive ratio of greedy for online Steiner forest, accepted by experts, for example the 2026 Gholami–Hajiaghayi–Hajiaghayi–Jabbarzade upper and lower bounds after refereed publication or independent verification; or an error found in either bound.
How it gets verified
To verify: Expert reviewOnly expert review of the argument is possible today.
Claim: greedy's competitive ratio on online Steiner forest is Θ(log k log log k). A reviewer checks the upper bound proof (Theorem 1 of arXiv:2610.40569) for all graphs and request sequences, and the lower-bound construction (Theorem 2) by computing greedy's cost and an explicit offline forest on the instance family for several values of k, confirming the ratio grows like log k log log k and not like log k. Acceptance is by independent expert reading or refereed publication.
Claims
Connected problems
- This problem is related to Deterministic k-server conjecture: a k-competitive online algorithm on every metric spaceBoth ask for the exact worst-case competitive ratio of a natural online algorithm, and both have a claimed 2026 resolution that is not yet refereed.
- This problem is related to The matroid secretary conjecture: constant-competitive online selection on every matroidBoth are worst-case questions about irrevocable online decisions under a combinatorial constraint, settled by competitive-ratio arguments.
Progress
- Oct 29, 2026Claimed tight bound Θ(log k log log k)source
Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade posted a preprint claiming matching upper and lower bounds for greedy, which would refute the O(log k) conjecture. Unrefereed.
- Nov 19, 2021O(log k log log k) on a wide class of instancessource
Bamas, Drygala and Maggiori showed that greedy is O(log k log log k)-competitive on a wide class of instances containing all previously published examples (SODA 2022).
- Jan 1, 1996Greedy is O(log²) competitive; O(log) conjecturedsource
Awerbuch, Azar and Bartal proved that the Min-Cost (greedy) algorithm for the online generalized Steiner problem is O(log² n)-competitive and conjectured O(log n); the date is the SODA 1996 year, month and day not given.