Научная статья на тему 'Waiting time costs in a bilevel location-allocation problem'

Waiting time costs in a bilevel location-allocation problem Текст научной статьи по специальности «Математика»

CC BY
7
6
i Надоели баннеры? Вы всегда можете отключить рекламу.
Область наук
Ключевые слова
BILEVEL OPTIMIZATION / CONTINUOUS FACILITY LOCATION

Аннотация научной статьи по математике, автор научной работы — Mallozzi Lina, D’amato Egidio, Daniele Elia, Petrone Giovanni

We present a two-stage optimization model to solve a location-allocation problem: finding the optimal location of new facilitites and the optimal partition of the consumers. The social planner minimizes the social costs, i.e. the fixed costs plus the waiting time costs, taking into account that the citizens are partitioned in the region according to minimizing the capacity costs plus the distribution costs in the service regions. Theoretical and computational aspects of the location-allocation problem are discussed for the linear city and illustrated with examples.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Waiting time costs in a bilevel location-allocation problem»

Lina Mallozzi1, Egidio D’Amato2, Elia Daniele2 and Giovanni Petrone2

1 University of Naples “Federico II”,

Dipartimento di Matematica ed Applicazioni “R. Caccioppoli”,

Via Claudio 21, Naples, 80014, Italy E-mail: mallozzi@unina.it

2 University of Naples “Federico II”,

Dipartimento di Ingegneria Aerospaziale,

Via Claudio 21, Naples, 80014, Italy E-mail: egidio.damato@uniparthenope.it, elia.daniele@unina.it, gpetrone@stanford.edu

Abstract We present a two-stage optimization model to solve a locationallocation problem: finding the optimal location of new facilitites and the optimal partition of the consumers. The social planner minimizes the social costs, i.e. the fixed costs plus the waiting time costs, taking into account that the citizens are partitioned in the region according to minimizing the capacity costs plus the distribution costs in the service regions. Theoretical and computational aspects of the location-allocation problem are discussed for the linear city and illustrated with examples.

Keywords: bilevel optimization, continuous facility location.

1. Introduction

Facility location problems deal with the question to locate some facilities in a continuous or discrete space by minimizing the total cost of opening sites and transporting goods or services to costumers (see, for example, Drezner, 1995, Love et al., 1988, Nickel and Puerto, 2005).

Several papers study single or multiple facility location, competitive location or dynamic location, and so on. In a Game Theory context, competitive models consider facilities competing for costumers and their objective is to maximize the market share they capture (allocation problem). The first competitive location model is in Hotelling, 1929 where the location of two duopolists whose decision variables are locations and prices is chosen. References for spatial competition can be found in Aumann’s work (Aumann and Hart, 1992).

In a previous paper (Crippa et al., 2009), given the location of the facilitites, the authors considered the problem of splitting the costumers in such a way to minimize the waiting time effects and used optimal transportation tools. In another paper (Murat et al., 2009) the problem of finding the best partition of the costumers is considered together with the problem of finding the best location of the facilities and an algorithm procedure is provided. The authors minimize a total cost function in order to find at the same time the optimal costumer partition and the optimal facility location.

In this paper we present a bilevel approach to the problem: we look for the optimal location of the facilitites and also for the optimal partition of the costumers of the given market region. We extend the model studied in (Murat et al., 2009) by

considering the waiting time inside the cost function in the spirit of the model studied in (Crippa et al., 2009).

More precisely, consider a distribution of citizens in an urban area in which a given number of services must be located. Citizens are partitioned in service regions such that each facility serves the costumer demand in one of the service regions. For a fixed location of all the services, every citizen chooses the service minimizing the total cost, i.e. the capacity acquisition cost plus the distribution cost (depending on the travel distance). In our model there is a fixed cost of each service depending on its location and an additional cost due to time spent in the queue of a service, depending on the amount of people waiting at the service, but also on the characteristics of the service (for example, its dimension). The objective is to find the optimal location of the services in the urban area and the related costumers partition. We present a two-stage optimization model to solve this location-allocation problem. The social planner minimizes the social costs, i.e. the fixed costs plus the waiting time costs, taking into account that the citizens are partitioned in the region according to minimizing the capacity costs plus the distribution costs in the service regions.

In Section 2 the linear and the planar models are presented; in Section 3 computational aspects and some examples are discussed; Section 4 contains concluding remarks.

2. The bilevel problem

Let Q be a compact subset in R2. Each point p = (x,y) G Q has demand density D(p) such that fn D(p)dp = 1 with dp = dxdy. The problem is to locate n new facilities pi, ...,pn, pi = (xi, yi) G Q for any i G N = {1, 2,..., n}. Facility pi serves the consumers demand in the region Ai C Q: we have a partition of the set Q, i.e. Urn=1Ai = Q and Ai n Aj = 0 for any i = j.

For any i G N, we denote wi = fAi D(p)dp the total demand within each service region Ai. Now we define for any i G N:

1. Fi(pi) annualized fixed cost of facility i;

2. ai(pi) annualized variable capacity acquisition cost per unit demand;

3. Ci(pi) = c Ja, d2(pi,p)D(p)dp is the distribution cost in service region Ai, being d(-, •) the Euclidean distance in R2 and c the distribution cost per distance unit that we suppose to be constant in Q;

4. hi(wi) total cost, in term of time spent to be served, of consumers of region Ai using the service pi.

We denote by An the set of all partitions in n sub-regions of the region Q, A = (Ai,..., An) G An and p = (pi, ...,pn) G Qn.

Definition 1. Any tuple < Q; p1, ...,pn; l,Z > is called a facility location situation, where Q = [0,1], pi G Q for any i G N ; l, Z : Qn x An ^ R defined by

n

(1)

where wi is the total demand within service region Ai for any i = 1, ...,n, namely

wi = i D(p)dp. (3)

JAi

Given a facility location situation, the goal is to find an optimal location for the facilities p1, ...,pn and also an optimal partition A1,..., An of the consumers in the market region Q by minimizing the costs. We distinguish the total cost in a geographical part that is given by Equation 2 and in a social part that is given by Equation 1.

To this aim we propose a bilevel approach. Given the location of the new facilities, we search the optimal partition of the costumers. Then, we optimize another criterium to look for the optimal location of the facilties according to a bilevel formulation.

For a given location p G Qn of the n facilities, the consumers have to decide which is the best facility to use: they minimize the costs given by the distributions costs, that depend on the distance from the chosen facility, plus the acquisition costs, that is the capacity acquisition cost of the facility supposed to be linear with respect to the density in the region where the chosen facility is. This is the geographical part given by Equation 2.

For any p G Qn, the optimal partition of the consumers in the set An will be a solution to the following lower level problem LL(p):

Anin Z(p,A). (4)

Suppose that the problem LL(p) has a unique solution for any p G Qn, let us call it (A1 (p),..., An(p)) = A(p). The function mapping to any p G Qn the partition A(p) represents for a given location of the new facilities, the best partition of the consumers that minimize their costs coming from the mutual distribution of the facilities and the costumers.

At this point the social planner proposes the best location of the n facilities in such a way that additional costs - that are social costs - as the fixed cost of each facility plus a cost due to the waiting time cost must be the lowest possible. These costs are given by Equation 1.

More precisely, the optimal location of the facilitites p G Qn solves the following upper level problem UL:

min l(p, A(p)), (5)

peon

where for a given location p the optimal partition A(p) of Q is given by the unique solution of the problem LL(p).

The problem UL is known as a bilevel problem, since it is a constrained optimization problem with the constraint that A(p) is the solution of another optimization problem LL(p) for any p G Qn.

Definition 2. Any p that solves the problem UL is an optimal solution to the bilevel problem.

In this case the optimal pair is (p,A(p)) where p solves the problem UL and A(p) is the unique solution of the problem LL(p) for each p G Qn.

Remark 1. In a Game Theory context, the solution of the upper level problem is called Stackelberg strategy and the pair solution of the bilevel problem as given in Definition 2 is called Stackelberg equilibrium (Basar and Olsder, 1995).

2.1. The linear city

We consider a linear region on the real line, i.e. a compact real interval £. Without loss of generality we normalize it and assume £ = [0,1]. This assumption corresponds to concrete situations as the location of a gasoline station along a highway or the location of a railway station to improve the service to the inhabitants of the region.

Let D(p) be the demand density s.t. fQ D(p)dp = 1 where dp = dx. We want to locate n facilities p^ = Xi G [0,1] for any i = 1, ...,n with pi < p2 < ... < pn. A partition A = (Ai, ...,An) of the region £ = [0,1] is given by a real vector A = (Ai,..., An-i) such that Xi G [pi,pi+i], i = 1, ..,n — 1. The partition in this case is: Ai = [0,Ai[,..., An =]An_i, 1]. We denote Aq =0 and An = 1.

A linear facility location situation is a tuple < Q; pi,...,pn; li,Zi >, where Q = [0,1], pi G Q for any i G N ; li, Zi : Qn x An ^ R defined by

where uij, is the total demand within service region Ai = [Ai_i,Ai] for any i = 1,..., n, namely

is an optimal solution to the bilevel problem, where for each p G Qn, A(p) is the unique solution of the problem LL(p)

In this case the optimal pair is (p,A(p)) where p solves the problem UL and A(_p) is the unique solution of the problem LL(p) for each p G i7n.

We assume in the following that:

2. hi, Fi, ai are continous functions on £ for any i = 1,..., n;

3. for any p G £n, the problem LL(p) has a unique solution A(p) G £n-i.

n-1

h(p, A) = ^2 [Fi+i(pi+i) + wi+ihi+i(wi+i)j

(6)

¿=0

n-i

d2(pi+i,p)D(p)dp (7)

^i-1

D(p)dp.

(8)

Definition 3. Any p that solves the problem

min li(p,A(p)) p£ün

(9)

min

Ae[pi,p2] x....x[pn_i,pn]

Zi(p, A)

(10)

1. the demand density D is a continuous function on Ü s.t. D(p)dp = 1;

Proposition 1. Under assumptions 1-3, the problem UL has at least a solution p G Qn.

Proof (of proposition). The function Zi(p, A) is separable in A since for any i = 1,..., n

t- Pi t- Ai

Vi = / D(p)dp + / D(p)dp (11)

J Ai— i Jpi

and by assumptions has a unique minimum point Ai(p) G [pi,pi+i],i = 1,..,n-1 for any p G Qn. The map p G Qn ^ A(p) G Qn-i turns out to be a continuous

function by using the Berge’s theorem (Border, 1989).

The function li(p,A(p)) is continuous and the problem UL admits at least a solution p G Qn. □

3. Numerical results

In this Section we present some computational results to solve the linear locationallocation problem. Our approach is based on Genetic Algorithms (GAs), a heuristic search technique modeled on the principle of evolution with natural selection. Namely, the main idea is the reproduction of the best elements with possible crossover and mutation. The detailed algorithm for a Stackelberg problem can be found in (D’Amato et al., 2012), and also in (D’Amato et al., 2011) in the case of non unique solution to the lower level problem.

The initial population is provided with a random seeding in the leader’s strategy space. For each individual (or chromosome) of the leader population, a random population for the follower player is generated and a best reply search for the follower player is made. The follower player best reply passes to the leader: the leader population is sorted under objective function criterium and a mating pool is generated. Now a second step begins and a common crossover and mutation operation on the leader population is performed. Again the follower’s best reply should be computed, in the same way described above. This is the kernel procedure of the genetic algorithm that is repeated until a terminal period is reached or an exit criterion is met.

For the algorithm validation we consider the parameters as specified in Table 1.

Tablel: GA details

Parameter

Value

Population size (-) Crossover fraction (-) Mutation fraction (-) Parent sorting Mating Pool (%) Elitism

Crossover mode Mutation mode

50

0.90

0.10

Tournament between couple 50 no

Simulated Binary Crossover (SBX) Polynomial

3.1. Test cases

Example 1. ( Uniform density) We want to locate two new facilities in the linear market region [0,1] CR where the consumers are uniformly distributed (D(p) = 1

for any p G [0,1]). The generic partition is Ai = [0, A[, A2 =]A, 1] for A G [0,1]. Then the density of each part is wi = A and w2 = (1 — A). In this example the fixed costs, the acquisition costs, the distribution costs and the waiting time costs are respectively for e > 0:

Fi(pi)= pi, F2(p2) = p2/4, (12)

ai(pi) = Pl, a2(p2) = p2, (13)

^i(pi) = 3 / (pi — pf ^, C2(p2) = 3 I (p2 — pf ^, (14)

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

■JO Jx

hi(t) = (1+ e)t, hi(t) = t. (15)

§ IS

x = 0

p1

p2

x =1

A

Figure1: Location of two facilities in the linear city.

Let us consider the facility location situation < [0,1];pi,p2; li, Zi > where

li(pi,p2, A) = pi + p2/4 + (1 + e)A2 + (1 - A)2, (16)

Zi(pi,p2,A) = piA + p2(1 - A) + (A - pi)3 + pi + (1 - p2)3 - (A - p2)3. (17)

Our problem is to find pi,p2 G [0,1] with 0 < pi <p2 < 1 that solves

min Zi(pi,p2, A). (18)

AelPl,P2 J

The unique solution is

' 2(pl3+p2) if 2P1< P2,

A (pi ,p) = \ 3 -f0 “ (19)

p2 if 2pi >p2.

The social planner problem is

min l(pi,p2,A(pi,p)). (20)

Pl,P2t[pi,P2]

It is possible to compute that for e < | the solution is

and then

13

16(2 + e)'

(22)

For e = 1 the analytical solution is:

1 27 13

(pupo) = (-,—) = (0.125,0.2812), A = — = 0.2708. v8’ 96; v ’ h 48

Remark 2. In the perfect symmetric situation where Fi = F2 =0 and e = 0, the facility location situation is < [0,1];pi,p2; li, Zi > where

h(Pl,P2, A) — A2 + (1 _ A)2

(23)

Zi(pi,p2,A)= piA + p2(1 - A) + (A - pi) + pi + (1 - p2) - (A - p2) . (24) In this case A = ^ gives the optimal partition. Optimal location is any pair in

the set

{(pi, 3/4 - Pl),pi G [0, -]} U {(pi, 1/2),pi G] 1/4,1 /2[}.

(25)

Test cases.

Uniform density. In the case of uniform density, i.e. D(x) = 1 for any x G [0,1], with e = 1, the numerical computation gives:

(pbp^ = (0.1238,0.2811), A = 0.2694.

Figure2: History of implementation in the linear city with uniform density.

The convergence histories of the linear city with uniform density are reported in Figure 2.

Beta-shaped density. In the case of beta-shaped density as in Figure 3, i.e.

x

“-1 (1 - x)ß-1

D(x) — —i-----------------------,

/0 ua-1(1 — u)@-1du

for any x € [0,1], a = 4, 3 = 4, with e = 1, we have the following results:

(Pi,P2) = (0.1200, 0.4009), A = 0.3472.

The convergence histories of the linear city with beta-shaped density are reported in Figure 4.

Figure3: A beta-shaped density function.

Figure4: History of implementation in the linear city with beta-shaped density.

Two beta-shaped density. In the case of two beta distributions summed on a partly shared interval as in Figure 5,

= x{-\l - x-tf-1 + .x-r^l - x2f-1

*' foui 1(1 — ui)P~1dui + /i_fcw 2 1(1 — u2)/^^1du2

where x1 € [0, k] and x2 € [1 — k, 1], with k = 0.65, a = 4, 3 = 4, with e = 1, we have the following results:

(A,p2) = (0.1251, 0.3509), A = 0.3176

The convergence histories of the linear city with two beta-shaped density are reported in Figure 6.

A summary of the analyzed test cases is reported in Table 2.

Table2: Test cases

Distribution Pl P2 A

Uniform 0.1238 0.2811 0.2694

Beta 0.1200 0.4009 0.3472

Two-beta 0.1251 0.3509 0.3176

4. Concluding Remark

The problem studied in this paper has a lot of computational difficulties. An algorithm based on sections of the elements Ai,..., An of the partitions is given in (Murat et al., 2009) for a similar problem formulated as an optimization problem

Figure6: History of implementation in the linear city with two beta-shaped density.

not by considering several hierarchical levels and without the waiting time costs. The algorithm in (Murat et al., 2009) uses Voronoi diagrams. In this paper we ap-poached the linear facility problem by using a genetic algorithm. The location in a planar region together with computational aspects will be studied in a future research. Also the circular region case (see, for example, Mazalov and Sakaguchi, 2003) would be interesting to investigate.

For a given facility location situation < i;pi, ...,pn; l,Z >, it may happen also that the lower level problem LL(p) has more that one solution. Let us call A(p) the set of the solutions to LL(p) for any p. In this case we can define the upper level problem in a different way. In a pessimistic framework, the social planner could use the so called security strategy in order to prevent the worst that can happen when the consumers organize themselveves in any of the partitions indicated in the set A(P).

More precisely, the optimal location of the facilitites pi G in solves the following upper level problem ULs:

min max l(p,A). (26)

pean AeA(p)

Definition 4. Any p that solves the problem ULs is called a security strategy to the problem ULs.

The existence and properties of the security strategies will be investigated in the future.

References

Aumann, R.J. and S. Hart (1992). Handbook of Game Theory with Economic Applications.

Handbooks in Economics, 11 North-Holland Publishing Co., Amsterdam.

Basar, T. and G. J. Olsder (1995). Dynamic noncooperative game theory. Reprint of the second (1995) edition. Classics in Applied Mathematics, 23. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 1999.

Border, K. C. (1989). Fixed point theorems with applications to economics and game theory. Cambridge University Press, New York, 1989.

Buttazzo, G. and F. Santambrogio (2005). A model for the optimal planning of an urban area. SIAM J. Math. Anal. 37(2), 514-530.

Crippa, G., C. Chloe and A. Pratelli (2009). Optimum and equilibrium in a transport problem with queue penalization effect. Adv. Calc. Var. 2(3), 207-246.

D’Amato, E., E. Daniele, L. Mallozzi and G. Petrone (2012). Equilibrium strategies via GA to Stackelberg games under multiple follower’s best reply. International Journal of Intelligent Systems, 27(2), 74-85.

D’Amato, E. , E. Daniele, L. Mallozzi, G. Petrone and S. Tancredi (2011). A hierarchical multi-modal hybrid Stackelberg-Nash GA for a leader with multiple followers game. Dynamics of Information Systems: Mathematical Foundations, A.Sorokin and P. Pardalos Eds., Springer Proceedings in Mathematics, Springer, forthcoming.

Drezner, Z. (1995). Facility Location: a Survey of Applications and Methods. Springer Verlag New York.

Hotelling, H. (1929). Stability in Competition. Economic Journal, 39, 41-57.

Love, R. F., J. G. Morris and G. O. Wesolowsky (1988). Facility Location: Models and Methods. New York: North Holland.

Mazalov, V. and M. Sakaguchi (2003). Location gameon the plane. International Game Theory Review, 5(1), 13-25.

Murat, A., V. Verter and G. Laporte (2009). A continuous analysis framework for the solution of location-allocation problems with dense demand. Computer & Operations Research, 37(1), 123-136.

Nickel, S. and J. Puerto (2005). Location Theory - a unified approach. Springer, Berlin.

i Надоели баннеры? Вы всегда можете отключить рекламу.