1. Introduction
The problem with evacuation planning concerns the maximum number of evacuees being sent from sources to sinks in the minimum time and as efficiently as possible. The bus-based evacuation planning problem (BEPP) is an important tool for transit-based evacuation planning. The effectiveness of the solution of BEPP depends upon the evacuee arrival patterns at the pickup locations and their appropriate assignment to transit vehicles available in the evacuation network [
1,
2,
3].
The NP-hard multi-depot, multi-trip BEPP was introduced and analyzed prominently in [
4], which is closer to the split-delivery multi-depot vehicle routing problem with inter-depot routes. However, if there is only one bus depot, assuming that the bus collects the same number of people equal to its capacity, the author in [
5] has also proposed the BEPP for the evacuation of a region. Based on such BEPP, Pyakurel et al. [
6] explored it to be transit-dependent. It was considered that the evacuees had gathered at different pickup locations and were silent about their arrival patterns.
In our work, we focus on the new and better-suited form of arrival pattern of evacuees in the earliest arrival flow pattern, which maximizes the arrival of evacuees at every possible instance at the pickup locations with zero transit times from a source. We present a polynomial-time earliest arrival evacuee algorithm that follows the principle of temporally repeated flows to solve the earliest arrival evacuee problem with zero transit times and partial arc reversal capability. The evacuees collected at different pickup locations of the primary sub-network are considered as the supplies during the subsequent vehicle assignment for the secondary sub-network. The partial arc reversal approach for the collection of evacuees also reduces the waiting instances at different pickup locations and improves the solution. The assignment of transit vehicles in such a general or a prioritized embedded network is also carried out in a dominating solution approach for their quickest transshipment. The rest of the paper is organized as follows. 
In 
Section 2, we explain the flow of evacuees, the network topology in 
Section 3, and the integrated evacuation system related to the general and the prioritized network in 
Section 4 and 
Section 5, respectively. 
Section 6 concludes the paper. 
  2. Flow of Evacuees 
In an evacuation planning problem, the flow stands for either the evacuees or the evacuee carrying vehicles. An 
s–
y flow of evacuees over time from source 
s to the sink 
y is a non-negative function 
f on 
 for the given time 
 satisfying the flow conservation and capacity constraints (1)–(3). The inequality flow conservation constraints allow it to wait for flow at intermediate nodes; however, the equality flow conservation constraints force that flow when entering an intermediate node must leave it.
      
The sets of outgoing and incoming arcs corresponding to the node 
 are denoted by, 
 and 
, respectively. Not stated otherwise, for all 
 and 
, we assume that 
 Φ in the case without arc reversals. However, for 
 and 
, the flow value is 
 and 
, respectively, where 
. If the supply and demand on sources and sinks 
 is a fixed value for all 
, then the earliest evacuee problem maximizes value 
 for all 
, as in Equation (4) satisfying the constraints (1)–(3).
      
The total amount out of the source 
s that reached the pickup locations 
Y for all time up to 
, with zero transit times 
 is given by,
      
For the given time bound T, the value of Equation (5) becomes,
      
We consider a flow of evacuees over the time problem with zero transit time function f: 
  3. Network Topology
In an integrated evacuation scenario, we consider a network 
, obtained by combining two of its components 
 and 
 representing a primary and a secondary sub-network, respectively. The first part 
 contains directed two-way road segments and the partial arc reversals are applicable. The second part 
 contains directed one-way road segments, connecting the bus depot to the pickup locations, and undirected edges connecting such pickup locations to the sinks for the bus routing. Evacuees collected at the pickup locations 
Y in 
 are assigned to transit buses in the appropriate route across 
 and are finally sent to the sinks as shown as in 
Figure 1. Here, 
 and 
 which are the set of auxiliary nodes and the set of pickup locations, respectively. The set of arcs is denoted by 
 where 
 and 
 denote the capacity and transit times for 
.
Additionally, in , d is the bus depot at which a set of transit buses B which have the homogeneous bus capacity is initially located and are assigned as required during the evacuation process. The bus depot does not perform further significant roles on the solution procedure as the buses do not return to it even after the completion of the evacuation plan because of risks under threat. In an embedding, Y works as the supply nodes during the bus-assignment in . The set of sinks is denoted by . In this mixed sub-network, the set E consists of the one-way arcs e = (d, y) with  and the undirected edges e = [y, z] with  Here,  is the transit times for  in .
Based on the BEPP introduced by [
4], authors in [
5] have developed a simplified version for the evacuation of a region from a set of collection points to a set of capacitated shelters with the help of buses in a minimum time, assuming that the bus collects exactly the number of people that equals its capacity. Through their solution on a branch-and-bound framework, they have presented four different upper bounds and three lower bounds for time, in addition to three branching rules to minimize the number of branches, and two tree-reduction strategies to avoid the equivalent branches. Among them, four upper bounds are constructed in a polynomial-time complexity by four different heuristic algorithms, whereas three are based on precomputed tour lists. The fourth uses an iterative way without any precomputed tour lists and dominates the rest concerning the evacuation duration and is considered as the dominating assignment approach [
7].
Here, we introduce the earliest arrival evacuee (Problem 1) respecting the partial arc reversal capability in 
Problem 1. Given an evacuation sub-networkwith supplies at, demands at, auxiliary nodes, arc capacity, and arc transit timefor, the quickest partial arc reversal transshipment problem is to find the quickest arrival of evacuees atwith partial arc reversals capability.
 If the reversals of an arc are considered 
 be 
, then the transformed network of 
 consists of the modified arc capacities and constant transit times as,
      
Here, an edge  in transformed network  if . Concerning the auxiliary reconfiguration, it is allowed to redirect the arc in any direction with the modified increased capacity but with the same transit time in either direction. The remaining graph structure and data are unaltered.
Now, Algorithm 1 is presented to solve the earliest arrival evacuee problem with zero transit times with partial arc reversal capability as in [
7].
      
| Algorithm 1. Earliest arrival evacuee algorithm. | 
| Input: A flow over time sub-network  with  for each | 
|  1.Construct a transformed network  to  as in Equation (7).
 | 
|  2.Determine the maximum number of evacuees at every possible time instance at each Y  from s as in [8 ].
 | 
|  3.For each , reverse  up to capacity  if and only if ,  replaced by 0 whenever , in , where  denotes the static flow value in each  for such a network.
 | 
|  4.For each   and  , if   is reversed,   and  . If neither   nor   is reversed,  , where   is saved capacity of   [9 ].
 | 
| Output: Earliest arrival of evacuees at Y with  for each . | 
This algorithm sends the evacuees at the earliest arrival time to Y at each instances and the problem can be solved in polynomial-time complexity. For this we have (Theorem 1).
Theorem 1. The earliest arrival evacuee problem having zero transit times with a partial arc reversal capability follows the principle of temporally repeated flows and can be solved in polynomial-time complexity.
 Proof.  Steps 1, 2, and 4 given by Algorithm 1 are solved in linear time. Its time complexity is dominated by the time complexity of computation of the earliest arrival evacuees at the pickup locations 
Y with zero transit times on each arc as in [
8] in Step 2, which is solved in polynomial-time. Thus, it can be solved in polynomial-time complexity in 
. □
 The flow over time problem having zero transit times that reached to each of the pickup locations determines the maximum number of evacuees at every possible time instance from the beginning in 
. That means the earliest arrival of evacuees at 
Y from s with zero transit times in the transformed network follows the principle of temporally repeated flows which is equivalent to the solution with arc reversals capability in the original network [
10].
  4. Integrated Evacuation Network
For large scale disasters with a sufficiently large number of evacuees, all the evacuees may not arrive at 
Y at the same time. Those who are delivered to 
Y earlier will have comparatively more waiting time. Whereas, for the evacuees, waiting at 
Y is comparatively better than to be at 
s. However, buses available at bus depot d request a certain time to be assigned to 
Y and are given by 
. Hence the effective waiting time in 
N can be denoted by 
, for 
 the waiting is at 
. To address this, the objective function given for the BEPP can be modified. Therefore, for 
 the duration of evacuation vehicles overall under the constraint as in [
5], the integrated evacuation planning (Problem 2) can be reformulated as,
      
Problem 2. Given), having supplies and demands at s and Z, respectively. The integrated evacuation planning problem in a prioritized embedding is to assign the vehicles for evacuees’ transshipment with a minimum clearance time.
 To address such a problem in a prioritized embedding, we have the transit-vehicle assignment algorithm (Algorithm 2) for the minimum clearance time as in [
7].
      
| Algorithm 2. Transit-vehicle assignment algorithm for the minimum clearance time. | 
| Input: An embedded evacuation network ). | 
|  1.In , consider Y as the sinks and determine the earliest arrival of evacuees for  at different Y from s, by using Algorithm 1.
 | 
|  2.Assign the transit vehicles from d to   for the supplies provided by Step 1 at Y, as guided by the dominant vehicle assignment approach as in [7 ].
 | 
|  3.Stop, if all the supplies available at each of Y are fulfilled, respecting the capacity constraints of Z.
 | 
|  4.Otherwise, return to Step 2.
 | 
| Output: Transit-vehicle assignment with the minimum clearance time from . | 
  5. An Integrated Prioritized Evacuation System
In a prioritized evacuation system as in [
11,
12], evacuees are collected from the disaster zone to the prioritized pickup locations of the primary sub-network in the minimum time as the quickest transshipment by using the lex-max flow approach [
13]. Considering such pickup locations as the sources, the available set of transit buses are also assigned in the network to evacuate the evacuees safely to the sinks on a first-come-first-serve basis and is better suited for the simultaneous flow of evacuees. Such an assignment is also carried out in a dominating solution approach by adjusting the potential demands of the pickup locations to the minimum wait in the embedding. To have the quickest arrival of evacuees with partial arc reversals capability, we introduce Problem 3 and design Algorithm 3 as follows:
Problem 3. Given an evacuation sub-network), with supplies at S, demands at Y, auxiliary nodes V, arc capacity, and arc transit timefor. The quickest partial arc reversal transshipment problem is to find the quickest arrival of evacuees at Y with partial arc reversals capability.
 | Algorithm 3. Quickest partial arc reversal transshipment algorithm. | 
| Input: A dynamic sub-network , with the supply and demand. | 
|  1.Construct a transformed dynamic sub-network  as in Equation (7).
 | 
|  2.Solve the quickest transshipment problem [13 ] in the transformed network of Step 1.
 | 
|  3.For each  and reverse  up to capacity  if and only if ,  replaced by 0 whenever , in , where  denotes the static  y flow value in each  for such sub-network.
 | 
|  4.For each   and  , if   is reversed, then   and  . If neither   nor   is reversed, then   where   is saved capacity of  , [9 ].
 | 
| Output: The quickest arrival of evacuees at  in  with partial arc reversal capability. | 
For its time complexity, we have Theorem 2.
Theorem 2. ([
11])
. For the quickest partial arc reversal transshipment in , the quickest evacuee arrival problem can be computed in polynomial-time complexity via  minimum cost flow (MCF) computations in  time, where  in a network having n nodes and m arcs. Proof.  Steps 1, 3, and 4 related to the arc reversal capability as in Algorithm 3 are solved in a linear time, so that their time complexity is dominated by the time complexity of the computation of the quickest evacuee arrival in 
 and is solved in polynomial-time in 
 where 
 in a network having n nodes and m arcs as in [
14]. □
 Transit buses having uniform capacity  are assigned from  which are sufficiently nearer to  in  on a first-come-first-serve basis. Such assignment begins only after  Q for  is the number of evacuees who have arrived at the highest pickup demand. For the subsequent assignments, the effective waiting instance  is almost negligible.
Buses are assumed to collect their full capacities. For this, the potential demands of the pickup locations are adjusted to be the integral multiple of busloads. Let the potential demand of the pickup location 
 be 
. For 
 to be the floor function, the demands can be adjusted to be 
 by using the following demand adjustment.
      
However, if the 
 pickup location is the last one with the least priority, then it is taken as,
      
Then the integrated evacuation planning problem, under similar constraints as above, can be reformulated as;
      
Constraint (13) needs  to be greater than or equal to the maximum travel cost incurred by all buses and is to be maximized in (12).
In an integrated approach, the quickest transshipment of the evacuees at Y in  in the form of lex-max dynamic flows with respect to the adjusted demands are assigned to the transit buses in . For this, we introduce Problem 4 and design Algorithm 4.
Problem 4. Given an evacuation network. Having supplies and demands at s and Z respectively, the integrated evacuation planning problem in a prioritized embedding is to assign the vehicles for evacuees’ transshipment with minimum clearance time.
 | Algorithm 4. An integrated evacuation planning algorithm in a prioritized embedding. | 
| Input: An embedding , with given supply and demand. | 
|  1.Consider  having their pickup locations be .
 | 
|  2.Construct a priority ordering of  assigning the highest priority to the nearest from S.
 | 
|  3.Determine the arrival of evacuees at  of  from  using Algorithm 3.
 | 
|  4.Assign the transit buses from  to  in  for the supplies obtained in Step 3, to the nearest sink , on a first-come-first-serve basis.
 | 
|  5.Begin the assignment with  for  be the collection of evacuees at  provided by Equation (10).
 | 
|  6.Stop, if all the supplies at each  are fulfilled, respecting the capacity constraints of.
 | 
|  7.Otherwise, return to Step 4.
 | 
| Output: Transshipment of evacuees finally to  in minimum clearance time. |