Download presentation
Presentation is loading. Please wait.
Published byErik Evans Modified over 9 years ago
1
LP-based Techniques for Minimum Latency Problems Chaitanya Swamy University of Waterloo Joint work with Deeparnab Chakrabarty Microsoft Research, India
2
Facility Location with Client Latencies: LP-based Techniques for Minimum Latency Problems Chaitanya Swamy University of Waterloo Joint work with Deeparnab Chakrabarty Microsoft Research, India
3
Two well-studied problems client 1 ) Vehicle routing problems (e.g., minimum latency (ML), TSP) starting depot Find a route that visits all clients starting from depot to:
4
Two well-studied problems client starting depot Find a route that visits all clients starting from depot to: minimize (sum of arrival times) minimum latency 1 ) Vehicle routing problems (e.g., minimum latency (ML), TSP)
5
Two well-studied problems client starting depot Find a route that visits all clients starting from depot to: minimize (sum of arrival times) OR (maximum arrival time) minimum latency (path) TSP 1 ) Vehicle routing problems (e.g., minimum latency (ML), TSP)
6
Two well-studied problems client facility 2) Facility location problems (e.g., uncapacitated FL (UFL))
7
Two well-studied problems client facility 2) Facility location problems (e.g., uncapacitated FL (UFL)) Open facilities and connect clients to open facilities to: minimize (facility-opening cost) + (client-connection cost) open facility
8
These two problem classes have mostly been studied separately. UFL has a rich history of LP-based algorithms; Algorithms for ML use combinatorial arguments – use k-MST as a lower bound and rely on good algorithms for k-MST. Various logistics problems have both facility-location and vehicle-routing components. E.g., opening retail outlets to service customers: –inventory at retail outlets needs to be replenished or ordered (say, from a depot), and delays incurred in getting inventory to outlet adversely affects customers assigned to it –should keep these customer delays in mind when deciding which outlets to open to service customers, and in what order to replenish the opened outlets Propose a model that abstracts such settings and generalizes UFL and ML facility location component vehicle-routing component
9
Minimum latency UFL (MLUFL) client facility Facilities with opening costs {f i } Clients with connection cost c ij : cost of assigning client j to fac. i Root (depot) node r Time metric d on {facilities} ∪ {r} root r We want to:
10
Minimum latency UFL (MLUFL) client facility Facilities with opening costs {f i } Clients with connection cost c ij : cost of assigning client j to fac. i Root (depot) node r Time metric d on { facilities} ∪ {r} root r We want to: – open facilities –connect each client j to an open facility i(j) –find a path P starting at r, spanning open facilities Goal: min ∑ (i opened) f i + ∑ clients j (c i(j)j + d P (r, i(j))) facility opening costconnection cost latency cost open facility
11
Different flavors of MLUFL MLUFL captures various diverse problems of interest UFL and ML f i =0 i, {0, } c ij ’s, get interesting generalization of ML: given root r, time-metric d, (disjoint) node-sets G 1,…,G k, find a path starting at r to min ∑ i (cover time of G i ) (cover time of G i = first time when some u G i is visited) MGL where node-sets are sets in set-cover instance, uniform time metric min-sum set cover min-max version of MGL: min max i (cover time of G i ) is essentially Group Steiner tree (GST) minimum group latency (MGL)
12
Approximation Algorithm Hard to solve the problem exactly. Settle for approximate solutions. Give polytime algorithm that always finds near-optimal solutions. A is a -approximation algorithm if, A runs in polynomial time. A ( I ) ≤ . OPT( I ) on all instances I, is called the approximation ratio of A.
13
Theorem: There is an O(log 2 max(n, m))-approximation algorithm for MLUFL. result is “tight” in that a -approx. algorithm (even) for MGL O( .log m)-approx. for GST with m groups (longstanding open problem to improve the O(log 2 n.log m) approx. ratio for GST [GKR00] ) O( 1 )-approx. for: (a) related-metrics (c = M.d; M ≥ 1 ); (b) uniform MLUFL with metric connection costs n = no. of facilities m = no. of clients
14
Our algorithms and techniques are LP-based. So Get some interesting LP-based insights into ML: –obtain promising LP-relaxations for ML and can upper bound integrality gap by a constant. –Rounding algorithm only relies on integrality-gap of TSP being O( 1 ) (as opposed to an O( 1 )-approximation for k-MST) Algorithms easily extend to handle various generalizations –k-route MLUFL (can use k paths to span open facilities) –setting when latency-cost of j is f(time taken to reach i(j)), where f is increasing and has growth-rate at most p: f(c.x) ≤ c p.f(x) can handle l p -version of MLUFL
15
Related work MLUFL and MGL are new problems Much work on UFL and ML –UFL: Shmoys-Tardos-Aardal, …, Byrka –ML: Blum et al., … Chaudhary et al. Independently, concurrently Gupta-Nagarajan-Ravi also propose MGL: give O(log 2 n)-approx. for MGL, and reduction from GST to MGL (not clear how to extend their combinatorial techniques to handle f i ’s) min-sum set cover: O( 1 )-approx. by Feige-Lovasz-Tetali; also Bansal et al. gave O( 1 )-approx. for a generalization min-max version of MGL is (essentially) GST: Garg-Konjevod-Ravi (GKR) give polylog-approximation
16
LP-relaxation for MLUFL y i,t :indicates if facility i is opened at time t x ij,t :indicates if client j connects to i at time t z e,t :indicates if edge e is traversed by time t Minimize ∑ i f i y i + ∑ j,i,t (c ij + t)x ij,t subject to,∑ i,t x ij,t ≥ 1 for all j,x ij,t ≤ y i,t for all i, j, t ∑ e d e z e,t ≤ tfor all t ∑ e (S), t z e,t ≥ ∑ i S, t’≤t x ij,t’ for all j, t, S ⊆ F x, y, z≥ 0,y i,t = 0for all i, t: d i,t >T Assume T = poly(m:=| F |) for simplicity (handled by scaling) F : set of facilities D : set of clients T: UB on max. activation time
17
Rounding algorithm (overview) This talk: assume d is a tree metric (with facilities as leaves). Consider first special case of MGL: recall f i =0, c ij {0, } i,j so for each j, have a group G(j) of facilities that can serve j, find a path starting at r (r-path) visiting all groups to min ∑ j (first time when some facility in G(j) is visited ) x ij,t only defined for i G(j) and t such that d i,t ≤ T Minimize ∑ j,i G(j),t t x ij,t subject to,∑ i G(j),t x ij,t ≥ 1 for all j ∑ e d e z e,t ≤ tfor all t ∑ e (S), t z e,t ≥ ∑ i S, t’≤t x ij,t’ for all j, t, S ⊆ F x, z ≥ 0.
18
Rounding algorithm (contd.) Let (x, y, z): optimal solution to LP, L * j = ∑ j,i,t tx ij,t, (j) = 3.L * j ∑ i, t≤ (j) x ij,t ≥ 2/3 1.At each time T(k) = 2 k, suppose (ideally) we get an r-tour of cost O( ).T(k) that covers every G(j) for j s.t. (j) ≤ T(k). Note: {z e,T(k) } is a fractional group Steiner tree (GST) that 2/3- covers each such G(j) can use LP-based =O(log 2 n)-approx. algorithm of GKR for GST to get r-tour of cost O( ).T(k) 2.Concatenating these O(log m) tours gives the final solution. Latency of each j is O( ) (j), so total cost is O( ).OPT.
19
Rounding algorithm (contd.) Let (x, y, z): optimal solution to LP, L * j = ∑ j,i,t tx ij,t, (j) = 3.L * j ∑ i, t≤ (j) x ij,t ≥ 2/3 1.At each time T(k) = 2 k, suppose (ideally) we get an r-tour of cost O( ).T(k) that covers every G(j) for j s.t. (j) ≤ T(k). Note: {z e,T(k) } is a fractional group Steiner tree (GST) that 2/3- covers each such G(j) can use LP-based =O(log 2 n)-approx. algorithm of GKR for GST to get r-tour of cost O( ).T(k) Improvement: Suffices to get an r-tour that covers every G(j) with (j) ½; GKR analysis actually shows that this can be done at cost O(log n).T(k)
20
Rounding algorithm (contd.) Let (x, y, z): optimal solution to LP, L * j = ∑ j,i,t tx ij,t, (j) = 3.L * j ∑ i, t≤ (j) x ij,t ≥ 2/3 1.At each time T(k) = 2 k, suppose (ideally) we get an r-tour of cost O( ).T(k) that covers every G(j) for j s.t. (j) ≤ T(k). Note: {z e,T(k) } is a fractional group Steiner tree (GST) that 2/3- covers each such G(j) can use LP-based =O(log 2 n)-approx. algorithm of GKR for GST to get r-tour of cost O( ).T(k) Improvement: Suffices to get an r-tour that covers every G(j) with (j) ½; GKR analysis actually shows that this can be done at cost O(log n).T(k) 2.Concatenating these O(log m) tours gives the final solution. Latency of each j is O( ) (j), so total cost is O( ).OPT. E[Latency of j] = O(log n). (j), so total E[cost] is O(log n).OPT.
21
Rounding for general MLUFL Let (x, y, z): optimal solution to LP C * j = ∑ j,i,t c ij x ij,t,L * j = ∑ j,i,t tx ij,t, (j) = 12.L * j For every j, create group N(j) = {i: c ij ≤ 4C * j }. Then we have (i) ∑ i N(j), t x ij,t ≥ ¾;and (ii) ∑ i N(j), t≤ (j) x ij,t ≥ 2/3. Now use MGL rounding: at every time T(k)=2 k –extend tree by adding facility edges (i,v(i)) for every facility i –extend {z e,T(k) } by setting z i,v(i) = ∑ t≤ T(k) y i,t –again ({z i,v(i) }, {z e,t }) is a fractional GST that ≥ 2/3-covers the v(i)- group obtained from N(j) for each j with (j) ≤ T(k); so can use GKR to obtain an r-tour tree such that: a)for every j with (j) ≤ T(k), Pr[tour contains some i N(j)] > ½ b)with high probability –d-cost of tour = O(log n).T(k) –cost of facilities in tour = O(log n). ∑ i f i z i,v(i) = O(log n). ∑ i f i y i
22
Insights for ML LP for MLUFL gives a (compact) LP-relaxation for ML Can also formulate the following huge LP. Let P (t) = all r-paths of length at most t. z P, t : indicates if path P P (t) is used to visit clients with latency ≤ t Minimize ∑ j, t t x ij,t (LP2) subject to,∑ t x j,t ≥ 1 for all j ∑ P P (t) z P, t ≤ 1 for all t ∑ P P (t) z P, t ≥ ∑ t’≤t x j,t’ for all j, t x, z≥ 0. (Can also use tree-variables; can write a similar LP for MGL.)
23
Insights for ML (contd.) ML has not been attacked (directly) using LP-based methods, and these LPs open up promising new venues of attack. Both compact LP and huge LP have O( 1 ) integrality gap. Rounding uses nice ideas from scheduling, polyhedral insights from TSP. Separation oracle for dual of (LP2) is an orienteering problem: given rewards {R j } on the clients and a budget B find an r-path of length at most B that collects maximum reward. Theorem: An (even bicriteria) approximation algorithm for orienteering can be used to find “approximate” solution to (LP2). Coupled with above, this gives a new proof that -approx. for orienteering O( )-approx. algorithm for ML
24
Open Questions What is the integrality gap for ML? (We prove an upper bound of 1 0.78 = 3(3.59), but we suspect the LPs are much better.) What is the integrality gap for trees? –For unweighted trees, ML can be solved optimally; is our compact LP exact on trees? What is the integrality gap for TSP? How good are these LP-relaxations?
25
Thank You.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.