Acessibilidade / Reportar erro

Positioning of ambulances of the SAMU system by Integer Programming and Queueing Theory

Abstract:

The configuration of emergency services logistic networks for is a paramount strategic issue since small deviations may lead to death of users. From this premise, the work proposes new alternatives for positioning the SAMU ambulance system in the city of Duque de Caxias / RJ, which are able to reduce the service response time. These ambulances repositioning proposals were built in two stages: at first two models of Integer Programming were used in order to obtaining solutions that maximizes coverage. Then, the Hypercube Model was applied for evaluating the server’s availability under randomness, as well as other relevant performance indicators, such as average time response, and servers’ workloads.

Keywords:
Facility location; Hypercube Model; Emergency services


Resumo:

A configuração de redes logísticas para serviços de emergência é questão estratégica de imensa importância, visto que pequenas variações no tempo de resposta podem implicar na morte do solicitante. Partindo dessa premissa, o trabalho propõe novas alternativas de posicionamento para as ambulâncias do sistema SAMU na cidade de Duque de Caxias, RJ, capazes de reduzir o tempo de resposta do serviço. Essas propostas de reposicionamento das ambulâncias foram construídas em duas etapas: na primeira, dois modelos de Programação Inteira foram aplicados para se obter soluções que provejam maior cobertura à população. Posteriormente, o Modelo do Hipercubo foi empregado para avaliar a disponibilidade dos servidores, dentre outros indicadores de desempenho relevantes, como o tempo médio de resposta e a taxa de ocupação das ambulâncias.

Palavras-chave:
Localização de facilidades; Modelo do Hipercubo; Serviços de emergência

1 Introduction

When designing a logistic network it is essential to pay attention to the particularities inherent to an operation in the private or public sector. While the former searches for a network in which the products flow between points of supply and demand based on the inherent cost/profits, in the public sector the central issue is to optimize any function that measures the availability of the service for a given population (Ghiani et al., 2004Ghiani, G., Laporte, G., & Musmanno, R. (2004). Introduction to logistics systems planning and control. West Sussex: John Wiley & Sons Ltd.).

Within the public administration, the three main objectives to be considered during the design of a network are: budget; operational cost reduction; and the increasing of the service level (Ghiani et al., 2004Ghiani, G., Laporte, G., & Musmanno, R. (2004). Introduction to logistics systems planning and control. West Sussex: John Wiley & Sons Ltd.). Particularly in healthcare, one of the logistical problems of greatest interest is the ambulance location that will attend emergency calls. The location of these facilities is very sensitive to the required service level, mainly characterized by the service response time. A poor coverage may imply the death of the user.

The response time or, as will be discussed later, the coverage limit set by US law is 10 minutes maximum for urban areas within a service level of 95%, and may be extended to 30 minutes for rural areas (Ball & Lin, 1993Ball, M. O., & Lin, F. L. (1993). A reliability model applied to emergency service vehicle location. Operations Research, 41(1), 18-36. http://dx.doi.org/10.1287/opre.41.1.18.
http://dx.doi.org/10.1287/opre.41.1.18...
). In London, 95% of the requests must be met within 14 minutes (Galvão et al., 2003aGalvão, R. D., Chiyoshi, F., & Morabito, R. (2003a). Towards unified formulations and extensions of two classical probabilistic location models. Computers & Operations Research, 32(1), 15-33. http://dx.doi.org/10.1016/S0305-0548(03)00200-4.
http://dx.doi.org/10.1016/S0305-0548(03)...
). In Montreal, the maximum response time must be less than or equal to 10 minutes for 70% of calls (Gendreau et al., 2001Gendreau, M., Laporte, G., & Semet, F. (2001). A dynamic model and parallel Tabu search heuristic for real-time ambulance relocation. Parallel Computing, 27(12), 1641-1653. http://dx.doi.org/10.1016/S0167-8191(01)00103-X.
http://dx.doi.org/10.1016/S0167-8191(01)...
). However, according to Takeda et al. (2004)Takeda, R., Widmer, J., & Morabito, R. (2004). Aplicação do modelo Hipercubo de filas para avaliar a descentralização de ambulâncias em um sistema urbano de atendimento médico de urgência. Pesquisa Operacional, 24(1), 39-71. http://dx.doi.org/10.1590/S0101-74382004000100004.
http://dx.doi.org/10.1590/S0101-74382004...
, in Brazil there is no legislation to determine an upper limit for the response time of this kind of service.

In this paper, the repositioning of ambulances of the Mobile Emergency Service (SAMU), in Duque de Caxias/RJ, is analyzed, using the combination of Integer Programming techniques (IP) and Queuing Theory. Although there is extensive use of deterministic optimization models in such problems as, for example, Schmid & Doerner (2010)Schmid, V., & Doerner, K. F. (2010). Ambulance location and relocation problems with time-dependent travel times. European Journal of Operational Research, 207(3), 1293-1303. PMid:21151327. http://dx.doi.org/10.1016/j.ejor.2010.06.033.
http://dx.doi.org/10.1016/j.ejor.2010.06...
, Iannoni et al. (2009)Iannoni, A. P., Morabito, R., & Saydam, C. (2009). An optimization approach for ambulance location and the districting of the response segments on highways. European Journal of Operational Research, 195(2), 528-542. http://dx.doi.org/10.1016/j.ejor.2008.02.003.
http://dx.doi.org/10.1016/j.ejor.2008.02...
and Gendreau et al. (1997)Gendreau, M., Laporte, G., & Semet, F. (1997). Solving an ambulance location model by tabu search. Location Science, 5(2), 75-88. http://dx.doi.org/10.1016/S0966-8349(97)00015-6.
http://dx.doi.org/10.1016/S0966-8349(97)...
, they do not properly evaluate the congestion effects on the servers. The current work is characterized by the use of a queuing model in order to evaluate the solutions generated by models of IP, used to locate SAMU ambulances. The use of Hypercube Model (HM) in congested systems can represent aspects fleeing to the above deterministic formulations (Larson, 1974Larson, R. C. (1974). A hypercube queuing model for facility location and redistricting in urban emergency services. Computers & Operations Research, 1(1), 67-95. http://dx.doi.org/10.1016/0305-0548(74)90076-8.
http://dx.doi.org/10.1016/0305-0548(74)9...
).

This study also aims to evaluate the possibility of increase the number of users served within an acceptable time limit by just reposition the servers in locations that already have a minimum infrastructure. This idea is aligned with the concept of “decentralized basis” presented in the Ministerial Order No. 2657 of the Ministry of Health, 16 December 2004, which allows for decentralized bases that act as outposts for ambulances and their teams, thus ensuring a quality response time to users of SAMU (Brasil, 2013Brasil. Ministério da Saúde. (2013). Portaria GM/MS n.º 2.657, 16 de dezembro de 2004. Estabelece as atribuições das centrais de regulação médica de urgências e o dimensionamento técnico para a estruturação e operacionalização das Centrais Samu - 192. Brasília, DF: Diário Oficial da República Federativa do Brasil. Recuperado em 20 de agosto de 2013, de: http://bvsms.saude.gov.br/bvs/saudelegis/gm/2011/prt2026_24_08_2011.html.
http://bvsms.saude.gov.br/bvs/saudelegis...
).

This paper was divided into five sections. Section 2 presents a brief literature review on the facility location models for emergency services coverage. The current performance of system was analyzed through coverage indicators, as shown in Section 3. Section 4 discusses the application of two IP models surveyed to the data of the SAMU – Duque de Caxias/RJ, and the obtained results are presented in Section 5. It also reports the proposals for positioning the SAMU ambulances in order to maximize service coverage. In this sense, the HM is used to assess part of the best solutions obtained by one optimization package for the IP. Conclusions and perspectives for future research are presented in Section 6.

2 Literature review

The Set Covering Problem (SCP) was one of the first discrete models for facility location used in emergency services (Toregas et al., 1971Toregas, C. R., Swain, R., Revelle, C. S., & Bergman, L. (1971). The location of emergency service facilities. Operations Research, 19(6), 1363-1373. http://dx.doi.org/10.1287/opre.19.6.1363.
http://dx.doi.org/10.1287/opre.19.6.1363...
). It considers a coverage constraint expressed by the maximum travel time or distance between facility/server and client in a logistic network. Such separation measure is sometimes referred as “critical distance”, S. The problem is defined over a network in which I is the set of demand nodes, and J is the set of candidates points to the allocation of servers. The node i (iI) is considered covered by the service if and only if the separation (measured in units of distance/time) between client node i and the nearest ambulance, located at some node (jJ), is less than or equal S.

Unlikely the SCP, the Maximum Coverage Problem proposed by Church & Revelle (1974)Church, R. L., & Revelle, C. S. (1974). The maximal covering location problem. Papers / Regional Science Association. Regional Science Association. Meeting, 32(1), 101-118. http://dx.doi.org/10.1007/BF01942293.
http://dx.doi.org/10.1007/BF01942293...
seeks to maximize the population covered within the “critical distance”, S, given a predefined number of facilities, p. In this model, the number of number of facilities/servers is determined exogenously by the existence of limited budget or managerial restrictions.

The TEAM model (Tandem Equipment Allocation Model) assumes the existence of two separate servers, each one with its respective critical distance. This premise is very common in emergency services, as there are servers with different equipment, which are able to attend different events (Schilling et al., 1979Schilling, D. A., Elzinga, D. J., Cohon, J., Church, R. L., & Revelle, C. S. (1979). The TEAM/FLEET models for simultaneous facility and equipment sitting. Transportation Science, 13(2), 163-175. http://dx.doi.org/10.1287/trsc.13.2.163.
http://dx.doi.org/10.1287/trsc.13.2.163...
).

There are situations in which the service provided by the basic units may also be provided by the advanced ones. So, a higher coverage can be achieved by allowing the servers to be positioned independently. Such adaptation was presented by Schilling et al. (1979)Schilling, D. A., Elzinga, D. J., Cohon, J., Church, R. L., & Revelle, C. S. (1979). The TEAM/FLEET models for simultaneous facility and equipment sitting. Transportation Science, 13(2), 163-175. http://dx.doi.org/10.1287/trsc.13.2.163.
http://dx.doi.org/10.1287/trsc.13.2.163...
in the model known as FLEET (Facility-location, Equipment-emplacement Technique). This model requires that each client node is simultaneously covered by primary servers (or base) and special (or advanced). The sets Nip={jJ | djiSp} and Nis={jJ | djiSs} contain the nodes where the allocation of a server, primary and special, in this order, allows the coverage of node i. dji is the “distance” between nodes j and i, through some shortest path in the network, and Sp and Ss are the “critical distances” to ensure coverage by basic and special servers, respectively. The formulation also considers the parameters and variables below:

ai = population of node i;

Pp = number of primary servers;

Ps = number of special servers;

Pz = number of facilities to be installed.

The decision variables are:

xjp={1, if a primary ambulance is allocated to node j;0, otherwise.

xjs={1, if a special ambulance is allocated to node j;0, otherwise.

zj={1, if a facility is opened at node j;0, otherwise.

yi={1, if node i is covered; 0, otherwise.

The mathematical formulation of FLEET is then given by Expressions 1-11:

max Z = i I a i y i (1)

s.t.:

j N i p x j p y i , i I (2)
j N i s x j s y i , i I (3)
j J x j p = P p , (4)
j J x j s = P s , (5)
j J N z j = P z , (6)
x j p z j , j J N (7)
x j s z j , j J N (8)
y i { 0,1 } , i I (9)
z j { 0,1 } , j J N (10)
x j p , x j s { 0,1 } , j J (11)

The objective Function 1 seeks to maximize the covered population, while the Constraints 2 and 3 compute the coverage of node i only when it is covered by at least one basic and one advanced ambulance, respectively. The Equations 4 and 5 defines the availability of servers of each kind. The set of nodes that are able to receive a facility is JN, JNJ, and exactly Pz facilities must be installed, as indicated in (6). The Constraints 7 and 8 ensure that ambulances are allocated only to nodes which have a facility.

One of the first stochastic approaches to locate facilities/emergency call servers was the Maximum Availability Location Problem (MALP) proposed by Revelle & Hogan (1989)Revelle, C. S., & Hogan, K. (1989). The maximum availability location problem. Transportation Science, 23(3), 192-200. http://dx.doi.org/10.1287/trsc.23.3.192.
http://dx.doi.org/10.1287/trsc.23.3.192...
. MALP seeks to model the uncertainty inherent the demand by simplifying assumptions. P servers must be located in order to maximize the population covered within S, with reliability θ (Galvão et al., 2003bGalvão, R., Chiyoshi, F., Espejo, L., & Rivas, M. A. (2003b). Solução do problema de localização de máxima disponibilidade utilizando o modelo Hipercubo. Pesquisa Operacional, 23(1), 61-78. http://dx.doi.org/10.1590/S0101-74382003000100006.
http://dx.doi.org/10.1590/S0101-74382003...
). It assumes that servers operate at the same busy fraction, ρ, which is formally defined in (12).

ρ = t ¯ i I λ i 24 j J y j = t ¯ i i λ i 24 P (12)

such that:

λi = arrival rate of calls at node iI;

t¯ = average duration of a call (in hours);

P= number of servers.

The single group of decision variables is yj, such that:

yj={1, if a server is located at node j;0, otherwise.

The minimum number of servers, b, needed to cover a given node using the confidence level θ can be obtained from (12). This is done by computing the probability of having at least one ambulance available to answer a call within “critical distance”, S, given the arrival rate of calls (Revelle & Hogan, 1989Revelle, C. S., & Hogan, K. (1989). The maximum availability location problem. Transportation Science, 23(3), 192-200. http://dx.doi.org/10.1287/trsc.23.3.192.
http://dx.doi.org/10.1287/trsc.23.3.192...
). Expression 13 calculates this probability, such that cji are the coefficients of the binary matrix, whose value is 1 if djiS, and 0, otherwise.

P ( i f a t l e a s t o n e s e r v e r i s w i t h i n c r i t i c a l d i s tan c e S ) θ = [ 1 P ( n o n e s e r v e r i s w i t h i n c r i t i c a l d i s tan c e S ) ] θ = 1 ρ j J c j i y j θ (13)

The sum j Jcjiyj defines the number of servers available within “critical distance” S from a given demand node iI. In order to cover a node with reliability θ, there must be at least b servers able to answer this a call from this node. Computing the logarithms of both members in (13) it becomes j Jcjiyj b, where b= log(1θ)logρ. That is, given the busy fraction ρ, we are able to compute the number of required facilities for guaranteeing coverage with reliability θ.

The MALP variables are:

yik={1, if node i is covered by at least k ambulances;0, otherwise.

xj ={1, if an ambulance is located at node j;0, otherwise.

The mathematical formulation of MALP is given by the Expressions 14-18:

max Z = i I λ i y i b (14)

s.t.:

k = 1 b y i k j J c j i x j , i I (15)
y i k y i ( k 1 ) , i I , k = 2,..., b (16)
j J x j = P (17)
x j , y i k { 0,1 } i I , j J , k = 2,..., b (18)

The objective function (14) maximizes the population covered within critical distance S and reliability θ, that is, only the nodes covered by k=b ambulances are computed. The left-hand side in (15) counts the number of servers within the “critical distance” S from the demand node i, thus ensuring coverage when there are b servers. Moreover, if k ambulances cover node i, then it is true that i is also covered by k1 servers, as expressed by Constraint 16. Finally, Constraint 17 defines the number of ambulances.

Although MALP considers the probability that the server is available when a call arrives, there is no guarantee that the uncertainty related to the arrival process has been well modeled, which can significantly affect the reliability of answering calls, causing the formation of queues and increasing the time of service. Furthermore, the assumption that the servers have the same busy fraction is unlikely in a real situation. Batta et al. (1989)Batta, R., Dolan, J. M., & Krishnamurthy, N. P. (1989). The maximal expected covering location problem: revisited. Transportation Science, 23(4), 277-287. http://dx.doi.org/10.1287/trsc.23.4.277.
http://dx.doi.org/10.1287/trsc.23.4.277...
also support this statement pointing causes as the disproportionate distribution of demand along the served region, and the dispatching policy that can prioritize certain servers, thus unbalancing the fraction of time they are occupied. Despite the existence of models that consider a specific busy fraction for each server, it is difficult to infer their values as they are output from the positioning computed by the location model. Brotcorne et al. (2003)Brotcorne, L., Laporte, G., & Semet, F. (2003). Ambulance location and relocation models. European Journal of Operational Research, 147(3), 451-463. http://dx.doi.org/10.1016/S0377-2217(02)00364-8.
http://dx.doi.org/10.1016/S0377-2217(02)...
suggest the usage of simulation or queuing theory to obtain them.

Therefore, given a solution obtained by one of the models just discussed above, it is interesting to evaluate it through indicators which are influenced by uncertainty (such as average answer time, average number of waiting users, among others). In this paper this evaluation is done by the Hypercube Model proposed by Larson (1974)Larson, R. C. (1974). A hypercube queuing model for facility location and redistricting in urban emergency services. Computers & Operations Research, 1(1), 67-95. http://dx.doi.org/10.1016/0305-0548(74)90076-8.
http://dx.doi.org/10.1016/0305-0548(74)9...
and commonly used to model systems in which servers are dispatched to the customers in order to provide a service, and demand is geographically distributed by discrete atoms.

The area under study is divided into I geographic atoms (nodes) and the arrival of calls from atom i is a Markovian process with rate λi. In order to answer these calls, the system has N servers distributed among the atoms, whose response time is exponentially distributed with attendance rate μn(Chiyoshi et al., 2000Chiyoshi, F., Galvão, R. D., & Morabito, R. (2000). O uso do modelo Hipercubo na solução de problemas de localização probabilísticos. Gestão & Produção, 7(2), 146-174. http://dx.doi.org/10.1590/S0104-530X2000000200005.
http://dx.doi.org/10.1590/S0104-530X2000...
). Every server can be in one of two states, free (0) or busy (1), and the combination of the states of all servers results in the system’s state. For example, for a system with three servers, the {001} state indicates server #1 is occupied, while servers #2 and #3 are free. Hence, the number of possible states is 2N.

We assume only one server is dispatched to the same call, and there is a priority order among servers for answering a call originated from atom i. If the server of higher priority is busy, the second is dispatched, and so on until the last. In state {11...1} all servers are busy, and any new call must to wait in a queue, according to FCFS (First Come, First Served) policy. So, besides the 2N states mentioned previously, there also are the states in which u calls are in the system, such that uN+1: {SN+1},{SN+2},{SN+3}, These states may be represented by the vertices of a hypercube, which has inspired the model’s name (Chiyoshi et al., 2000Chiyoshi, F., Galvão, R. D., & Morabito, R. (2000). O uso do modelo Hipercubo na solução de problemas de localização probabilísticos. Gestão & Produção, 7(2), 146-174. http://dx.doi.org/10.1590/S0104-530X2000000200005.
http://dx.doi.org/10.1590/S0104-530X2000...
). Figure 1 illustrates a system with N = 3 servers and queue limited to l calls.

Figure 1
Possible states for three servers and finite queue. Source: Elaborated by the authors.

Larson (1974)Larson, R. C. (1974). A hypercube queuing model for facility location and redistricting in urban emergency services. Computers & Operations Research, 1(1), 67-95. http://dx.doi.org/10.1016/0305-0548(74)90076-8.
http://dx.doi.org/10.1016/0305-0548(74)9...
defines two transition classes in a Hypercube: upward, in which the server goes from free to busy, and downward when the server changes from busy to free. It is assumed transitions only occur between adjacent vertices of the Hypercube, and the rate at which the system enters a particular state is equal to the rate it leaves this state, so the model’s equilibrium equations are built. By taking an example with N = 3 servers and I = 3 atoms and assuming pB as the probability of the system to be in state B the equilibrium equation around B={000} is then expressed in Equation 19, where λ is the total call rate of the system:

λ p 000 = μ 1 p 001 + μ 2 p 010 + μ 3 p 100 (19)

In Equation 19, λ= λ1+ λ2+ λ3, since from the state {000} the system can enter the states {001}, {010} or {100} by receiving a call originating from atom #1, #2 or #3, respectively. The right-hand side indicates the possibility of reaching the {000} state from the answering of any call when the system is in one of the states {001}, {010} or {100}, which occur, respectively, with rates μi, i=1, 2, 3. Considering that the server n is located at atom i=n (so, it is preferred to serve itself), the state equation {001} is constructed in a similar way:

( λ + μ 1 ) p 001 = λ 1 p 000 + μ 2 p 011 + μ 3 p 101 (20)

State {111} is obtained by receiving a call when the system is in the states {011}, {101} or {110}, regardless the preference order, and also by the answering of any call when the system is in state S4 in which there are three users being in service and one in the queue. Once a server completes the service, it becomes available and it is dispatched to answer the call that had been queued, bringing the system back to the state {111}. Thus, the equation for the state {111} is in (20):

( λ + μ ) p 111 = λ p 011 + λ p 101 + λ p 110 + μ p 4 (21)

Given the system’s equilibrium condition, the transition rates between the states {111} and S4 shall be equal, i.e., λp111=μp4. Likewise, transitions between states and {Sl} e {Sl+1}, to lN are equal and equivalent to ρ=λμ. The transition equations when all servers are busy forms a geometric progression, so p111+p4+p5+= p111/(1ρ). As the sum of the probabilities of all states of the system is equal to 1, it is possible to obtain the normalization Equation 22, resulting in a linear system that has a unique solution with 2N equations.

p 000 + p 001 + p 010 + + p 111 / ( 1 ρ ) = 1 (22)

By solving this system, different performance metrics can be computed, as the average response time, the busy fraction and the probability of queuing, which allows one to analyze how the geographic arrangement react when subjected to stochastic demand.

Among the studies that used the Hypercube Model it is worth also mentioning the works of Larson (1975)Larson, R. C. (1975). Approximating the performance of urban emergency service systems. Operations Research, 23(5), 845-868. http://dx.doi.org/10.1287/opre.23.5.845.
http://dx.doi.org/10.1287/opre.23.5.845...
, Brandeau & Larson (1986)Brandeau, M., & Larson, R. C. (1986). Extending and applying the hypercube queueing model to deploy ambulances in Boston. In A. J. Swersey & E. J. Ingnall (Eds.), Delivery of urban services (TIMS Studies in the Management Science, Vol. 22, pp. 121-153). London: Elsevier., Galvão et al. (2003b)Galvão, R., Chiyoshi, F., Espejo, L., & Rivas, M. A. (2003b). Solução do problema de localização de máxima disponibilidade utilizando o modelo Hipercubo. Pesquisa Operacional, 23(1), 61-78. http://dx.doi.org/10.1590/S0101-74382003000100006.
http://dx.doi.org/10.1590/S0101-74382003...
, Takeda et al. (2004)Takeda, R., Widmer, J., & Morabito, R. (2004). Aplicação do modelo Hipercubo de filas para avaliar a descentralização de ambulâncias em um sistema urbano de atendimento médico de urgência. Pesquisa Operacional, 24(1), 39-71. http://dx.doi.org/10.1590/S0101-74382004000100004.
http://dx.doi.org/10.1590/S0101-74382004...
and Souza et al. (2013)Souza, R., Morabito, R., Chiyoshi, F., & Iannoni, A. (2013). Análise da configuração de SAMU utilizando múltiplas alternativas de localização de ambulâncias. Gestão & Produção, 20(2), 287-302. http://dx.doi.org/10.1590/S0104-530X2013000200004.
http://dx.doi.org/10.1590/S0104-530X2013...
.

3 Field research description

Duque de Caxias is a city of the metropolitan region of Rio de Janeiro, which according to the IBGE census had 855,048 inhabitants by 2010 (IBGE, 2014Instituto Brasileiro de Geografia e Estatística – IBGE. (2014). Censo demográfico 2010. Rio de Janeiro: IBGE. Recuperado em 26 de março de 2014, de http://cidades.ibge.gov.br/xtras/perfil.php?codmun=330170
http://cidades.ibge.gov.br/xtras/perfil....
). To serve this population, SAMU has seven basic life support (BLS) and two advanced life support ambulances (ALS). As in many Brazilian cities, the Health Department of Duque de Caxias does not have any computational tool for locating these ambulances, which is made empirically most times. The operational coordination of SAMU is located at Hospital Dr. Moacir Rodrigues do Carmo, where the two advanced units are positioned. Table 1 shows the current distribution of ambulances in the city.

Table 1
Ambulance distribution existing by the time of this research.

3.1 Logistical network construction

At first, all public hospitals, health care centers and UPAs (emergency care units) in the city were considered as candidate locations to install a facility, resulting in the set J defined in the Formulations 1-11 and 14-18. In addition, the geographical area of the Duque de Caxias was divided into sub regions as small as possible given the available data. In each of them, there was chosen arbitrarily a “center”, where all demand is assumed to be concentrated, originating the set I, in such a way that JI. Table 2 describes the vertices I considered in the study, such that the shaded nodes are those belonging to set J, while the others belong only to set I. The location of each atoms in terms of latitude (LAT) and longitude (LONG) can be found in Table 3, as well as their population ai, which was obtained based on IBGE census in 2010 (IBGE, 2014Instituto Brasileiro de Geografia e Estatística – IBGE. (2014). Censo demográfico 2010. Rio de Janeiro: IBGE. Recuperado em 26 de março de 2014, de http://cidades.ibge.gov.br/xtras/perfil.php?codmun=330170
http://cidades.ibge.gov.br/xtras/perfil....
).

Table 2
Network nodes.
Table 3
Population distribution.

At last, a directed network G=(V,A) was built, so that the arcs in the set A represent the possibilities of treks between pairs of vertices (through streets, avenues or alleys). These arcs are valued with the travel times among the pairs of nodes in V, V=I. It is assumed that when attending a call the ambulance uses the shortest route between its current location and user’s location. The travel times among facilities and the demand nodes were estimated based on the values corresponding to peak times, between 5pm and 7pm, by consulting the API (Application Programming Interface) by Google Maps. Table 4 shows the travel times (in minutes), where the shaded values correspond to those which cji = 1, while for others, cji=0.

Table 4
Travel time tji (minutes).

3.2 Current arragement analysis

According to Bertelli et al. (1999)Bertelli, A., Bueno, M. R., & Sousa, R. M. C. (1999). Estudo preliminar das relações entre duração da parada cardiorrespiratória e suas consequências nas vítimas de trauma. Revista da Escola de Enfermagem da U S P., 33(2), 130-141. http://dx.doi.org/10.1590/S0080-62341999000200004.
http://dx.doi.org/10.1590/S0080-62341999...
, the highest survival frequency of cardiac arrest victims occurs when the resuscitation maneuvers are carried out within 8 minutes. This parameter was used as response time limit for the advanced type servers, i.e., SS = 8 minutes. For basic ambulances, it was adopted Sp = 12 minutes. Considering the positioning of ambulances and the estimated travel times, we used the HM to evaluate the performance parameters of the current logistic arrangement.

According to SAMU’s operational database, 17,862 calls were received between January and June 2013. Using the assumptions adopted in HM, the number of arrivals during the time interval t follows a Poisson distribution with mean λ if and only if the time between arrivals is exponentially distributed with mean 1/λ (Taha, 2008Taha, H. A. (2008). Pesquisa operacional (8. ed.). São Paulo: Pearson Prentice Hall. 326 p.). In order to verify this assumption, the mean interval times between successive calls were taken over 21 days, from the above mentioned database, as shown in Table 5.

Table 5
Interval between successive calls.

Using the Kolmogorov-Smirnov test for average with significance level α = 0.05, it was obtained a p-value = 0.9, which indicates that one cannot reject the null hypothesis that the interval between successive arrivals follows a negative exponential distribution and. Hence, the number of calls in t is a Poisson process with mean λ^ = 1/2.39 = 0.42 calls/hour. Given the unavailability of data disaggregated by geographic atoms, the call rate of each atom (λi) was estimated using the same approach adopted by Takeda et al. (2004)Takeda, R., Widmer, J., & Morabito, R. (2004). Aplicação do modelo Hipercubo de filas para avaliar a descentralização de ambulâncias em um sistema urbano de atendimento médico de urgência. Pesquisa Operacional, 24(1), 39-71. http://dx.doi.org/10.1590/S0101-74382004000100004.
http://dx.doi.org/10.1590/S0101-74382004...
. The authors suggest to approximate λi by the multiplicative product between pi (probability of a call is originated from atom i, i.e., the calls relative percentage of calls from that atom) and λ^ (the total call rate of the system). Table 6 shows the obtained estimates.

Table 6
Arrival rate by atom λi (calls/hour).

The total operational time is defined as the sum of: vehicle preparation time, travel to the demand node, victim attendance and return. The average over the 21 days was analyzed and the standard deviations (in minutes) are shown at Table 7 and distinguished by each server, where the first two are advanced units. According to Takeda et al. (2004)Takeda, R., Widmer, J., & Morabito, R. (2004). Aplicação do modelo Hipercubo de filas para avaliar a descentralização de ambulâncias em um sistema urbano de atendimento médico de urgência. Pesquisa Operacional, 24(1), 39-71. http://dx.doi.org/10.1590/S0101-74382004000100004.
http://dx.doi.org/10.1590/S0101-74382004...
, when deviations have the same magnitude order as the average, as this particular case, it can be inferred that the distribution is approximately exponential. This hypothesis was confirmed by the Kolmogorov-Smirnov test with α = 0.05, from which was computed a p-value greater than 0.7. Therefore, the service rates μs = 60/77 = 0.78 calls/hour and μp = 60/75 = 0.80 calls/hour were computed for the ASL and BSL units, respectively. At last, the preference order matrix was created, listing for each atom i the closest servers (in terms of travel time), in ascending order, with no distinction between the vehicle’s type (basic or advanced). The server in the first column of row i is then the preferred, and the others are used as backups.

Table 7
Average service time per server (minutes).

The system allows queuing and even though it is unrestricted in practice, it was adopted a capacity of nine users (the number of servers) in order to calculate the probability of arriving a call when the queue is so large that it would be considered lost. The probability of receiving a tenth call when the queue already is at full capacity can be calculated as ρ10p11. In the simulation of the current logistic arrangement, the probability of this event was 0.03%, while in the proposed scenarios it was less than 106, which indicates that this limitation does not bring significant changes to the performance indicators of HM.

The average travel times in this system (T¯) and to each atom (T¯i) are computed by expressions (23) and (24), respectively (Chiyoshi et al., 2000Chiyoshi, F., Galvão, R. D., & Morabito, R. (2000). O uso do modelo Hipercubo na solução de problemas de localização probabilísticos. Gestão & Produção, 7(2), 146-174. http://dx.doi.org/10.1590/S0104-530X2000000200005.
http://dx.doi.org/10.1590/S0104-530X2000...
):

T ¯ = n = 1 N i = 1 I f n i [ 1 ] τ n i + p s T Q ¯ (23)
T i ¯ = ( n = 1 N f n i [ 1 ] τ n i n = 1 N f n i [ 1 ] ) ( 1 p s ) + j = 1 J ( λ i λ ) t j i p s (24)

In the previously equations, fni[1] is the fraction of the calls from atom i to server n that do not incur in awaiting time, such that fni[1]=(λi/λ)BEnipB, where λi/λ is the probability of a call from atom i to be is queued, and Eni is the set of states in which a call from atom i is answer by server n. The traveling time of server n to atom i is given by:

τ n i = m = 1 I g n m t m i (25)

where gnm=1 when unit n is located at facility j=i, and 0, otherwise. On the other hand, ps is de probability of saturation of the system, i.e., ps=pQ+p111, such that pQ=1(p000+p0010++p111) is the probability of queuing. Finally, TQ¯ is the average travel time for a call which is already awaiting, obtained by:

T Q ¯ = j = 1 J i = 1 I λ j λ i λ 2 t j i (26)

The application of HM to the data of the actual logistic arrangement leads to an average travel time of 13 minutes. Moreover, it was shown that only 42.4% of population is covered within the chosen “critical distance”, i.e., 12 minutes.

4 Location model development

Two IP formulations from the literature review (FLEET and MALP) were used to locate the bases and position SAMU’s ambulances in order to maximize covered demand. The following assumptions were considered:

  1. i

    Facilities opening and server’s location: exactly one ambulance shall be placed at each open facility; although it is not a “hard” requirement, this approach is supported by the concept of decentralization, which tends to increase the covered population.

  2. ii

    Location constraints: primary and special ambulances can be located at any node, independently.

  3. iii

    Resources availability: limited number of servers given the current Health Department availability: seven primary ambulances and two advanced ones.

By setting Pz=Pp+Ps in FLEET model, all the above premises are met. However, the use of backups is not considered, that is, the model does not take into account the redundancies that the system should have to avoid queuing and minimize service time in areas that have higher demands.

For this reason, the MALP was used as an alternative approach, once this model also meets the established premises. As seen, MALP deals with the stochastic nature of the problem by requiring a confidence level θ, which is guaranteed by using backups. The drawback in this case is possibility of considering only one type of server, thus requiring a simplifying assumption: advanced units shall be treated as basic units.

Given the size of the mathematical programs corresponding to the studied scenarios, they all could be optimized at low computational cost. For a subset of the best solutions found with the IP models, the performance indicators were evaluate by the HM. Obviously, such approach consists only of the analysis of some specific scenarios, and the use of Stochastic Optimization and Robust Optimization tend to offer better solutions. However, this bi-level strategy was able to identify some aspects that are likely to be part of an optimum stochastic solution. More precisely, facilities that have great chance to be opened, as well as the types of ambulances allocated to them.

5 Computational experiments

All tests were run on a Dell Inspiron 14R 3350 notebook with Intel Core™ i5 processor, under operating system Windows 7 Ultimate 64bit, powered with 6GB of RAM. AIMMS 3.13 was employed for coding the two IP models and the optimization of the mathematical programs was done through CPLEX 12.6. The best 200 solutions found by CPLEX for each program were exported to Microsoft Excel 2010, where a VBA code was used to implement the equations of the HM, thereby generating its respective performance indicators.

At first, FLEET was applied with pre-defined existing servers, that is, considering two advanced servers (Ps=2) and seven basic servers (Pp=7), and nine facilities (Pz=9). By applying the HM, the best solution covered 66.3% of the population and resulted in an average time of 11.4 minutes per trip. The vehicles were positioned as follows: the advanced support ambulances at nodes 01 and 34, while the basic support at nodes 06, 12, 19, 20, 33, 41, and 46, one per location. Note that only the medical centers of Campos Elíseos and Saracuruna (nodes 06 and 41, respectively) which operate facilities at the time of this research are also locations provided by FLEET. This indicates how different the current arrangement is from that proposed by this approach, confirming the importance of using computational methods for solving this problem.

In turn, PLMD was solved considering P = 9 servers and no distinction among basic and advanced ambulances, in order to keep the homogeneity proposed by the model. For a confidence level θ = 93%, which corresponds to a coverage by at least b = 5 servers, there was obtained a solution in which 43.8% of the population is covered, within the response time defined by HM. This result can be explained by the higher level of reliability required, which tends to concentrate servers in more populous regions. The average travel time of the system was 14.8 minutes and ambulances were allocated to 01, 02, 09, 10, 11, 12, 30, 33, and 34. For θ = 88% of reliability, a coverage by at least four servers is required. The best solution evaluated by HM predicts a coverage of 62.6% of the population with median time to onset of care 10.9 minutes, and the ambulances positioned at the nodes 01, 02, 06, 16, 19, 20, 23, 33, and 34. Finally, for θ = 80%, three servers are required, and HM produces a solution in which 72% of the population is covered up to 12 minutes, and servers were allocated to the nodes 02, 06, 09, 10, 16, 19, 20, 33, and 34. Interestingly, the ambulances were geographically grouped into two clusters along the network and the average travel time for system was 11 minutes. Table 8 summarizes the metrics discussed for each of the analyzed scenarios.

Table 8
Results comparing obtained by the model Hypercube.

At this point, it is worth to point some considerations made by Chiyoshi et al. (2003)Chiyoshi, F., Galvão, R. D., & Morabito, R. (2003). A note on solutions to the maximal expected covering location problem. Computers & Operations Research, 30(1), 87-96. http://dx.doi.org/10.1016/S0305-0548(01)00083-1.
http://dx.doi.org/10.1016/S0305-0548(01)...
about the possibility of comparing coverage metrics calculated by different models. Metrics are not always comparable, especially in stochastic formulations, since the premises adopted are different incurring into practical implications. The same happens between IP models used in this paper, which differ in their underlying assumptions. To enable comparisons, the coverage metrics were computed by the HM, so all solutions could be evaluated by the same methodology.

Despite the similarity among the mean times, the percentage of coverage varies considerably, because few changes in the location of the facilities may change the average. For example, when θ = 93%, MALP concentrates servers in order to reduce response time in specific regions of the network, which, in turn, increases the travel time to other network nodes, leaving them uncovered. However, the average time remains balanced. The same is true for system’s configuration by the time of this research, whose average time value is close to those ones obtained by the optimization models. But it covers a significantly smaller population.

Graphic 1 shows the percentage of covered population according to response time. It is important to note that the solutions proposed by MALP provide smaller response times than the existing scenario at the time of this research and the FLEET model. Furthermore, for θ = 80% and θ = 88%, the results are always better than those of the current scenario. Their corresponding critical times for covering are almost the same, suggesting that the location has an important effect as the number of servers used as backups. It is also seen that for an upper critical time of 14 minutes, FLEET covers a percentage of the population bigger than than those covered by MALP. However, there must be paid attention to the fact that the first does not consider the effects of backup, which tends to reduce the chance of answering a call.

Graphic 1
Covered population according to critical time. Source: Elaborated by the authors.

Figure 2 shows a comparison of the spatial distribution of ambulances in which: 2a shows the current logistic arrangement; 2b illustrates the solution obtained by applying the FLEET model; 2c, 2d and 2e illustrate the solutions obtained by MALP, for θ = 88%, θ = 93% and θ = 80%, respectively. In cases 2a and 2b, the marker with an asterisk (“*”) indicates advanced ambulances. In the remaining cases there are no marks once they illustrate solutions of MALP, whose assumptions does not make distinction among servers.

Figure 2
Geographical distribution of servers. Source: Elaborated by the authors.

While in existing configuration at the time of this research there were facilities only at six nodes, because of the concentration of four servers in the same node, the other models distribute ambulances along the network, according to demand, thence ensuring that more users are covered. Another important remark is the concentration of ambulances in the south, as shown in Figures 2b and 2d. This is the Duque de Caxias’s downtown, its most populous region, from where the largest number of calls emerged. Finally, it is important to mention that Figures 2d and 2e use exactly nine facilities, but due to the limitations of map scale two geographically close locations were overlapping. Nevertheless, the scale was kept to ease comparisons among the images, and the overlapping facilities were highlighted with the mark “”.

Moreover, one can also notice how MALP varies the geographic distribution of the ambulances as the confidence level θ increases. At Figures 2c and 2e, for θ = 88% and θ = 80%, respectively, we can see a trend forming two clusters, one in the south and another one in the northeast. At Figure 2d, it is seen that the highest level of reliability required (θ = 93%) yields a single cluster at south. Most likely, the availability of only nine ambulances does not stimulate the model to create other clusters, since there would be no gains in terms of coverage because the remaining nodes would not have five or more remote servers to answer their calls within 12 minutes.

6 Conclusion

In this work Optimization techniques and Queuing Theory were combined in order to analyze the SAMU’s ambulance positioning in Duque de Caxias/RJ. It led to a significant increase in the coverage of the population and also provided a smaller response time for the same number of existing servers. The proposed solutions are significantly different from those used in existing configuration by the time of this research, reiterating the importance of mathematical-computational methods in location studies.

The solutions obtained by the IP models were used in HM aiming to evaluate the dispatch of ambulances and the system performance under congestion. The analyses indicate that MALP provides a better modeling of the stochastic behavior of the problem, thus leading to solutions with higher service level for the same values of service time. The results suggest a tendency to equilibrium between dispersion of servers and clustering in the network as an attempt to maximize coverage, while increases the chance of service by using backups.

It advisable that in future studies make a more extensive and accurate data collection, since this was one of the main difficulties found out during our investigation. Another important direction for further researches is the use of stochastic models, given the development of this area in recent years, particularly the Stochastic and Robust Optimization techniques. It would also be interesting to compare the quality and complexity of obtaining solutions for these models against a bi-level approach like the ones used in this paper.

  • Financial support: None.

Referências

  • Ball, M. O., & Lin, F. L. (1993). A reliability model applied to emergency service vehicle location. Operations Research, 41(1), 18-36. http://dx.doi.org/10.1287/opre.41.1.18
    » http://dx.doi.org/10.1287/opre.41.1.18
  • Batta, R., Dolan, J. M., & Krishnamurthy, N. P. (1989). The maximal expected covering location problem: revisited. Transportation Science, 23(4), 277-287. http://dx.doi.org/10.1287/trsc.23.4.277
    » http://dx.doi.org/10.1287/trsc.23.4.277
  • Bertelli, A., Bueno, M. R., & Sousa, R. M. C. (1999). Estudo preliminar das relações entre duração da parada cardiorrespiratória e suas consequências nas vítimas de trauma. Revista da Escola de Enfermagem da U S P., 33(2), 130-141. http://dx.doi.org/10.1590/S0080-62341999000200004
    » http://dx.doi.org/10.1590/S0080-62341999000200004
  • Brandeau, M., & Larson, R. C. (1986). Extending and applying the hypercube queueing model to deploy ambulances in Boston. In A. J. Swersey & E. J. Ingnall (Eds.), Delivery of urban services (TIMS Studies in the Management Science, Vol. 22, pp. 121-153). London: Elsevier.
  • Brasil. Ministério da Saúde. (2013). Portaria GM/MS n.º 2.657, 16 de dezembro de 2004. Estabelece as atribuições das centrais de regulação médica de urgências e o dimensionamento técnico para a estruturação e operacionalização das Centrais Samu - 192. Brasília, DF: Diário Oficial da República Federativa do Brasil. Recuperado em 20 de agosto de 2013, de: http://bvsms.saude.gov.br/bvs/saudelegis/gm/2011/prt2026_24_08_2011.html
    » http://bvsms.saude.gov.br/bvs/saudelegis/gm/2011/prt2026_24_08_2011.html
  • Brotcorne, L., Laporte, G., & Semet, F. (2003). Ambulance location and relocation models. European Journal of Operational Research, 147(3), 451-463. http://dx.doi.org/10.1016/S0377-2217(02)00364-8
    » http://dx.doi.org/10.1016/S0377-2217(02)00364-8
  • Chiyoshi, F., Galvão, R. D., & Morabito, R. (2000). O uso do modelo Hipercubo na solução de problemas de localização probabilísticos. Gestão & Produção, 7(2), 146-174. http://dx.doi.org/10.1590/S0104-530X2000000200005
    » http://dx.doi.org/10.1590/S0104-530X2000000200005
  • Chiyoshi, F., Galvão, R. D., & Morabito, R. (2003). A note on solutions to the maximal expected covering location problem. Computers & Operations Research, 30(1), 87-96. http://dx.doi.org/10.1016/S0305-0548(01)00083-1
    » http://dx.doi.org/10.1016/S0305-0548(01)00083-1
  • Church, R. L., & Revelle, C. S. (1974). The maximal covering location problem. Papers / Regional Science Association. Regional Science Association. Meeting, 32(1), 101-118. http://dx.doi.org/10.1007/BF01942293
    » http://dx.doi.org/10.1007/BF01942293
  • Galvão, R. D., Chiyoshi, F., & Morabito, R. (2003a). Towards unified formulations and extensions of two classical probabilistic location models. Computers & Operations Research, 32(1), 15-33. http://dx.doi.org/10.1016/S0305-0548(03)00200-4
    » http://dx.doi.org/10.1016/S0305-0548(03)00200-4
  • Galvão, R., Chiyoshi, F., Espejo, L., & Rivas, M. A. (2003b). Solução do problema de localização de máxima disponibilidade utilizando o modelo Hipercubo. Pesquisa Operacional, 23(1), 61-78. http://dx.doi.org/10.1590/S0101-74382003000100006
    » http://dx.doi.org/10.1590/S0101-74382003000100006
  • Gendreau, M., Laporte, G., & Semet, F. (1997). Solving an ambulance location model by tabu search. Location Science, 5(2), 75-88. http://dx.doi.org/10.1016/S0966-8349(97)00015-6
    » http://dx.doi.org/10.1016/S0966-8349(97)00015-6
  • Gendreau, M., Laporte, G., & Semet, F. (2001). A dynamic model and parallel Tabu search heuristic for real-time ambulance relocation. Parallel Computing, 27(12), 1641-1653. http://dx.doi.org/10.1016/S0167-8191(01)00103-X
    » http://dx.doi.org/10.1016/S0167-8191(01)00103-X
  • Ghiani, G., Laporte, G., & Musmanno, R. (2004). Introduction to logistics systems planning and control. West Sussex: John Wiley & Sons Ltd.
  • Iannoni, A. P., Morabito, R., & Saydam, C. (2009). An optimization approach for ambulance location and the districting of the response segments on highways. European Journal of Operational Research, 195(2), 528-542. http://dx.doi.org/10.1016/j.ejor.2008.02.003
    » http://dx.doi.org/10.1016/j.ejor.2008.02.003
  • Instituto Brasileiro de Geografia e Estatística – IBGE. (2014). Censo demográfico 2010. Rio de Janeiro: IBGE. Recuperado em 26 de março de 2014, de http://cidades.ibge.gov.br/xtras/perfil.php?codmun=330170
    » http://cidades.ibge.gov.br/xtras/perfil.php?codmun=330170
  • Larson, R. C. (1974). A hypercube queuing model for facility location and redistricting in urban emergency services. Computers & Operations Research, 1(1), 67-95. http://dx.doi.org/10.1016/0305-0548(74)90076-8
    » http://dx.doi.org/10.1016/0305-0548(74)90076-8
  • Larson, R. C. (1975). Approximating the performance of urban emergency service systems. Operations Research, 23(5), 845-868. http://dx.doi.org/10.1287/opre.23.5.845
    » http://dx.doi.org/10.1287/opre.23.5.845
  • Revelle, C. S., & Hogan, K. (1989). The maximum availability location problem. Transportation Science, 23(3), 192-200. http://dx.doi.org/10.1287/trsc.23.3.192
    » http://dx.doi.org/10.1287/trsc.23.3.192
  • Schilling, D. A., Elzinga, D. J., Cohon, J., Church, R. L., & Revelle, C. S. (1979). The TEAM/FLEET models for simultaneous facility and equipment sitting. Transportation Science, 13(2), 163-175. http://dx.doi.org/10.1287/trsc.13.2.163
    » http://dx.doi.org/10.1287/trsc.13.2.163
  • Schmid, V., & Doerner, K. F. (2010). Ambulance location and relocation problems with time-dependent travel times. European Journal of Operational Research, 207(3), 1293-1303. PMid:21151327. http://dx.doi.org/10.1016/j.ejor.2010.06.033
    » http://dx.doi.org/10.1016/j.ejor.2010.06.033
  • Souza, R., Morabito, R., Chiyoshi, F., & Iannoni, A. (2013). Análise da configuração de SAMU utilizando múltiplas alternativas de localização de ambulâncias. Gestão & Produção, 20(2), 287-302. http://dx.doi.org/10.1590/S0104-530X2013000200004
    » http://dx.doi.org/10.1590/S0104-530X2013000200004
  • Taha, H. A. (2008). Pesquisa operacional (8. ed.). São Paulo: Pearson Prentice Hall. 326 p.
  • Takeda, R., Widmer, J., & Morabito, R. (2004). Aplicação do modelo Hipercubo de filas para avaliar a descentralização de ambulâncias em um sistema urbano de atendimento médico de urgência. Pesquisa Operacional, 24(1), 39-71. http://dx.doi.org/10.1590/S0101-74382004000100004
    » http://dx.doi.org/10.1590/S0101-74382004000100004
  • Toregas, C. R., Swain, R., Revelle, C. S., & Bergman, L. (1971). The location of emergency service facilities. Operations Research, 19(6), 1363-1373. http://dx.doi.org/10.1287/opre.19.6.1363
    » http://dx.doi.org/10.1287/opre.19.6.1363

Publication Dates

  • Publication in this collection
    Oct-Dec 2016

History

  • Received
    01 Mar 2015
  • Accepted
    12 June 2015
Universidade Federal de São Carlos Departamento de Engenharia de Produção , Caixa Postal 676 , 13.565-905 São Carlos SP Brazil, Tel.: +55 16 3351 8471 - São Carlos - SP - Brazil
E-mail: gp@dep.ufscar.br