Online network design: online Steiner tree and Steiner forest
Terminals or terminal pairs arrive one at a time and bought edges stay bought. The best ratio is Θ(log k); the exact ratio of the natural greedy algorithm is the live question.
On this page17 sections
Competitive analysis of online network design is the standard model for incremental network building, and the greedy shortest-path rule is the baseline that more elaborate online Steiner algorithms are compared with.
Building a network edge by edge as requests arrive, with no way to undo purchases and no knowledge of what comes next.
- 1Requests arrive one by one
- 2Bought edges can never be undone
- 3Greedy: buy the cheapest new connection
- 4Compare cost with hindsight optimum
- 5Claimed: greedy loses an extra log log factor
The setting. A weighted graph (nodes joined by edges with costs) is known in advance. Requests then arrive one at a time. In the online Steiner tree problem each request is a node, and after it arrives the algorithm must have bought edges linking it to all earlier requests. In online Steiner forest each request is a pair of nodes that must be connected to each other, but different pairs need not be connected to each other, so the bought edges can form several separate pieces. Edges, once bought, stay bought.
Online algorithms and competitive ratio. An online algorithm must decide with only part of the input. We measure it against , the cost of the cheapest edge set that serves all requests, chosen by someone who saw the whole sequence. The algorithm is -competitive if on every request sequence its cost is at most . Here may depend on . The adversary picks the worst sequence, so this is a worst-case guarantee.
Greedy. When a pair arrives, set the cost of every already bought edge to zero and buy a shortest path (the cheapest route, as found by Dijkstra's algorithm) between and . It uses no randomness and no precomputation. For trees, Imase and Waxman (1991) showed greedy is -competitive, and that every online algorithm has ratio at least . Here grows very slowly: for a million requests it is about 20.
What was known for forests. Awerbuch, Azar and Bartal (1996) proved greedy is -competitive and conjectured the truth was . Berman and Coulston (1997) gave a different, non-greedy algorithm that is -competitive, so the best achievable ratio is . Bamas, Drygala and Maggiori (SODA 2022) showed greedy achieves on a wide but restricted class of instances.
The October 2026 claim. Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026) claim that on every instance greedy costs at most about , and that infinitely many instances force greedy to pay at least about that much. If correct, the greedy ratio is exactly , which refutes the conjecture.
Why a factor matters. For , and , so the extra factor is a small number in practice. Its importance is conceptual: it would say the simplest rule is provably, by a growing amount, worse than the cleverer one. The claim concerns only greedy, and the best possible ratio remains .
Status. This is a two-day-old preprint, not refereed, and DARC has seen no independent verification. Treat it as a claim.
Go deeper
The full technical text.
Online Steiner problems
In the online Steiner tree problem a weighted graph is known in advance and terminals arrive one at a time; after each arrival the algorithm must have bought edges connecting the new terminal to the earlier ones, and bought edges are never returned. In the online Steiner forest problem (also called the online generalized Steiner problem) the requests are pairs of vertices and each pair must be connected before the next arrives, so the purchased edges may form many separate components. An algorithm is -competitive if its cost is at most times the cost of the cheapest edge set connecting all requested pairs, chosen with hindsight.
Greedy
The natural greedy algorithm connects each new pair by a shortest path in the graph where already-purchased edges cost zero, and pays only for the new edges. For Steiner trees the analysis of Imase and Waxman (1991) shows that this is -competitive and that no online algorithm does better than ; that lower bound carries over to forests (as recalled by Awerbuch, Azar and Bartal). The tree analysis does not extend to forests, because greedy can keep many components alive at once.
What is known for forests
Awerbuch, Azar and Bartal (first presented at SODA 1996; journal version in Theoretical Computer Science, 2004) proved that greedy is -competitive (stated there in terms of the number of vertices ) and observed that a key lemma of their analysis is tight up to a factor. Berman and Coulston (1997) then gave a different, non-greedy online algorithm that is -competitive, which is optimal in order. The Awerbuch–Azar–Bartal paper conjectures that greedy itself is -competitive.
Bamas, Drygala and Maggiori (SODA 2022) improved the analysis of greedy to on a wide class of instances that contains all the hard examples published until then, leaving the general case open.
The October 2026 claim
Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade (arXiv:2610.40569, 29 October 2026, unrefereed) claim that greedy's worst-case competitive ratio on online Steiner forest is : an upper bound of for every instance, and a matching infinite family of instances on which greedy pays times the optimum. If correct, this refutes the conjecture and shows a gap between greedy and the best online algorithm. It is a statement about one specific algorithm; the best achievable ratio stays .
Why it matters
Greedy is the algorithm one would actually run, since it needs no randomness or preprocessing, so its exact worst case says how much is lost by not using the more elaborate Berman–Coulston scheme. The problem also sits with the other competitive-analysis questions in the library, such as the -server conjecture, where the best deterministic ratio on every metric is likewise at stake.
Words on this page (10)
- 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 tree
- A cheapest set of edges in a weighted graph that connects a chosen set of terminal nodes, possibly through extra nodes.
- 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.
- weighted graph
- Nodes joined by edges, where each edge carries a cost such as a length or price.
- 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 (3)
- Competitive analysis of online algorithms (Wikipedia)Defines competitive ratio with simple examples.
- Steiner tree problem (Wikipedia)Shows what a Steiner tree is and why extra nodes help.
- Gholami et al., The Tight Competitive Ratio of Greedy for Online Steiner Forest (arXiv)The unrefereed October 2026 paper; the abstract states the claim.
Understanding map
map of the whole wiki →What to read before Online network design: online Steiner tree and Steiner forest (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Step 3
- Then
Open problems & questions
Progress timeline
- Oct 29, 2026Claimed tight bound Θ(log k log log k)Related to: Competitive ratio of the greedy algorithm for online Steiner forestsource
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.
- Oct 29, 2026Claimed tight bound for greedy online Steiner forestsource
Gholami, I. Hajiaghayi, M. Hajiaghayi and Jabbarzade posted a preprint claiming that greedy is Θ(log k log log k)-competitive, refuting the O(log k) conjecture of Awerbuch, Azar and Bartal. Unrefereed.
- Nov 19, 2021O(log k log log k) on a wide class of instancesRelated to: Competitive ratio of the greedy algorithm for online Steiner forestsource
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) conjecturedRelated to: Competitive ratio of the greedy algorithm for online Steiner forestsource
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.