Algorithmadvanced
Multicommodity flow global routing
Also called Albrecht global routing.
Global routing as fractional multicommodity flow, solved approximately by multiplicative length updates over shortest paths, then rounded to one route per net.
- Solves
- Global routing
- Time
- O(T k E log V) worst
- Space
- O(E + T k V) extra
- Where
- E = the number of grid edges; T = the number of rounds; V = the number of gcells; k = the number of nets
- Model
- Word RAM
- Properties
- randomizednot exactiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Christoph Albrecht, 2001
Multicommodity flow global routing solves the LP relaxation of global routing, in which each net may split over several routes, and then rounds it to one route per net. The relaxation is a fractional multicommodity flow that minimizes the congestion , the largest ratio of usage to capacity. This page solves it with multiplicative weights: each edge has a weight, each net takes a shortest route under lengths proportional to the weights, and the weights of the edges that the routes use grow by a factor. The average of the rounds is within a factor of the fractional optimum, up to an additive term that falls as in the number of rounds , and each round also gives a proved lower bound. Randomized rounding then picks one route per net, and rip-up and reroute removes the overflow that remains.
In plain words
Suppose every net could split into many thin wires that take different roads. Then the best plan is easy to compute well, and it tells you how crowded the chip must be at least.
The method finds such a plan by playing many rounds. Each road has a price. In each round, every net takes its cheapest road. Then each road that was used gets a little more expensive, more so when many nets used it. Over many rounds, the nets spread over the roads, and the share of rounds in which a net took a road becomes the fraction of that net on it.
At the end, each net must take one real road. It draws one at random, with the chance of each road equal to its share. A few roads may then be too full, and a repair step moves some nets away.
The problem
Let be the routing graph with capacities , and let there be nets. Net has a set of routes: all paths between its two pins, or a given list of candidate trees. The fractional problem is
It is a linear program with one variable per route, which can be exponentially many, so the method only touches routes through an oracle that returns a shortest route of a net for given edge lengths. For two-pin nets the oracle is Dijkstra's algorithm. The integral problem, with each , is the minimum congestion form of global routing, and .
The algorithm
The width is . No edge carries more than nets, so in every round. The step size is a parameter.
MCF-GLOBAL-ROUTE(G, c, nets, ε, T)- 1
w_e ← 1 for every edge e; ρ ← k / min_e c_e; LB ← 0 - 2
for t ← 1 to T do - 3
ℓ_e ← w_e / (W c_e) for every e, where W = Σ_e w_e - 4
for each net i: P_i ← a shortest route of net i under ℓ (the oracle) - 5
count(i, P_i) ← count(i, P_i) + 1 for each i; load_e ← |{ i : e ∈ P_i }| - 6
LB ← max(LB, Σ_e ℓ_e · load_e) - 7
w_e ← w_e · (1 + ε · load_e / (ρ c_e)) for every e - 8
x_iP ← count(i, P) / T; λ_frac ← max_e (Σ_i Σ_{P ∋ e} x_iP) / c_e - 9
for each net i, independently: pick one route P with probability x_iP - 10
return x, λ_frac, LB and the picked routes
Lines L2 to L7 are the fractional solver. The lengths of line L3 satisfy , so the value of line L6 is a lower bound on by weak duality. Line L8 averages the routes of the rounds. Line L9 is the rounding of Raghavan and Thompson.
Albrecht's router uses the method of Garg and Könemann with Fleischer's extensions, which routes the nets in phases with a step size and a stopping rule of its own. This page uses the averaged multiplicative weights form above, which has the same kind of guarantee and a short proof, and it is not Albrecht's exact procedure.
Example
Two crossing nets. Take the grid of gcells with capacity 1 on its 4 edges: bottom , top , left and right . Net A joins and , net B joins and . Then , , and take . A route of A meets each route of B in one edge, so .
| round | weights (bottom, top, left, right) | route of A | route of B | loads | |
|---|---|---|---|---|---|
| 1 | 1, 1, 1, 1 | bottom, right | bottom, left | 2, 0, 1, 1 | 1 |
| 2 | 5/4, 1, 9/8, 9/8 | top, left | top, right | 0, 2, 1, 1 | 17/18 |
| 3 | 5/4, 5/4, 81/64, 81/64 | bottom, right | bottom, left | 2, 0, 1, 1 | 1 |
| 4 | 25/16, 5/4, 729/512, 729/512 | top, left | top, right | 0, 2, 1, 1 | 1369/1449 |
In round 1 all lengths are , both routes of each net cost , and the ties go to the routes through the bottom edge. Its load is 2, so its weight becomes , and the left and right weights become . In round 2 the routes through the top cost against through the bottom, so both nets switch. The rounds alternate. For every even the average gives each route weight , every edge has average load 1, and . Round 1 gives , so : the lower bound proves that this fractional solution is optimal. The rounding picks one route per net, and every pick has congestion 2, the integral optimum. The gap between and is the integrality gap of this instance.
Three nets on a grid. Take capacity 1 on all 12 edges and the nets to , to and to , with the Dijkstra oracle and . All three nets must cross the 3 vertical edges between row 0 and row 1, so .
| rounds | LB | |
|---|---|---|
| 10 | 1 | 0.8547 |
| 40 | 1 | 0.9179 |
| 160 | 1 | 0.9965 |
So here, and the lower bound of line L6 approaches it as the weights settle. An exhaustive search over the 12, 12 and 9 simple paths of the three nets gives , and each rounding in these runs had congestion 2.
Correctness
The proof shows the following, for any route sets for which the oracle returns a shortest route.
- Feasible average. For each net, the weights are nonnegative and add up to 1.
- Lower bound. Each value of line L6 is at most , so .
- Upper bound. .
- Rounds needed. For and , .
- Rounding. The expected load of each edge after rounding is its average load, at most .
Proof: The averaged multiplicative weights solver gives a feasible fractional routing within a factor 1 + ε of optimal plus an additive term in 1/T, and a valid lower boundfull
Setting. has edges with capacities . There are nets, and net has a finite nonempty set of routes, each a set of edges. For a choice of weights , the load of is . The fractional optimum is
The feasible set is a nonempty polyhedron (take any one route per net and large), on it, and the objective is linear, so the minimum is attained, by the existence of optimal vertices of linear programs. Fix an optimal .
The oracle returns, for nonnegative edge lengths , a route with the least length . For the Dijkstra oracle, is the set of simple paths between the two pins, and a shortest walk under positive lengths is a simple path, so Dijkstra's algorithm is such an oracle.
In round write for the weights at line L3, , , for the route of net , , and . Let with .
Lemma 1 (feasible average). For each net , the weights of line L8 are nonnegative, they are positive only on routes of , and they add up to 1. Moreover .
Proof. Each of the rounds adds 1 to exactly one counter of net , at a route returned by the oracle, so the counters of net add up to . For the load, , and is the number of rounds in which the route of net contains . Summing over and exchanging the sums gives .
Lemma 2 (lower bound). For every round , . Hence .
Proof. The lengths satisfy . Since sums the length of each edge once for each route on it, . A minimum is at most any weighted average with weights that add up to 1, so
The middle equality exchanges the sums over routes and edges. The last inequality uses and the constraint . By Lemma 1, is feasible with , so .
This is weak duality for the dual of the problem; only the direction "at most" is needed here.
Lemma 3 (width). for all and .
Proof. , since each net puts at most one route on , and .
Lemma 4. For and , .
Proof. The function is convex, with and . A convex function lies below its chord on , so .
Theorem (upper bound). For and ,
Proof. Line L7 sets . Sum over and write :
Here by Lemma 2. With and ,
For one edge , let . By Lemmas 3 and 4, . All weights are positive, so . Take logarithms:
By Lemma 1, . Multiply the inequality by :
This holds for every edge, so it holds for the maximum, . For the second form, , so .
Corollary (rounds needed). If , and , then .
Proof. From the last step, for . So the additive term is at most . Add it to .
Lemma 5 (rounding). Line L9 picks route for net with probability , independently over the nets. Then the expected load of edge after rounding is , and the load is a sum of independent 0-1 variables, one per net.
Proof. The indicator that net uses has expectation . Sum over by linearity of expectation. Independence holds because each net draws its own random number.
With unit capacities, Lemma 5 is the only input that the analysis on the randomized rounding page needs, with in place of the LP optimum. It gives congestion with high probability.
Complexity
- One round. oracle calls, each a Dijkstra search in time with a binary heap, and for the weights and lengths. So a round costs .
- All rounds. . The bound above needs rounds for a factor. This number depends on the width , so it is pseudo-polynomial when capacities are small and nets are many. The method of Garg and Könemann, with variable steps, removes the dependence on the width.
- Space. for the weights, and one counter for each distinct route that the oracle returns, at most per net, each with up to edges.
- Rounding. to pick the routes from the counters.
- Exact arithmetic. The test implementation uses fractions, whose size grows with . Real routers use floating point and normalize the weights.
Properties
- What is proved. The fractional solution is within the factor and the additive term above, and the lower bound is valid. For two-pin nets with unit capacities, randomized rounding gives congestion with high probability, by the proof on the randomized rounding page, which uses only the bound on the expected load of each edge.
- A certificate. is a proved bound on how far the fractional solution is from optimal, computed during the run.
- What is measured. The final quality after rounding and repair is measured on benchmarks. The integral solution can be twice the fractional optimum or more, as in the examples above, and the repair stage has no proof.
- Randomized. The fractional part is deterministic for a fixed tie rule. The rounding uses random choices, with a fixed seed in the implementation.
- Splittable by design. Each round adds at most one route per net, so after rounds a net uses at most routes, often far fewer.
Variants and improvements
- Garg and Könemann steps. Increase the lengths along one shortest route at a time, with a step that depends on the bottleneck capacity of that route, and stop when the dual value reaches a threshold. This removes the width from the number of steps.
- Multi-pin nets. Let be the Steiner trees of net and let the oracle return a cheapest tree. A minimum Steiner tree is NP-hard to find, so routers use a heuristic tree, and then the factor of the method is multiplied by the ratio of the heuristic.
- Exact LP. For small instances, solve the path LP with column generation by the simplex method, with the same shortest path oracle as the pricing step.
- Derandomized rounding. Replace line L9 by the method of conditional expectations with a pessimistic estimator, which gives the same congestion bound without random choices.
- Negotiation after rounding. Feed the rounded routes to negotiated congestion routing, which removes the remaining overflow.
When to use it
- When a proved lower bound on congestion is wanted, to know how far a routing is from the best possible.
- When the nets are many and the grid is crowded, so that the order of a sequential router matters much.
- As a start for a rip-up and reroute stage, since the rounded routes spread the nets well.
When speed is the first goal and the congestion is mild, pattern routing and negotiated congestion routing are simpler and faster.
Pitfalls
- Treating as the answer. It is the congestion of a split routing. A real routing can need much more, and the rounding can make edges overflow.
- Wrong width. If is too small, some exceeds 1 and the proof fails. If it is much too large, the run needs many more rounds.
- Edges of capacity 0. The lengths divide by . Remove such edges from the graph before the run, or give them a huge length.
- Oracle that is not shortest. The lower bound needs the oracle to return a true shortest route. A heuristic Steiner tree oracle gives a weaker bound.
- Few rounds. The additive term can dominate. In the crossing example with it is about 1.24, so the proved bound is about 2.36 while the true value is 1.
- Rounding many nets on thin edges. The rounding bound is weakest when the expected load of each edge is small, as on edges of capacity 1 or 2. Large overflow after rounding is common on crowded grids, and the repair step does the rest.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/multicommodity-flow-global-routing/. The authors are listed in prov/6WN748.jsonl.
"""Global routing as a fractional multicommodity flow, then randomized rounding.
The routing graph has nodes 0 .. n_nodes - 1 and undirected edges (u, v),
each with a positive capacity. A net has one route out of a set of routes:
all paths between its two pins (the Dijkstra oracle), or an explicit list
of candidate routes. The fractional problem is the linear program
minimize lam subject to sum_P x[i][P] = 1 for each net i,
x >= 0,
load_e(x) <= lam * c_e for each edge e.
The solver is the averaged multiplicative weights method with a shortest
route oracle, in the style of Garg and Koenemann. All arithmetic is exact.
"""
import heapq
import random
from fractions import Fraction
from typing import Optional, Sequence
Edge = tuple[int, int]
Route = frozenset[int]
def grid_graph(width: int, height: int) -> tuple[int, list[Edge]]:
"""Grid of width * height gcells. Node (x, y) has the index y * width + x."""
edges = []
for y in range(height):
for x in range(width - 1):
edges.append((y * width + x, y * width + x + 1))
for y in range(height - 1):
for x in range(width):
edges.append((y * width + x, (y + 1) * width + x))
return width * height, edges
def shortest_route(n_nodes: int, edges: Sequence[Edge], length: Sequence[Fraction], s: int, t: int) -> Route:
"""Dijkstra from s to t. Ties go to the smaller node index. Returns the edge set of the path."""
adj: list[list[tuple[int, int]]] = [[] for _ in range(n_nodes)]
for e, (u, v) in enumerate(edges):
adj[u].append((v, e))
adj[v].append((u, e))
dist = {s: Fraction(0)}
prev: dict[int, tuple[int, int]] = {}
heap = [(Fraction(0), s)]
done = set()
while heap:
d, u = heapq.heappop(heap)
if u in done:
continue
done.add(u)
if u == t:
break
for v, e in sorted(adj[u]):
nd = d + length[e]
if v not in dist or nd < dist[v]:
dist[v] = nd
prev[v] = (u, e)
heapq.heappush(heap, (nd, v))
if t not in done:
raise ValueError("the pins of a net are not connected")
route = set()
v = t
while v != s:
u, e = prev[v]
route.add(e)
v = u
return frozenset(route)
def congestion(routes: Sequence[Route], caps: Sequence[int]) -> Fraction:
"""Largest ratio load / capacity over all edges for one route per net."""
load = [0] * len(caps)
for r in routes:
for e in r:
load[e] += 1
return max((Fraction(l, c) for l, c in zip(load, caps)), default=Fraction(0))
def multicommodity_flow_global_routing(
n_nodes: int,
edges: Sequence[Edge],
caps: Sequence[int],
nets: Sequence[tuple[int, int]],
eps: Fraction = Fraction(1, 4),
rounds: int = 200,
candidates: Optional[Sequence[Sequence[Route]]] = None,
seed: int = 0,
) -> dict:
"""Return a dict with the keys
x: for each net, a dict that maps a route to its weight (the weights add up to 1),
lam_frac: the congestion of x, lower_bound: a proven lower bound on the fractional
optimum, rho: the width, routes: one route per net after randomized rounding, and
lam_int: the congestion of the rounded routes.
With candidates, net i chooses from candidates[i] and nets is not used for routing.
"""
m = len(edges)
if any(c <= 0 for c in caps) or len(caps) != m:
raise ValueError("one positive capacity per edge is needed")
k = len(candidates) if candidates is not None else len(nets)
if k == 0 or rounds < 1:
raise ValueError("at least one net and one round are needed")
def oracle(i: int, length: list[Fraction]) -> Route:
if candidates is None:
s, t = nets[i]
return shortest_route(n_nodes, edges, length, s, t)
best = None
for r in candidates[i]:
key = sum((length[e] for e in r), Fraction(0))
if best is None or key < best[0]:
best = (key, r)
assert best is not None
return best[1]
w = [Fraction(1)] * m # @line L1
rho = Fraction(k, min(caps))
counts: list[dict[Route, int]] = [{} for _ in range(k)]
lower_bound = Fraction(0)
for _ in range(rounds): # @line L2
total = sum(w)
length = [w[e] / (total * caps[e]) for e in range(m)] # @line L3
load = [0] * m
for i in range(k):
r = oracle(i, length) # @line L4
counts[i][r] = counts[i].get(r, 0) + 1 # @line L5
for e in r:
load[e] += 1
lower_bound = max(lower_bound, sum((length[e] * load[e] for e in range(m)), Fraction(0))) # @line L6
w = [w[e] * (1 + eps * load[e] / (rho * caps[e])) for e in range(m)] # @line L7
x = [{r: Fraction(c, rounds) for r, c in cnt.items()} for cnt in counts] # @line L8
avg = [Fraction(0)] * m
for xi in x:
for r, f in xi.items():
for e in r:
avg[e] += f
lam_frac = max(avg[e] / caps[e] for e in range(m))
rng = random.Random(seed)
routes = []
for cnt in counts: # @line L9
pick = rng.randrange(rounds)
for r, c in cnt.items():
if pick < c:
routes.append(r)
break
pick -= c
return { # @line L10
"x": x,
"lam_frac": lam_frac,
"lower_bound": lower_bound,
"rho": rho,
"routes": routes,
"lam_int": congestion(routes, caps),
}
test_multicommodity_flow_global_routing.py 157 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/multicommodity-flow-global-routing/. The authors are listed in prov/6WN748.jsonl.
import itertools
import math
import random
from fractions import Fraction
from typing import Optional
from multicommodity_flow_global_routing import (
congestion,
grid_graph,
multicommodity_flow_global_routing,
shortest_route,
)
def solve(a: list[list[Fraction]], b: list[Fraction]) -> Optional[list[Fraction]]:
"""Gauss-Jordan elimination in exact arithmetic. None if the matrix is singular."""
n = len(a)
mat = [row[:] + [bb] for row, bb in zip(a, b)]
for c in range(n):
p = next((r for r in range(c, n) if mat[r][c] != 0), None)
if p is None:
return None
mat[c], mat[p] = mat[p], mat[c]
for r in range(n):
if r != c and mat[r][c] != 0:
f = mat[r][c] / mat[c][c]
mat[r] = [x - f * y for x, y in zip(mat[r], mat[c])]
return [mat[i][n] / mat[i][i] for i in range(n)]
def lp_optimum(caps: list[int], cands: list[list[frozenset[int]]]) -> Fraction:
"""Fractional optimum lam* by enumeration of the vertices of the LP
min lam s.t. sum_P x_iP = 1, x >= 0, load_e(x) <= lam c_e."""
var = [(i, j) for i in range(len(cands)) for j in range(len(cands[i]))]
n = len(var) + 1
rows: dict[tuple[int, ...], int] = {}
for e, c in enumerate(caps):
inc = tuple(int(e in cands[i][j]) for i, j in var)
if any(inc):
rows[inc] = min(rows.get(inc, c), c) # edges with the same users: the smallest capacity binds
eqs = [([Fraction(int(vi == i)) for vi, _ in var] + [Fraction(0)], Fraction(1)) for i in range(len(cands))]
ineqs = [([Fraction(-int(q == r)) for r in range(len(var))] + [Fraction(0)], Fraction(0)) for q in range(len(var))]
ineqs += [([Fraction(v) for v in inc] + [Fraction(-c)], Fraction(0)) for inc, c in rows.items()]
best = None
for tight in itertools.combinations(range(len(ineqs)), n - len(eqs)):
sol = solve([r for r, _ in eqs] + [ineqs[s][0] for s in tight], [v for _, v in eqs] + [ineqs[s][1] for s in tight])
if sol is None:
continue
if all(sum((p * q for p, q in zip(row, sol)), Fraction(0)) <= rhs for row, rhs in ineqs):
if best is None or sol[-1] < best:
best = sol[-1]
assert best is not None
return best
def simple_paths(n_nodes: int, edges: list[tuple[int, int]], s: int, t: int) -> list[frozenset[int]]:
adj: list[list[tuple[int, int]]] = [[] for _ in range(n_nodes)]
for e, (u, v) in enumerate(edges):
adj[u].append((v, e))
adj[v].append((u, e))
out = []
def go(u: int, seen: set[int], used: list[int]) -> None:
if u == t:
out.append(frozenset(used))
return
for v, e in adj[u]:
if v not in seen:
go(v, seen | {v}, used + [e])
go(s, {s}, [])
return out
def integral_optimum(caps: list[int], cands: list[list[frozenset[int]]]) -> Fraction:
return min(congestion(list(c), caps) for c in itertools.product(*cands))
def upper_bound(lam: Fraction, rho: Fraction, m: int, eps: Fraction, rounds: int) -> float:
e = float(eps)
return e / math.log1p(e) * float(lam) + float(rho) * math.log(m) / (rounds * math.log1p(e))
def check_run(r: dict, caps: list[int], cands: list[list[frozenset[int]]], eps: Fraction, rounds: int) -> None:
lam = lp_optimum(caps, cands)
for xi, ci in zip(r["x"], cands):
assert sum(xi.values()) == 1 and set(xi) <= set(ci)
assert r["lower_bound"] <= lam <= r["lam_frac"]
assert float(r["lam_frac"]) <= upper_bound(lam, r["rho"], len(caps), eps, rounds) + 1e-12
assert r["lam_int"] >= integral_optimum(caps, cands) >= lam
assert all(route in ci for route, ci in zip(r["routes"], cands))
def test_example_two_crossing_nets() -> None:
n, edges = grid_graph(2, 2)
caps = [1, 1, 1, 1]
nets = [(0, 3), (1, 2)]
r = multicommodity_flow_global_routing(n, edges, caps, nets, eps=Fraction(1, 4), rounds=10)
half = Fraction(1, 2)
assert r["x"] == [{frozenset({0, 3}): half, frozenset({1, 2}): half}, {frozenset({0, 2}): half, frozenset({1, 3}): half}]
assert r["lam_frac"] == 1 and r["lower_bound"] == 1 and r["rho"] == 2
cands = [simple_paths(n, edges, s, t) for s, t in nets]
assert lp_optimum(caps, cands) == 1
assert integral_optimum(caps, cands) == 2 == r["lam_int"]
def test_oracle_is_shortest() -> None:
rng = random.Random(5)
n, edges = grid_graph(3, 3)
for _ in range(40):
length = [Fraction(rng.randrange(1, 9), rng.randrange(1, 5)) for _ in edges]
s, t = rng.sample(range(n), 2)
got = shortest_route(n, edges, length, s, t)
best = min(sum(length[e] for e in p) for p in simple_paths(n, edges, s, t))
assert sum(length[e] for e in got) == best
assert got in simple_paths(n, edges, s, t)
def test_dijkstra_oracle_against_lp() -> None:
rng = random.Random(2)
n, edges = grid_graph(2, 2)
eps = Fraction(1, 4)
for _ in range(6):
caps = [rng.choice([1, 2]) for _ in edges]
nets = [tuple(rng.sample(range(n), 2)) for _ in range(rng.choice([2, 3]))]
rounds = 60
r = multicommodity_flow_global_routing(n, edges, caps, nets, eps=eps, rounds=rounds, seed=1)
check_run(r, caps, [simple_paths(n, edges, s, t) for s, t in nets], eps, rounds)
def test_candidate_oracle_against_lp() -> None:
rng = random.Random(4)
n, edges = grid_graph(3, 3)
eps = Fraction(1, 5)
for _ in range(6):
caps = [rng.choice([1, 1, 2]) for _ in edges]
cands = []
for _ in range(3):
s, t = rng.sample(range(n), 2)
cands.append(rng.sample(simple_paths(n, edges, s, t), 2))
rounds = 60
r = multicommodity_flow_global_routing(n, edges, caps, [], eps=eps, rounds=rounds, candidates=cands, seed=3)
check_run(r, caps, cands, eps, rounds)
def test_bad_input() -> None:
n, edges = grid_graph(2, 1)
for caps, nets in (([0], [(0, 1)]), ([1], [])):
try:
multicommodity_flow_global_routing(n, edges, caps, nets)
except ValueError:
pass
else:
raise AssertionError("bad input was accepted")
History
Raghavan and Thompson (1987) wrote global wiring as a 0-1 multicommodity flow, solved its linear relaxation and rounded it at random, which gave the first congestion bound for the rounded routing. Approximation schemes for fractional multicommodity flow with shortest path oracles followed, among them the method of Garg and Könemann (FOCS 1998, journal version 2007) and its speedup by Fleischer. Albrecht (ISPD 2000 and IEEE TCAD 2001) used this method for chip global routing, followed by rounding to one route per net.
References
- Christoph Albrecht, Global routing by new approximation algorithms for multicommodity flow, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 20(5), 622 to 632, 2001, the approximation algorithm for the fractional global routing problem, based on the method of Garg and Könemann with Fleischer's extensions, and the rounding to one route per net (general locator)
- Christoph Albrecht, Provably good global routing by a new approximation algorithm for multicommodity flow, Proceedings of the International Symposium on Physical Design (ISPD), 19 to 25, 2000, the conference version (general locator)
- Naveen Garg and Jochen Könemann, Faster and simpler algorithms for multicommodity flow and other fractional packing problems, SIAM Journal on Computing 37(2), 630 to 652, 2007, the length-function method, with multiplicative length updates along shortest paths and the dual bound
- Prabhakar Raghavan and Clark D. Thompson, Randomized rounding, a technique for provably good algorithms and algorithmic proofs, Combinatorica 7(4), 365 to 374, 1987, the 0-1 multicommodity flow form of global wiring, its linear relaxation and the bound after randomized rounding
- Sanjeev Arora, Elad Hazan and Satyen Kale, The multiplicative weights update method, a meta-algorithm and applications, Theory of Computing 8, 121 to 164, 2012, the multiplicative weights method for packing and covering linear programs with an oracle, and the role of the width
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 6WN748 Edit this page History Report an error Markdown