← Posts

Steiner Networks, or, the Price of Fault Tolerance

  1. Started
  2. Last updated

A minimum spanning tree connects every vertex at the least cost, but loses connectivity when any edge fails. A simple graph model of fault tolerance assigns a required number of edge-disjoint paths between selected pairs: perhaps three from a source to a hospital, two to a substation, and one to a depot.

A network with different redundancy requirementsIllustrative requirements: three paths to the hospital, two to the substation, one to the depot.line downsrcpower sourcehospitalneeds 3 linessubstationneeds 2 linesdepotneeds 1 line

The Steiner Network Design problem asks for the cheapest subgraph of a given graph that meets these pairwise edge-connectivity requirements. Requiring one path between every pair of vertices gives the minimum spanning tree problem. Requiring connectivity only among a specified set of terminals gives Steiner Tree, which is already NP-hard; allowing higher requirements adds redundancy to the design.

From spanning tree to fault-tolerant networkMST requires one path between every pair. General connectivity requirements include NP-hard cases.uniform (r = 1)minimum spanning tree poly-timenon-uniform (r varies)general Steiner network NP-hardr = 2

Linear programming gives a way to compare these problems. A linear program (LP) has a linear objective and linear constraints, with variables allowed to take continuous values. Many combinatorial problems can be written as integer programs; their LP relaxations drop the integrality requirement. An efficiently solvable integral relaxation gives an exact algorithm for the integer problem. MST has such a formulation, though the simpler cut relaxation below can have fractional optima.

Jain's (2001) algorithm uses the structure of tight cut constraints to find an edge whose fractional value is at least 1/21/2. Selecting such edges one at a time gives a solution costing at most twice the LP optimum.

These are reworked notes from EECS 598-001 (Hardness of Approximation) with Euiwoong Lee, organized around that transition.


MST as an LP

Given a graph G=(V,E)G = (V, E) with edge costs c:E→R≥0c: E \to \mathbb{R}_{\geq 0}, the minimum spanning tree problem can be formulated as an integer program. Assign a binary variable xex_e to each edge:

min⁡∑e∈Ec(e) xes.t.∑e∈δ(S)xe≥1∀  ∅⊂S⊂Vxe∈{0,1}∀  e∈E\begin{aligned} \min \quad & \sum_{e \in E} c(e)\, x_e \\ \text{s.t.} \quad & \sum_{e \in \delta(S)} x_e \geq 1 \quad \forall\; \emptyset \subset S \subset V \\ & x_e \in \{0, 1\} \quad \forall\; e \in E \end{aligned}

Each constraint requires that for every proper nonempty subset SS of VV, at least one selected edge crosses the cut (S,V∖S)(S, V \setminus S). This is equivalent to requiring connectivity.

Relaxing the variables to 0≤xe≤10 \leq x_e \leq 1 permits fractional solutions. On the triangle with unit edge costs, setting every xe=1/2x_e = 1/2 satisfies all three cut constraints at cost 3/23/2, while any spanning tree costs 22. On the nn-cycle the same construction gives cost n/2n/2 against a tree cost of n−1n-1, so the ratio approaches 22.

Edmonds' spanning-tree polytope uses stronger constraints: xe≥0x_e \geq 0, ∑e⊆Sxe≤∣S∣−1\sum_{e \subseteq S}x_e \leq |S|-1 for nonempty S⊆VS \subseteq V, and ∑exe=∣V∣−1\sum_e x_e = |V|-1. It is integral, reflecting the matroid structure of spanning trees. The weaker cut-covering relaxation is the one that extends to Steiner networks.

The general problem

Now allow non-uniform requirements in an undirected graph. A symmetric function r:V×V→Z≥0r: V \times V \to \mathbb{Z}_{\geq 0} specifies, for each pair of distinct vertices (u,v)(u,v), the number of edge-disjoint paths required between them.

Steiner Network Design. Given G=(V,E)G = (V, E) with costs c(e)≥0c(e) \geq 0 and requirements r(u,v)r(u,v), find the minimum-cost subgraph H⊆GH \subseteq G such that the edge-connectivity λH(u,v)≥r(u,v)\lambda_H(u,v) \geq r(u,v) for all pairs.

Steiner Tree is the special case with r(u,v)=1r(u,v)=1 for every pair in a terminal set TT, and zero otherwise. Arbitrary required pairs with demands in {0,1}\{0,1\} give Steiner Forest. Higher demands require redundant paths.

The practical motivation for higher connectivity requirements comes from Menger's theorem: requiring r(u,v)=kr(u,v) = k edge-disjoint paths is equivalent to requiring that uu and vv remain connected after the removal of any k−1k-1 edges. This is the standard formalization of fault tolerance in network design.

A connectivity requirement is a failure budgetBy Menger’s theorem, requiring r(u,v) = k edge-disjoint paths means surviving any k − 1 edge failures.one edge failsuv3 edge-disjoint paths → survives 2 failures

The LP relaxation and the integrality gap

The integer program follows the same pattern as MST. Define the cut demand for a vertex set SS as the maximum requirement crossing the cut:

r(S)=max⁡u∈S,v∉Sr(u,v)r(S) = \max_{\substack{u \in S,\; v \notin S}} r(u, v)

Set r(∅)=r(V)=0r(\emptyset)=r(V)=0. Each available edge can be selected once:

min⁡∑e∈Ec(e) xes.t.∑e∈δ(S)xe≥r(S)∀  ∅⊂S⊂Vxe∈{0,1}∀  e∈E\begin{aligned} \min \quad & \sum_{e \in E} c(e)\, x_e \\ \text{s.t.} \quad & \sum_{e \in \delta(S)} x_e \geq r(S) \quad \forall\; \emptyset \subset S \subset V \\ & x_e \in \{0, 1\} \quad \forall\; e \in E \end{aligned}

Relaxing to 0≤xe≤10 \leq x_e \leq 1 gives exponentially many cut constraints. They can be checked in polynomial time by finding a minimum uu–vv cut with capacities xex_e for each pair with positive demand. Any cut with capacity below r(u,v)r(u,v) violates a constraint. This separation oracle allows the ellipsoid method to solve the LP without listing every cut.

The LP optimum OPTLP\text{OPT}_{\text{LP}} lower-bounds the integer optimum OPTIP\text{OPT}_{\text{IP}}. The integrality gap is the worst-case ratio OPTIP/OPTLP\text{OPT}_{\text{IP}}/\text{OPT}_{\text{LP}}. The nn-cycle gives ratios approaching 22, even with all requirements equal to 11. Jain's rounding supplies the matching upper bound, so this relaxation's integrality gap is exactly 22.

Approximation guarantees for the underlying problems can be better than this cut LP's gap. MST is solved exactly. Steiner Tree admits a ln⁡4+ε\ln 4+\varepsilon approximation for any fixed ε>0\varepsilon>0 (Byrka, Grandoni, Rothvoß, and Sanità, 2010), using a stronger relaxation. Jain's guarantee for general Steiner Network is 22.

Known approximation guaranteesPolynomial-time algorithms for the three problems. A ratio of 1 gives an exact solution.1×2×1.00×MSTsolved exactly1.39×Steiner Treeln 4 + ε, Byrka et al.2.00×general SteinerJain 2001

Submodularity and uncrossing

The rounding argument uses two properties of cuts: submodularity of their capacities and an uncrossing property of tight constraints.

Submodularity. For fixed nonnegative capacities xex_e, the cut capacity f(S)=∑e∈δ(S)xef(S)=\sum_{e\in\delta(S)}x_e is submodular:

f(A)+f(B)≥f(A∪B)+f(A∩B)f(A) + f(B) \geq f(A \cup B) + f(A \cap B)

Undirected cut capacities also satisfy f(A)+f(B)≥f(A∖B)+f(B∖A)f(A)+f(B)\geq f(A\setminus B)+f(B\setminus A).

The demand function r(S)=max⁡u∈S, v∉Sr(u,v)r(S) = \max_{u \in S,\, v \notin S} r(u,v) is weakly (skew) supermodular: for any two sets AA and BB, at least one of

r(A)+r(B)≤r(A∪B)+r(A∩B)orr(A)+r(B)≤r(A∖B)+r(B∖A)r(A) + r(B) \leq r(A \cup B) + r(A \cap B) \qquad \text{or} \qquad r(A) + r(B) \leq r(A \setminus B) + r(B \setminus A)

holds. The alternative involving set differences is needed when the union/intersection inequality fails.

Uncrossing. A family of sets F⊆2V\mathcal{F} \subseteq 2^V is laminar if any two members are either disjoint or nested. A laminar family of nonempty sets has size at most 2∣V∣−12|V| - 1.

A cut SS is tight when its constraint holds with equality, f(S)=r(S)f(S)=r(S). Suppose tight cuts SS and TT cross. In the branch of weak supermodularity involving their intersection and union, feasibility and submodularity give:

r(S)+r(T)=f(S)+f(T)≥f(S∩T)+f(S∪T)≥r(S∩T)+r(S∪T)≥r(S)+r(T).\begin{aligned} r(S)+r(T) &= f(S)+f(T) \\ &\geq f(S\cap T)+f(S\cup T) \\ &\geq r(S\cap T)+r(S\cup T) \\ &\geq r(S)+r(T). \end{aligned}

Equality must hold throughout, so the intersection and union are tight. In the other branch, the same argument makes S∖TS\setminus T and T∖ST\setminus S tight.

Uncrossing allows the tight cut constraints needed to describe an extreme point to be chosen as a laminar family, after accounting for variables at their bounds. The LP still contains all its cut constraints; the laminar basis is used in the analysis of the selected extreme point.

Uncrossing: the union/intersection caseWhen this branch of skew supermodularity applies, S∩T and S∪T are both tight.STcrossingS∩TS∪Tnested (laminar)

Jain's iterative rounding

The iterative rounding algorithm is:

  1. Solve the residual LP and obtain an optimal extreme point. Discard edges with xe=0x_e=0.
  2. Select an edge with xe≥1/2x_e\geq 1/2 and fix its value to 11.
  3. Remove that edge from the remaining instance, reduce the demand of each cut it crosses by one, and repeat until the selected edges satisfy all requirements.

Jain's theorem guarantees the edge required in step 2 whenever the residual problem is nontrivial. Its proof uses a counting argument on the laminar basis; the bound on the family's size alone is insufficient. Chekuri's lecture notes give the full argument.

Selecting an edge costs at most twice its current fractional contribution. The remaining fractional solution stays feasible for the residual demands, and reoptimizing can only reduce its cost. Charging each selected edge against the corresponding decrease in the LP objective gives

cost≤2⋅OPTLP≤2⋅OPTIP.\text{cost} \leq 2 \cdot \text{OPT}_{\text{LP}} \leq 2 \cdot \text{OPT}_{\text{IP}}.

Each iteration removes an edge from the residual instance, so the algorithm makes at most ∣E∣|E| LP solves and gives a polynomial-time 2-approximation.

Remarks

The factor 22 is tight relative to this cut relaxation, as the cycle example shows. A hardness-of-approximation bound would require a separate argument about the underlying problem; MST has the same cut-LP gap and admits an exact algorithm.