recent advances in facility location optimization

Upload: toan-tran-khanh

Post on 07-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Recent Advances in Facility Location Optimization

    1/158

    Recent advances in facility

    location optimization

    Binay K Bhattacharya

    School of Computing ScienceSimon Fraser University

  • 8/6/2019 Recent Advances in Facility Location Optimization

    2/158

    What is facility locating?

    GOOD

    SERVICE

    Clientneeds thiskind of service.

    Facilityprovides somekind of service.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    3/158

    Location problems in most general form can

    be stated as follows:

    a set ofclients originates demands for some kind

    of goods or services.

    the demands of the customers must be suppliedby one or more facilities.

    the decision process must establish where to

    locate the facilities.

    issues like cost reduction, demand capture,equitable service supply, fast response time etc

    drive the selection of facility placement.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    4/158

    The basic elements of location models are:

    a universe, U, from which a set Cof client inputpositions is selected,

    a distance metric, d: UxU R+, defined over

    the universe R+, an integer,p 1, denoting the number of

    facilities to be located, and

    an optimization function gthat takes as input a

    set of client positions andp facility positions andreturns a function of their distances as measuredby the metric d.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    5/158

    Problem statement

    Select a set Fofp facility positions inuniverse U that minimizes g(F,C).

  • 8/6/2019 Recent Advances in Facility Location Optimization

    6/158

    Models of the universe of clients and

    facilities

    Continuous space

    Universe is defined as a region, such that

    clients and facilities may be placed

    anywhere within the continuum, and the

    number of possible locations is uncountablyinfinite.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    7/158

    Discrete space

    Universe is defined by a discrete set of

    predefined positions.

    Network space

    Universe is defined by an undirected

    weighted graph. Client positions are given

    by the vertices. Facilities may be located

    anywhere on the graph.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    8/158

    Where should the radio tower be located?

    Tower may be positioned anywhere

    (continuous)

    Tower may be positioned in five available slots

    (discrete)

    Tower may be located on the roadside

    (network)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    9/158

    Distance metric

    Distance metric between two elements of the

    universe further differentiates between specific

    problems

    Minkowski distance (Euclidean, Manhattan etc)

    Network distance

  • 8/6/2019 Recent Advances in Facility Location Optimization

    10/158

    Optimization function : sum or maximum

    The objective function is the most significant

    characterization of a facility location problem.

    p-centerproblem

    Given a universe U, a set of points C, a

    metric d, and a positive integerp, ap-centerof

    C is a set ofp points Fof the universe Uthatminimizes

    maxjC {miniFdij}.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    11/158

    p-median problem

    Given a universe U, a set of points C, a

    metric d, and a positive integerp, ap-median

    ofC is a set ofp points Fof the universe U thatminimizes

    jC{miniFdij}.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    12/158

    3-center

    Euclidean p-center

  • 8/6/2019 Recent Advances in Facility Location Optimization

    13/158

    Euclidean p-center

    (Megiddo and Supowit, 1984):p-center is NP-hard.

    (Feder and Green 1988): -approximation remains NP-

    hard for any < (1+7)/2 1.8229.

    (Hwang, Lee and Chang 1993)p-center problem in R2

    can be solved in O(np) time.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    14/158

    Summary

    Time complexities of algorithmic solutions to the Euclideanp-center problem

    Drezner 1984, Hoffmann 2005 (arbitraryp and d = 1)

    Megiddo 1983 (p=1, d=2)

    Agarwal et al 1993, Chazelle et al. 1995 (p = 1 and d fixed)

    Chan 1999 (p=2, d=2)

    Agarwal and Sharir 1998 (p=2, darbitrary)

    Agarwal and Procopuic 1998 (p fixed, darbitrary)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    15/158

    1-median

    Minimize the average distance to the facility

    Euclideanp-median

  • 8/6/2019 Recent Advances in Facility Location Optimization

    16/158

    Euclideanp-median

    1-median is not unique if the points are linearly dependent.

    1-median is unique if the points are linearly independent

    (Kupitz and Martini, 1997)

    Difficult to compute 1-median in the plane.

    Bajaj(1987, p 177) states there exist no exact algorithm under

    models of computation where the root of an algebraic equation

    is obtained using arithmetic operations and the extraction ofkth

    roots

    Chandrasekhar and Tamir (1990): a polynomial time

    algorithm for an -approx of the 1-median.

    Indyk (1999) and Bose et al (2003): linear in n and

    polynomial in 1/ (1-median)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    17/158

    Euclideanp-median

    Hassin and Tamir(1991) O(pn) time solution for a line.

    Suppowit and Meggido (1984): Problem is NP-hard in the

    plane, and can not be approximated to within 3/2.

    Summary of results

  • 8/6/2019 Recent Advances in Facility Location Optimization

    18/158

    Three problems

    Mobile facility location problem.

    p-median problem in tree networks

    Approximation algorithms for network facility

    location problems.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    19/158

    MobileFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    20/158

    Collaborators

    Sergey Bereg, Univ. of Texas at Dallas

    Binay Bhattacharya, SFUStephane Durocher, UBCDavid Kirkpatrick, UBC

    Michael Segal, Ben-Gurion Univ.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    21/158

    (Static)Facility

    Location

    sites/clients

  • 8/6/2019 Recent Advances in Facility Location Optimization

    22/158

    (Static)Facility

    Location

    sites/clients

  • 8/6/2019 Recent Advances in Facility Location Optimization

    23/158

    StaticFacility

    Location

    sites/clientsfacilities/servers

  • 8/6/2019 Recent Advances in Facility Location Optimization

    24/158

    Centerproblems

    1-center

  • 8/6/2019 Recent Advances in Facility Location Optimization

    25/158

    Centerproblems

    1-center

    Minimize the maximum distance to the facility

  • 8/6/2019 Recent Advances in Facility Location Optimization

    26/158

    Centerproblems

    p-center

    Minimize maximum distance to the closestfacility

  • 8/6/2019 Recent Advances in Facility Location Optimization

    27/158

    Medianproblems

    1-median

    Minimize the average distance to the facility

  • 8/6/2019 Recent Advances in Facility Location Optimization

    28/158

    DynamicFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    29/158

    DynamicFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    30/158

    DynamicFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    31/158

    DynamicFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    32/158

    discrete changes (insert/delete) focus on data structures to avoid

    (full) recomputation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    33/158

    MobileFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    34/158

    MobileFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    35/158

    MobileFacility

    Location

  • 8/6/2019 Recent Advances in Facility Location Optimization

    36/158

    clients change position continuously

    goal: update facility location(s) ina well-behaved fashion

  • 8/6/2019 Recent Advances in Facility Location Optimization

    37/158

    New constraints/criteria: facility locations should change

    continuously (unlike exact 2-center)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    38/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    39/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    40/158

    New constraints/criteria: facility locations should change

    continuously (unlike exact 2-center) facilities may be subject to bounds

    on velocity (unlike exact 1-center)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    41/158

    p1

    p2 p3

  • 8/6/2019 Recent Advances in Facility Location Optimization

    42/158

    p1

    p2

    p3p2

    p3

    c c

  • 8/6/2019 Recent Advances in Facility Location Optimization

    43/158

    p1

    p2

    p3p2

    p3

    c c

    Possible to show that |cc|/|p2p2| > 2/|p2p2| v

    provided |p2p2| 2/v2

  • 8/6/2019 Recent Advances in Facility Location Optimization

    44/158

    New constraints/criteria: facility locations should change

    continuously (unlike exact 2-center) facilities may be subject to bounds

    on velocity (unlike exact 1-center) quality of approximation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    45/158

    New constraints/criteria: facility locations should change

    continuously (unlike exact 2-centre) facilities may be subject to bounds

    on velocity (unlike exact 1-centre) quality of approximation

    simplicity of facility motion

  • 8/6/2019 Recent Advances in Facility Location Optimization

    46/158

    Mobile 1-center results

    1-dimensional : Exact 1-center can bemaintained (need appropriate data structures)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    47/158

    Mobile 1-center results

    2-dimensional

    Theorem: For any velocity v 0, there exist threesites such that a unitvelocity motion of thetwo of the sites induces an instantaneousvelocity > v of the Euclidean 1-center.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    48/158

    Mobile 1-center results

    2-dimensional (approximate)

    Observation: Let 1, 2,.., nbe fixed nonnegativenumbers such that

    1+ 2+..+ n =1.If all the

    sitess1, s2, , sn move with velocity at most 1, 1s1+

    2s2+..+ nsn also moves with velocity at most 1.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    49/158

    Mobile 1-center results

    2-dimensional (approximate)

    Lemma: The center of mass of a set ofn sites provides

    (2-2/n)-approximation of the Euclidean1

    -center. Thefacility moves with velocity at most 1.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    50/158

    Mobile 1-center results

    2-dimensional (approximate)

    Lemma: The center of mass of a set of n sites provides

    (2-2/n)-approximation of the Euclidean 1-center. Thefacility moves with velocity at most 1.

    Surprisingly, theaboveapproximation factorisasymptoticallyoptimal.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    51/158

    Mobile 1-center results

    Higher velocity approximation.

    Bounding box center:

  • 8/6/2019 Recent Advances in Facility Location Optimization

    52/158

    Mobile 1-center results

    Higher velocity approximation.

    Bounding box center:Bounding box center moveswith velocity at most 2. Thecenter is (1+ 2)/2 approxi-mation of the Euclidean 1-

    center.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    53/158

    Mobile 1-center results

    Summary: 2-approximation is realizable with velocity 1.

    (1+2)/2-approximation is realizable with

    velocity 2.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    54/158

    Mobile 1-center results

    Summary: 2-approximation is realizable with velocity 1.

    (1+2)/2-approximation is realizable with

    velocity 2.

    Question: Whatapproximation factorcanbe

    achievedifthevelocityofthe facilityfisrestrictedtosome constantbetween1and2 ?

  • 8/6/2019 Recent Advances in Facility Location Optimization

    55/158

    Mobile 1-center results

    Summary: 2-approximation is realizable with velocity 1.

    (1+2)/2-approximation is realizable with

    velocity 2.

    Question: Whatapproximation factorcanbe

    achievedifthevelocityofthe facilityfisrestrictedtosome constantbetween1 and2 ?

    A combination of the center of mass and the center of the

    bounding box.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    56/158

    Mobile 1-center results

    (f1, v

    1) : (location, velocity) of center of mass

    (f2, v2) : (location, velocity) of bounding box center

    Mixing strategy:(f, v) : (location, velocity) of the mixing center where

    f = f1+ (1- ) f2, and

    v = v1 + (1-)v2, 1 0.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    57/158

    Mobile 1-center results

    Upper Bound Lemma: For any > 0, there is a strategysuch that

    (a) the approximation factor is (1+), and

    (b) the velocity never exceeds (2+)(1+)/(2 + 2).

  • 8/6/2019 Recent Advances in Facility Location Optimization

    58/158

    Mobile 1-center results

    Lower Bound Lemma: For any > 0, any (1+)-approximate mobile 1-center has velocity at least 1/(8).

  • 8/6/2019 Recent Advances in Facility Location Optimization

    59/158

    Approximations to the Euclidean 1-center

    Strategy Approximations v max

    Euclidean center 1 Center of mass 2 1

    Bounding box (1+2)/2 1.2071 2 1.4142

    Gaussian center 1.1153 4/ 1.2732

  • 8/6/2019 Recent Advances in Facility Location Optimization

    60/158

    Euclidean 1-median

    The Euclidean 1-median moves with arbitrarily

    high velocity.

    The center of mass provides a (2-2/n)-

    approximation using unit velocity There are examples where the approximation

    ratio of the center of mass is arbitrarily close to 2.

    An approximation ratio better than 2/3 to theEuclidean 1-median is impossible where the

    facility is constrained to move no faster than the

    clients.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    61/158

    Open Problems

    Provide tighter bounds for mobile 1-center

    and 1-median problems.

    k-center and k-median, k 2?

    3-dimensions?

    Clusterings?

  • 8/6/2019 Recent Advances in Facility Location Optimization

    62/158

    p-median problem in trees

  • 8/6/2019 Recent Advances in Facility Location Optimization

    63/158

    Vertex optimality of p-median

    Theorem (Hakimi, 1965): There always exists an optimalp-median solution where the facilities are placedonly at the vertices of the network.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    64/158

    Vertex optimality of p-median

    Theorem (Hakimi, 1965): There always exists an optimalp-median solution where the facilities are placedonly at the vertices of the network.

    x

    u

    v

    via u

    via v

    f()

    l([uv])

    df(),u

  • 8/6/2019 Recent Advances in Facility Location Optimization

    65/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    66/158

    p

  • 8/6/2019 Recent Advances in Facility Location Optimization

    67/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    68/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    69/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    70/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    71/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    72/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    73/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    74/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    75/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    76/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    77/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    78/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    79/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    80/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    81/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    82/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    83/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    84/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    85/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    86/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    87/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    88/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    89/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    90/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    91/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    92/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    93/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    94/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    95/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    96/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    97/158

    p

    g

  • 8/6/2019 Recent Advances in Facility Location Optimization

    98/158

  • 8/6/2019 Recent Advances in Facility Location Optimization

    99/158

    Open problems

    The conjecture of Chrobak et al: gj(|Tx|) O(|Tx|).

    If true, this will have significant impact on the complexity.

    Can we remove the requirement thatp is fixed?

    able to do when the tree is balanced

    currently, not so when the tree is not unbalanced.

    Extension of these to partial k-trees?

    Summary ofproblems solved for tree

  • 8/6/2019 Recent Advances in Facility Location Optimization

    100/158

    Problem Vertex Current Prev.weights best best

    p-median (const p) + O(nlogp+2n) O(pn2)3-median + O(nlog3n) O(n2)2-median (MWD) +/- O(nlogn) O(nlog2n)2-median (WMD) +/- O(nhlog2n) O(n3)

    p-center (const p) + O(n) O(nlog2n)1-center +/- O(nlog3n) O(n2)

    Collection depots

    1-median + O(nlogn) O(n2)1-center + O(n) O(n2)

    networks

    C ll b t

  • 8/6/2019 Recent Advances in Facility Location Optimization

    101/158

    Collaborators

    Boaz Ben Moshe

    Robert Benkoczi

    David Breton

    Binay Bhattacharya

    Qiaosheng Shi

  • 8/6/2019 Recent Advances in Facility Location Optimization

    102/158

    Discrete Mathematics (to appear)

    MFCS 2003,

    ESA 2005

    ISAAC 2005

    LATIN2006

    unpublished

    Papers

  • 8/6/2019 Recent Advances in Facility Location Optimization

    103/158

    Approximation algorithms

    A -approximation algorithm for an optimization

    problem is a polynomial-time algorithm that is

    guaranteed to find a feasible solution of the

    objective function value within a factor of of the

    optimal.

    The performance guarantee of the algorithm is .

  • 8/6/2019 Recent Advances in Facility Location Optimization

    104/158

    Three algorithmic techniques:

    Primal-Dual: Use LP implicitly to find a solution

    Local Search: Iteratively improving the integer solution

    searching nearby solutions.

    LP Rounding: Rounding fractional optimal solution

    to nearbyoptimal integral solution.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    105/158

    Overview of LP rounding

    Formulate the problem as an IP problem.

    Solve the corresponding LP-relaxation. LP-

    relaxed solution is a lower bound on IP. Round the relaxed optimal solution.

    Show that the rounding does not increase the

    cost too much.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    106/158

    Uncapacitated facility location problem

    The universe is a network which is a complete

    graph G.

    The client set (C) and the facility set (F) are

    subset of vertices ofG. Each facility iofFhas an opening cost fi if it is

    open.

    Problem is to select a subset of the facilities

    such that the total cost to serve all the clients ofC is minimized.

    Mathematical models

  • 8/6/2019 Recent Advances in Facility Location Optimization

    107/158

    Mathematical models

    Notations used:

    C: set of customers/clients.

    F : set of candidate facility locations.wj: service demand of customerj.

    fi : fixed cost of establishing a facility at location i.dij: per unit cost of servicing (distance of) customerjfrom

    facility i.yi : decision variable which takes value 1 if facility iis

    opened, otherwise it is 0.xij: customer js demand is supplied from facility i.

    Integer programming formulation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    108/158

    Integer programming formulation

    j

    facilities clients

    iXij=1

    Integer programming formulation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    109/158

    Integer programming formulation

    j

    facilities clients

    iXij=1

    Xij=0

    i

    Integer programming formulation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    110/158

    Integer programming formulation

    j

    facilities clients

    iXij=1

    yi= 1

  • 8/6/2019 Recent Advances in Facility Location Optimization

    111/158

    Integer programming formulation

    Corresponding LP-relaxed formulation (Primal)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    112/158

    Dual LP formulation

    Interplay between the primal and dual

  • 8/6/2019 Recent Advances in Facility Location Optimization

    113/158

    p y p u

    variables

    Let (x*,y*) and (v*,*) be the optimal solutionof LP-Primal and LP-Dual respectively.

    jCv*j= LP-Opt(strong duality theorem)

    jCvj LP-Opt for any feasible v(weak duality

    theorem)

    Ifx*ij> 0implies cijev*j (closeness property)

    A th t ( * *) d ( * *) k

  • 8/6/2019 Recent Advances in Facility Location Optimization

    114/158

    Assume that (x*,y*) and (v*,*) are known.

    We can visualize the fractional solution of LP-Ras follows:

    j

    facilities clients

    ix*ij> 0

    ix*ij= 1 j

    Sh T d d A d l (1997)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    115/158

    Shmoys, Tardos and Aardal (1997)

    j

    facilities clients

    ix*ij> 0

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    116/158

    One iteration

    j

    facilities clients

    ix*ij> 0

    Select the remaining clientjwith minimum v*j.

    Construct a cluster which

    includes

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    117/158

    One iteration

    j

    facilities clients

    ix*ij> 0

    Select the remaining clientjwith minimum v*j.

    Construct a cluster which

    includes

    client j

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    118/158

    One iteration

    j

    facilities clients

    ix*ij> 0

    Select the remaining clientjwith minimum v*j.

    Construct a cluster which

    includes

    clientj

    all facilities used

    fractionally byj

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    119/158

    O e te at o

    Select the remaining clientjwith minimum v*j.

    Construct a cluster which

    includes

    clientj

    all facilities used

    fractionally byj

    all clients that use thisfacility (fractionally)

    j

    facilities clients

    ix*ij> 0

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    120/158

    action

    j

    facilities clients

    i

    Open the facility in the cluster

    with the smallest opening cost.

    Assign all the clients of the

    cluster to the opened facility.

    Observe that the unopened

    facilities of this cluster are nevergoing to be in any other cluster.

  • 8/6/2019 Recent Advances in Facility Location Optimization

    121/158

    Assignment cost of a client k in the cluster

    j

    facilities clients

    ix*ij> 0

    k

  • 8/6/2019 Recent Advances in Facility Location Optimization

    122/158

    Assignment cost of a client k in the cluster

    j

    facilities clients

    ix*ij> 0

    k

    i(j)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    123/158

    Assignment cost of a client k in the cluster

    j

    facilities clients

    ix*i(j)k > 0

    k

    k is directly connected

    to facility (i(j))i(j)

    Due to the closeness

    property the assignment cost

    of client k is at most v*k i.e.

    ci(j)k v*k

  • 8/6/2019 Recent Advances in Facility Location Optimization

    124/158

    Assignment cost of a client kin the cluster

    j

    facilities clients

    i

    k

    kis indirectly connected

    to facility i(j)i(j)

    i

    From triangle inequality

    ci(j)k ecik + cij+ ci(j)j

    ev*k+ v*j+ v*je3v*k

  • 8/6/2019 Recent Advances in Facility Location Optimization

    125/158

    Assignment cost of a client k in the cluster

    j

    facilities clients

    i

    k

    i(j)

    i

    From triangle inequality

    ci(j)k ecik + cij+ ci(j)j

    ev*k+ v*j+ v*j

    e

    3v*k

    Total assignment cost is at

    most 3jICv*j, which is at

    most3*LP-opte3*IP-opt.

    kis indirectly connected

    to facility i(j)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    126/158

    opening cost ofi(j): fi(j)

    j

    facilities clients

    ix*ij> 0

    i(j)

    fi(j)= min fi

    e fix*ij

    e fiy*i

    facilitiesused by j

    facilities

    used by j

    facilities

    used by j

  • 8/6/2019 Recent Advances in Facility Location Optimization

    127/158

    opening cost ofi(j): fi(j)

    j

    facilities clients

    ix*ij> 0

    i(j)

    fi(j)= min fi

    e fiy*i

    open

    facilities

    facilities

    used by j

    Total opening cost is

    fiy*i, which is at most

    LP-opte IP-opt.

    facilities

    used by j

  • 8/6/2019 Recent Advances in Facility Location Optimization

    128/158

    Theorem: The LP-rounding algorithm is a 4-approximation algorithm for the uncapacitated

    facility location problem.

    Clustered randomized rounding

  • 8/6/2019 Recent Advances in Facility Location Optimization

    129/158

    (Chudak and Shmoys, 2003)

    j

    facilities clients

    i

    x*ij> 0

    Choose the cluster centerin increasing v*j+ i Fcijx*ij,(letjbe the center)

    In cluster centered atj,

    open a facility iat randomwith probabiltyx*ij.

    Open independently each

    facility ithat is not contained

    in the neighborhood of anycluster with probability y*i.

    Assign each client to its

    nearest open facility.

    Clustered randomized rounding

  • 8/6/2019 Recent Advances in Facility Location Optimization

    130/158

    (Chudak and Shmoys, 2003)

    Choose cluster center in

    increasing v*j+ i F , sayj.

    In cluster centered atj,open a facility iat random

    with probabiltyx*ij.

    Open independently each

    facility ithat is contained in

    the neighborhood of any

    cluster with probability y*i.

    Assign each client to its

    nearest open facility.

    Every client will have an

    open facility in its neighbor-

    hood (directly connected)

    with large probability (> 1-1/e ).

    Expected cost of the

    solution is (1+2/e)*IP-opt.

    Primal-Dual method

  • 8/6/2019 Recent Advances in Facility Location Optimization

    131/158

    Primal Dual method

    Integer programming formulation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    132/158

    Integer programming formulation

    Corresponding LP-relaxed formulation

    Dual LP formulation

  • 8/6/2019 Recent Advances in Facility Location Optimization

    133/158

    Complementary slackness (CS) property: Let (x*,y*) and(v*,*) be the optimal solution of LP-R and LP-Dualrespectively.

    Primal CS: x*ij> 0implies v*j*ij= cij for all i, j.

    y*i> 0implies j C*ij= fi for all i

    Dual CS: v*j> 0implies i Fx*ij=1 forj

    *ij> 0impliesx*ij= y*i for all i, j

    Algorithm of Jain and Vazirani, 1999

  • 8/6/2019 Recent Advances in Facility Location Optimization

    134/158

    Algorithm of Jain and Vazirani, 1999

    LP-R o r LP-Dual solution is not required.

    First constructs a feasible dual solution (v,)

    and then using the dual solution constructs aninteger feasible solution (x,y) of LP-R, andhence forIP.

    (x,y) and (v,) satisfy the

    Dual CS conditionand partially satisfy the Primal CS condition.

    The algorithm is a 3-approximation algorithm.

    Interpretation of the dual variables

  • 8/6/2019 Recent Advances in Facility Location Optimization

    135/158

    Suppose I Fand : C

    Iis an optimal integralsolution. i.e. yi=1 iffi Iandxij= 1 iffi= (j).

    Suppose (v,) denotes an optimal dual solution.

    Ifi I, j Cij= fi .

    Each open facility is fully paid for by the clients

    using the facility.

    Ifi= (j), vjij= cij.

    We can think ofvjas the total price paid by clientj; of this cijgoes towards the use of edge (i,j) andij is the contribution ofjtowards the opening offacility i.

    Some terminologies

  • 8/6/2019 Recent Advances in Facility Location Optimization

    136/158

    Some terminologies

    A facility is fully paid when j Cij= fi.

    A clientjhas reacheda facility iifvj cij.

    If, in addition, iis fully paid,jgets connectedto i.

    Algorithm to compute a feasible (v,)

    ( h 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    137/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vj for all unconnectedj.

    -- increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    c

    b

    a1

    2

    3

    4

    A facility is fully paid when j Cij= fi A clientjhas reacheda facility iifvj cij.

    If, in addition, iis fully paid,jgets

    connectedto i.

    Algorithm to compute a feasible (v,)

    ( h 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    138/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnectedj.

    --increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    Algorithm to compute a feasible (v,)

    ( h 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    139/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnectedj.

    -- increaseij

    for all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid. 1 a

    A facility is fully paid when j Cij= fi A clientjhas reacheda facility iifvj

    cij. If, in addition, iis fully paid,

    jgets connectedto i.

    Algorithm to compute a feasible (v,)

    ( h 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    140/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnected.

    --increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    2

    3

    4

    b

    c

    1a

    A facility is fully paid when j Cij= fi A clientjhas reacheda facility iifvj

    cij. If, in addition, iis fully paid,

    jgets connected.

    Algorithm to compute a feasible (v,)

    ( h 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    141/158

    c

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnected.

    --increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    2

    3

    4

    b1

    a

    Algorithm to compute a feasible (v,)

    (phase 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    142/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnected.

    --increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    2

    3

    4

    b

    c

    1a

    Algorithm to compute a feasible (v,)

    (phase 1)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    143/158

    (phase 1)

    Set vj 0;ij 0for all iandj.

    UNTIL allj Care connected DO

    -- increase vjfor all unconnected.

    --increaseijfor all iandjsatisfying

    jhas reached i

    jis not yet connected

    iis not fully paid.

    2

    3

    4

    b

    c

    1 a

    Algorithm to compute an integral (x,y)

    (phase 2)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    144/158

    (phase 2)

    2

    3

    4

    b

    c

    1 a

    j

    facilities clients

    i ij > 0

    Algorithm to compute an integral (x,y)

    (phase 2)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    145/158

    (phase 2)

    2

    3

    4

    b

    c

    1 a

    j

    facilities clients

    i ij > 0

    i

    j

    iis fully paidbefore i.

    Algorithm to compute an integral (x,y)

    (phase 2)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    146/158

    (phase 2)

    j

    facilities clients

    i ij > 0

    i

    j

    Case:jis directly connected

    to i, i.e.ij>0

    From Phase 1 algorithm

    vj- ij= cij

    i.e.vi cij

    Algorithm to compute an integral (x,y)

    (phase 2)

  • 8/6/2019 Recent Advances in Facility Location Optimization

    147/158

    (phase 2)

    j

    facilities clients

    i ij > 0

    i

    j

    Case:jis indirectly connected

    to i.i.e.ij= 0.

    From triangle inequality

    cij cij+ cij+ cij.

    Since the facility iis fully paid

    before the facility i, vj

    vj.

    Therefore cii 3*vj.

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    148/158

    Select the earliest fully paid

    facility inot opened yet

    (set yi=1).

    Remove all clientsjwith ij >0(setxij=1)

    j

    facilities clients

    iij> 0

    One iteration

  • 8/6/2019 Recent Advances in Facility Location Optimization

    149/158

    Select the cheapest fully paid

    facility inot opened yet

    (set yi=1).

    Remove all clientsjwith ij >0(setxij=1)

    Remove all clientsjwherejis

    indirectly connected to i.

    (setxij

    =1)

    j

    facilities clients

    iij> 0

    j

    Relaxed complementary slackness (CS) property: Let (x,y)and (v ) be the solution determined during Phase 1 and 2

  • 8/6/2019 Recent Advances in Facility Location Optimization

    150/158

    and (v,) be the solution determined during Phase 1 and 2respectively.

    Relaxed Primal CS: xij> 0implies 1/3cij vjij cij for all i, j.yi> 0implies j Cij= fifor all i

    Dual CS: vj> 0implies i F xij=1 forj

    ij> 0impliesxij= yi for all i, j

    Theorem: The primal-dual algorithm of Jain and Vazirani is a

    3-approximation algorithm.

    Charikar and Guha(1999) showed that this algorithm alone

    can not improved the solution any further.

    Summary of UFLP approximation algorithms

  • 8/6/2019 Recent Advances in Facility Location Optimization

    151/158

    Generalizations

  • 8/6/2019 Recent Advances in Facility Location Optimization

    152/158

    p-median

    - Charikar, Guha, Tardos and Shmoys

    - Arya, Garg, Khandekar, Pandit,

    Myerson and Munagala

    - Jain and Vazirani

    - Charikar and Guha

    - Jain, Mahadian and Saberi

    ((1 + 2/e) lower bound)

    Generalizations

  • 8/6/2019 Recent Advances in Facility Location Optimization

    153/158

    Capacitated facility location

    Soft

    -Shmoys, Tardos, Aardal

    - Chudak and Shmoys

    - Jain and Vazirani

    - Korupolu, Rajaraman and Plaxton

    - Chudak and Williamson

    Generalizations

  • 8/6/2019 Recent Advances in Facility Location Optimization

    154/158

    Capacitated facility location

    Hard

    -Pal, Tardos and Wexler

    Generalizations

  • 8/6/2019 Recent Advances in Facility Location Optimization

    155/158

    Fault tolerant facility location

    -Jain and Vazirani

    -Guha, Myerson and Munagala

    - Swamy and Shmoys

    - Jain, Mahdian, Markakis, Saberi,

    Vazirani

    Generalizations

  • 8/6/2019 Recent Advances in Facility Location Optimization

    156/158

    Facility location with penalties

    - Charikar, Khullar, Mount and Narasimhan

    - Jain, Mahdian, Marakis, Saberi and

    Vazirani

    Minimum sum of cluster diameters

    ..

    Conclusions

  • 8/6/2019 Recent Advances in Facility Location Optimization

    157/158

    Rich source of problems requiring exact solution

    requiring approximate solution

    requiring fast solution

    Developed tools have wider applications

    scheduling

    clustering

    Most of the problems in a general network is NP-hard partial k-trees where k is small?

  • 8/6/2019 Recent Advances in Facility Location Optimization

    158/158

    Thank you