Skip to content
DAH

Competitive ratio of the greedy algorithm for online Steiner forest

In progressTo verify: Expert reviewPosed by Awerbuch, Azar and Bartal, SODA 1996
AI-reviewed
On this page15 sections
Difficulty
50/100Research-grade
How far from a resolution. P vs NP = 100
Application value
30/100Indirect
Realistic practical impact if resolved. P vs NP = 100
Leverage
30/100Local
How much other knowledge hinges on it. P vs NP = 100

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.

  1. 1Pairs arrive; cables stay bought
  2. 2Greedy buys the cheapest new path
  3. 31996: ratio at most log squared
  4. 42022: log times log log on restricted cases
  5. 52026 preprint: exactly that, unverified

The question. In online Steiner forest, a weighted graph is given and pairs (si,ti)(s_i,t_i), i=1,…,ki=1,\dots,k, 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 sis_i and tit_i after setting the cost of already-bought edges to zero. An algorithm is cc-competitive if its cost is at most c⋅OPTc\cdot\mathrm{OPT} on every sequence, where OPT\mathrm{OPT} is the cheapest edge set serving all pairs, computed with full hindsight. What is greedy's best possible cc as a function of kk?

Known before October 2026.

  • Every online algorithm has c=Ω(log⁡k)c=\Omega(\log k) (Imase and Waxman, 1991, for online Steiner tree, which is a special case).
  • Greedy has c=O(log⁡2k)c=O(\log^2 k) (Awerbuch, Azar and Bartal, 1996), who conjectured O(log⁡k)O(\log k).
  • A different algorithm of Berman and Coulston (1997) has c=O(log⁡k)c=O(\log k), so the best possible is Θ(log⁡k)\Theta(\log k).
  • Greedy has O(log⁡klog⁡log⁡k)O(\log k\log\log k) 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 C⋅OPT⋅log⁡(2k)log⁡log⁡(4k)C\cdot\mathrm{OPT}\cdot\log(2k)\log\log(4k) on every instance, and an infinite family of instances where greedy costs at least c⋅OPT⋅log⁡klog⁡log⁡kc\cdot\mathrm{OPT}\cdot\log k\log\log k. Together, greedy's ratio would be exactly Θ(log⁡klog⁡log⁡k)\Theta(\log k\log\log k). That would refute the conjecture and leave a Θ(log⁡log⁡k)\Theta(\log\log k) 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 GG is given and terminal pairs (s1,t1),…,(sk,tk)(s_1,t_1),\dots,(s_k,t_k) 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 kk? Awerbuch, Azar and Bartal proved O(log⁡2k)O(\log^2 k) and conjectured O(log⁡k)O(\log k); every online algorithm has ratio Ω(log⁡k)\Omega(\log k), and a non-greedy algorithm of Berman and Coulston achieves O(log⁡k)O(\log k).

Words on this page (9)
Words on this page
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)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then
    • Competitive ratio of the greedy algorithm for online Steiner forestThe problem

State of the art

Accepted results. Greedy is O(log⁡2k)O(\log^2 k)-competitive (Awerbuch, Azar, Bartal, SODA 1996). No online algorithm beats Ω(log⁡k)\Omega(\log k), which follows from the Imase–Waxman lower bound for online Steiner tree, and Berman and Coulston give an O(log⁡k)O(\log k)-competitive non-greedy algorithm. Bamas, Drygala and Maggiori (SODA 2022) showed that greedy is O(log⁡k⋅log⁡log⁡k)O(\log k\cdot\log\log k)-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 C⋅OPT⋅log⁡(2k)log⁡log⁡(4k)C\cdot\mathrm{OPT}\cdot\log(2k)\log\log(4k) on every instance, and that an infinite family of instances forces cost at least c⋅OPT⋅log⁡klog⁡log⁡kc\cdot\mathrm{OPT}\cdot\log k\log\log k. That would make the ratio Θ(log⁡klog⁡log⁡k)\Theta(\log k\log\log k), refute the O(log⁡k)O(\log k) conjecture, and leave a Θ(log⁡log⁡k)\Theta(\log\log k) 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 Θ(log⁡k)\Theta(\log k) 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 review

Only 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

Progress

  1. Oct 29, 2026
    Claimed tight bound Θ(log k log log k)

    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.

    source
  2. Nov 19, 2021
    O(log k log log k) on a wide class of instances

    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).

    source
  3. Jan 1, 1996
    Greedy is O(log²) competitive; O(log) conjectured

    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.

    source