Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and...

21
Facility Location Facility Location using Linear using Linear Programming Duality Programming Duality Yinyu Ye Yinyu Ye Department if Management Science Department if Management Science and Engineering and Engineering Stanford University Stanford University
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    214
  • download

    0

Transcript of Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and...

Page 1: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Facility Location using Facility Location using Linear Programming DualityLinear Programming Duality

Yinyu YeYinyu YeDepartment if Management Science and Department if Management Science and

EngineeringEngineeringStanford UniversityStanford University

Page 2: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

InputInput• A set of clients A set of clients or citiesor cities D D

• A set of facilities A set of facilities F F withwith facility cost facility cost ffii

• Connection cost Connection cost CCijij, , (obey triangle (obey triangle inequality)inequality)

Output• A subset of facilities F’

• An assignment of clients to facilities in F’

Objective• Minimize the total cost (facility + connection)

Facility Location ProblemFacility Location Problem

Page 3: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Facility Location ProblemFacility Location Problem

location of a potential facility

client

(opening cost)

(connection cost)

Page 4: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Facility Location ProblemFacility Location Problem

location of a potential facility

client

(opening cost)

(connection cost)

cost connectioncost openingmin

Page 5: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

R-Approximate Solution and Algorithm

:following thesatisfies that , cost, totalwith the

UFLP,ofsolution (integral) feasible a found algorithmAn

Cost

.1constant somefor

*

R

CostRCost

Page 6: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Hardness Hardness ResultsResults

NP-hard. Cornuejols, Nemhauser & Wolsey [1990].

1.463 polynomial approximation algorithm implies NP =P. Guha & Khuller [1998], Sviridenko [1998].

Page 7: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

ILP Formulation

FiDjyx

FiDjyx

Djxts

yfxCMin

iij

iij

Fiij

Fi Dj Fiiiijij

,}1,0{,

,

1..

•Each client should be assigned to one facility.

•Clients can only be assigned to open facilities.

Page 8: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

FiDjx

FiDjyx

Djxts

yfxCMin

ij

iij

Fiij

Fi Dj Fiiiijij

,0

,

1..

LP Relaxation and its Dual

FiDj

Fif

FiDjcts

Max

ij

iDj

ij

ijijj

Djj

,0

,..

Interpretation: clients share the cost to open a facility, and pay the connection cost.

.facility toclient ofon contributi theis },0max{ ijcijjij

Page 9: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Bi-Factor Dual Fitting

:following thesatisfies where,cost totalwith the

FLP, ofsolution (integral) feasible a found algorithman Suppose

jDj

j

FifR

FiDjcR

ifDj

ij

ijcijj

(2)

, )1(

.

: have then we0, and 1,constant somefor ** CRFRCF

RR

cfDj

j

ijfc

A bi-factor (Rf,Rc)-approximate algorithm is a max(Rf,Rc)-approximate algorithm

Page 10: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Simple Greedy Algorithm

Introduce a notion of time, such that each event can be associated with the time at which it happened. The algorithm start at time 0. Initially, all facilities are closed; all clients are unconnected; all set to 0. Let C=D

While , increase simultaneously for all , until one of the following events occurs:

(1). For some client , and a open facility , then connect client j to facility i and remove j from C;

(2). For some closed facility i, , then open

facility i, and connect client with to facility i, and remove j from C.

j

C j Cj

Cj ijj ci such that

Cj

iijj fc ),0max(

Cj ijj c

Jain et al [2003]

Page 11: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 0Time = 0

F1=3 F2=4

3 5 4 3 6 4

Page 12: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 1Time = 1

F1=3 F2=4

3 5 4 3 6 4

Page 13: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 2Time = 2

F1=3 F2=4

3 5 4 3 6 4

Page 14: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 3Time = 3

F1=3 F2=4

3 5 4 3 6 4

Page 15: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 4Time = 4

F1=3 F2=4

3 5 4 3 6 4

Page 16: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 5Time = 5

F1=3 F2=4

3 5 4 3 6 4

Page 17: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 5Time = 5

F1=3 F2=4

3 5 4 3 6 4

Open the facility on left, and connect clients “green” and “red” to it.

Open the facility on left, and connect clients “green” and “red” to it.

Page 18: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 6Time = 6

F1=3 F2=4

3 5 4 3 6 4

Continue increase the budget of client “blue”

Continue increase the budget of client “blue”

Page 19: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Time = 6Time = 6

The budget of “blue” now covers its connection cost to an opened facility; connect blue to it.

The budget of “blue” now covers its connection cost to an opened facility; connect blue to it.

F1=3 F2=4

3 5 4 3 6 4

5 5 6

Page 20: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

The Bi-Factor Revealing LP

Given , is bounded above by

Subject to:

c

fR

k

jij

if

k

jj

1

1max

jl

iilj fc ),0max( ||21 D

ilijlj cc

cRfR

Jain et al [2003], Mahdian et al [2006]

alg. appr.-1.861 agot We.861.1 then ,861.1 cf RR

In particular, if

Page 21: Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.

Approximation ResultsApproximation Results

Ratio Reference Algorithm1+ln(|D|) Hochbaum (1982) Greedy algorithm3.16 Shmoys et.al (1997) LP rounding2.408 Guha and Kuller (1998) LP rounding + Greedy augmentation1.736 Chudak (1998) LP rounding1.728 Charika and Guha (1999) LP + P-dual + Greedy augmentation1.61 Jain et.al (2003) Greedy algorithm1.517 Mahdian et.al (2006) Revised Greedy algorithm