Collection Depots Facility Location Problems in Trees R. Benkoczi, B. Bhattacharya, A. Tamir - PowerPoint PPT Presentation

About This Presentation
Title:

Collection Depots Facility Location Problems in Trees R. Benkoczi, B. Bhattacharya, A. Tamir

Description:

Collection Depots Facility Location. Problems in Trees. R. ... Brute Force: ?(n2) Using Spine decomposition and pre-sorting: ?(nlogn) The Spine Decomposition ... – PowerPoint PPT presentation

Number of Views:75
Avg rating:3.0/5.0
Slides: 52
Provided by: kuanli
Category:

less

Transcript and Presenter's Notes

Title: Collection Depots Facility Location Problems in Trees R. Benkoczi, B. Bhattacharya, A. Tamir


1
Collection Depots Facility LocationProblems in
TreesR. Benkoczi, B. Bhattacharya, A. Tamir
  •   ???????????????
  • Jun 12, 2007

2
Outline
3
INTRODUCTION
  • By ???

4
Settings
Client (demand service)
Facility (service center)
Collection Depots
5
Cost of Service Trip
F
P2
D
P1
Service Cost
2(P1P2)?w(c)
C
6
Application (1)
Express Transportation
7
Application (2)
Garbage collection
8
Problem
  • IN given a tree and
  • points of clients
  • points of collection depots
  • an integer k
  • OUT
  • Optimal placements of k facilities
  • that minimizes some global function of the
    service cost for all clients.

9
Objective Minimax
  • Minimize the service cost of the most expensive
    client

C
C
D
D
D
C
F
D
D
C
C
10
Minimax center problems
1-center
Minimize the maximum distance to the facility
11
Minimax center problems
k-center
Minimize the maximum distance to the closest
facility
12
Objective Minisum
  • Minimize the total service cost

C
C
D
D
D
C
F
D
D
C
C
13
Minisum median problems
1-median
Minimize the average distance to the facility
14
Minisum median problems
k-median
Minimize the average distance to the closest
facility
15
Classifications
Classification Condition Type
Location of facility tree node Discrete
Location of facility tree edge Continuous
Weight of client included Weighted
Weight of client excluded Unweighted
Availability of depot some Restricted
Availability of depot all Unrestricted
16
Summary of Results
  • Unrestricted 1-center problem
  • O(n)
  • Unrestricted median problems
  • 1-median O(nlogn)
  • k-median O(kn3)
  • Restricted k-median problem
  • NP-complete
  • Facility setup costs are not identical

17
1-CENTER PROBLEM
  • BY ???

18
Prune and Search
  • Every iteration, eliminate a fraction of
    impossible instances.
  • Binary Search
  • T(n)T(n/2)1
  • T(n)O(lg n)
  • How about

19
Observation
  • c(f)max min r(f, vi)
  • Service cost is non-decreasing when the facility
    goes away from the client.

20
Where could the facility be?
  • A linear time algorithm could determine!

T1
T2
Ti
Tk
21
Initial tree
depot
client
22
Divide T(i) into S1 and S2
  • Find the centroid and partition the tree into two
    parts

centroid
S1 gt 1/3 T(i)
S2 gt 1/3 T(i)
23
Find the Xmax
  • Find the client Xmax with the largest service
    cost from the centroid.

Xmax
f
S2
S1
fopt must be in S1
24
Special case
  • Centroid is the optimal

Should be optimal
Xmax
25
Partition the clients
  • Compute all depot distance
  • Find the median dmed
  • Separate all clients into two sets, K (red) and
    K- (blue)

dmed
S2
26
  • Consider f in S1, that depot distance d(f)lt
    dmed

d(f)lt dmed
f
S1
27
Partition S1 by dmed
  • Find all f, they form trees T1, T2, ,Tn
  • There are two cases, fopt is in ?Ti or not

f
T1
T2
T3
28
fopt is in ?Ti
  • If fopt in red, consider K, d(fopt)ltdmedltd(K)
  • For a facility F in S1 and a client in S2,
    d(fopt, u) is in S1

29
fopt is in not ?Ti
  • If fopt is not in red, consider K-,
  • d(K-)ltdmed ltd(fopt)
  • For a facility F in S and a client in S2,
    d(fopt, u) is in S2
  • Similar to previous
  • case
  • Only fopt in ?Ti is considered.

d(fopt, u)
f
fopt
30
Details on fopt is in ?Ti
  • Arbitrarily paired clients in K
  • For each pair (u, v), Compute tuv s.t.
    w(v)(tuvd(c,v))w(u).(tuvd(c,u))
  • Compare tmed and
  • d(fopt, c)d((fopt,c),p(fopt, c))

d(f, u)
fopt
fopt
31
d(fopt, c)d((fopt,c),p(fopt, c)) lt tmed
  • consider tmedlttuv
  • d(fopt, c)d((fopt,c),p(fopt, c))lttmedlttuv

d(f, u)
fopt
fopt
32
d(fopt, c)d((fopt,c),p(fopt, c)) gt tmed
  • consider tmedgttuv
  • d(fopt, c)d((fopt,c),p(fopt, c))gttmedgttuv
  • ¼ K can be removed

d(f, u)
fopt
fopt
33
1-MEDIAN PROBLEM
  • BY ???

34
The 1-median Problem
  • Find a placement for facility to minimize the
    cost of all tours.
  • i.e. minimize the sum of weighted distances of
    the facility to client, then to optimal depot,
    and return to facility.
  • For the path of a facility to a client, the
    closest depot can be found efficiently.
  • Brute Force ?(n2)
  • Using Spine decomposition and pre-sorting
    ?(nlogn)

35
The Spine Decomposition
r0
5
3
3
3
2
36
Construct Search Tree
r0
37
Search Tree of SD
r0
38
Super-path of Search Tree
r0
f
39
Cost of Subtree
d
d2
v
dnew
d4
f
c2
cj
d1
d3
c1
c3
c4
40
Complexity
  • Construction for the SD has time complexity ?(n)
    and space complexity ?(n)
  • Costs of the subtrees can be evaluated in
    constant time once j is determined.
  • If we use binary search with dnew, we spend
    ?(logn) time for every subtree. So ?(log2n).
  • Use the sequential search in sorted order. So
    ?(logn).
  • The 1-median collection depots problem in tree
    can be sloved in ?(nlogn) time and ?(n) space.

41
UNRESTRICTEDK-MEDIAN PROBLEM
  • BY ???

42
The objective
  • To minimize the sum of facility opening costs
    plus service costs for servicing the clients.

43
The ???? property (1/4)
  • We fixed an arbitrary optimal solution and
    explore its structure.

44
The ???? property (2/4)
  • Consider an arbitrary vertex v.
  • xv minimize the trip cost of serving v
  • yvbe a closest facility to v.

yv
Assumed (for contradiction) servicing facility
for client C
xv
v
Tleft
Tright
client C
45
The ???? property (3/4)
Assumed (for contradiction) servicing facility
for client C
yv
xv
v
client C
Tright
Tleft
46
The ???? property (4/4)
  • The blue part of the following graph is proven by
    symmetry.

yv
xv
v
Tleft
Tright
47
The intuition (1/2)
  • The total cost can be partitioned into four
    categories the red, yellow, blue cost and v.

yv
xv
v
Tleft
Tright
48
The intuition (2/2)
  • The optimal solution has to be a combination of
    optimal substructures
  • You have to be optimal in the red (to minimize
    the red cost) and the yellow (to minimize the
    yellow cost).
  • This almost leads to Dynamic Programming already!

49
The technical things
  • Due to some complications, the final Dynamic
    Programming is much more complicated
  • But the proof requires no special technique
    beyond the ???? property.
  • The challenge is to devise the right
    recurrences to carry out the aforementioned
    intuitive approach.

50
Simple intuition, complicated recurrences take a
look
51
Time complexity
  • Easily verified to be polynomial.
Write a Comment
User Comments (0)
About PowerShow.com