


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



CS880: Approximation Algorithms Scribe: Matt Elder Lecturer: Shuchi Chawla Topic: Lagrangian Relaxation Date: 4/26 and 4/27, 2007
We have seen many examples of the utility of linear programming. In some cases, to round an LP solution to an integer solution demands that we relax a constraint that we prefer to maintain. The Lagrangian technique will yield a method to maintain such constraints. This technique is especially useful for bicriteria optimization problems, that is, problems with two objectives where we have a fixed bound on one objective and want to optimize the other.
For example, recall the k-median problem: We are given a set of customers, a set of facilities, and a routing cost from each customer to each facility. We want to open no more than k facilities, while minimizing the total routing cost. Using standard LP techniques, it is difficult to round a relaxed LP solution to an integer LP solution without using more than k facilities. Lagrangian relaxation provides a workaround for this problem, so that we can guarantee that the final, integer solution obeys the k-facility constraint.
To demonstrate the technique of Lagrangian relaxation, we consider a solution to the k-minimum spanning tree problem. An approximation to k-median can be obtained in a similar way.
In an instance of the k-minimum spanning tree problem, we have a graph G = (V, E), a cost ce > 0 for each edge in E, and a root vertex r ∈ V. We want to find a tree that connects at least k nodes to the root while minimizing the total cost for the tree’s edges. We are free to choose the set of k vertices that we will connect to the root r; call this set S.
Note that the relationship between the k-MST problem and the prize-collecting Steiner tree problem is analogous to the relationship between the k-median problem and the facility location problem. Both k-MST and k-median contain a constant-size-set restriction, which performs the task of an extra cost parameter in prize-collecting Steiner tree and facility location. As we will see, this relationship is central to the idea of the Lagrangian relaxation technique.
The integer LP for k-MST is as follows:
yv =
1 , v is not in the tree. 0 , otherwise.
xe =
1 , e is in the tree. 0 , otherwise. ∑
e∈δ(S)
xe ≥ 1 − yv, ∀S ⊆ V \ {r} , ∀v ∈ S.
∑
v∈V
yv ≤ n − k. (∗)
minimize
e∈E
cexe.
To use LP techniques, we need to relax this integer LP to a real-valued LP, and somehow still be able to respect Constraint ∗ when we round real values back to integers. We shall do this by introducing a family of LPs, parameterized by the Lagrange multiplier λ. We can think of varying λ as varying the cost of omitting vertices from our tree. It’s important to note that λ is not, itself, a variable of the LP. It is a parameter of the LP, and is constant with respect to any routine that produces LP solutions. So, define the linear program LRλ as follows:
yv ∈ [0, 1] xe ∈ [0, 1] ∑
e∈δ(S)
xe ≥ 1 − yv, ∀S ⊆ V \ {r} , ∀v ∈ S.
minimize
e∈E
cexe + λ
v
yv − (n − k)
The term λ (
v yv^ −^ (n^ −^ k)), above, replaces Constraint^ ∗^ in the original LP. For any^ λ, the LP LRλ has the same optimal solution as the following prize-collecting Steiner tree LP, PCSTλ:
yv ∈ [0, 1] xe ∈ [0, 1] ∑
e∈δ(S)
xe ≥ 1 − yv, ∀S ⊆ V \ {r} , ∀v ∈ S.
minimize
e∈E
cexe + λ
v
yv
If μ 2 ≥ 12 , then c(T 2 ) ≤ 2 μ 2 c(T 2 ) ≤ 4OPT. Since |T 2 | > k, we can simply use T 2 as our solution.
Otherwise, μ 1 ≥ 12. Let T 2 ′^ def = T 2 \ T 1. The following subroutine, Find-Subtree, will find a subtree of T 2 of size at least (k − k 1 ).
Find-Subtree:
Each edge of the Euler tour belongs to exactly 2(k − k 1 ) subpaths and there are at least 2(k 2 − k 1 ) subpaths in all. Therefore, since the cost of the entire Euler tour is 2c(T 2 ), one of the subpaths has length at most (^) 2(2(kk 2 −−kk^11 )) 2 c(T 2 ).
So, suppose that Find-Subtree outputs the tree S. S contains at least (k − k 1 ) distinct nodes of
T 2 , and costs at most 2( kk 2 −−kk^11 ) c(T 2 ) = 2μ 2 c(T 2 ).
We build the interpolated tree by starting with T 1 , adding S, and adding the shortest path from T 1 to S. The first piece has cost c(T 1 ) and the second has cost c(S) ≤ 2 μ 2 c(T 2 ). If we have preprocessed the graph to throw away all nodes whose distance to the root is greater than OPT, we can ensure that this last path has cost no more than OPT. We don’t know what OPT is, so we’ll need to run this entire algorithm n times; on run i we remove the i vertices farthest from the root.
Thus:
total cost = c(T 1 ) + c(S) + cost of shortest path (26.1.1) ≤ 2 μ 1 c(T 1 ) + 2μ 2 c(T 2 ) + OPT (26.1.2) ≤ 4OPT + OPT (26.1.3) = 5OPT. (26.1.4)
Thus, the technique of Lagrangian relaxation gives us this algorithm, a 5-approximation to the k-minimum spanning tree problem.