Abstract
Introduction:
In large-scale events such as concerts and sports competitions, participants often leave the venue at the same time to return to their respective destinations. Improper traffic planning and traffic light operation usually lead to traffic congestion and road chaos near the sites. Rapid evacuation of participants has become an important issue.
Objectives:
In this work, a one-way road orientation planning problem with multiple venues is studied in which all roads near the venues are to be scheduled into a one-way orientation with strong connectivity to increase the evacuation efficiency of participants.
Methods:
In accordance with Robbins’ theorem and a random sequence of integers, an encoding scheme based on module operator is presented to construct a strongly connected graph and plan a one-way orientation for all roads. The proposed encoding scheme is further embedded into four artificial intelligence approaches, namely, grey wolf optimization, immune algorithm, genetic algorithm, and particle swarm optimization, to solve the one-way road orientation planning problem such that the total distance of all vehicles from venues to their destinations is minimized.
Results:
Numerical results of test problems with multiple venues in Taiwan are provided and analyzed. As shown, all four algorithms can obtain the best solution for the test problems.
Conclusions:
The new presented encoding scheme with four algorithms can be used to effectively solve the one-way road orientation planning problem for the evacuation of participants. Moreover, grey wolf optimization is superior to the other three algorithms and particle swarm optimization is faster than the other three algorithms.
Keywords
Introduction
During large-scale activities, participants frequently leave the venue simultaneously and return to their respective communities, typically resulting in traffic congestion and road chaos near the site due to improper traffic planning and traffic light operation. Thus, an appropriate direction scheduling of vehicles can effectively evacuate all participants.
Several methods have been used to quickly evacuate all vehicles of the participants within a short time. Among these methods, the one-way road system is a popular technology used in traffic operation management. The advantages of implementing a one-way traffic system are as follows (Homburger and Kell
1
):
Effective use of existing roads; Improves road capacity; Increases vehicle speed; Improves road traffic safety; Shortens the cycle time of signal lights and increases the efficiency of intersections; Reduces the intensity of traffic management and improves the effectiveness of management measures; Eliminate traffic accidents, such as frontal and side collisions with oncoming vehicles.
Many evacuation planning problems have been modeled and studied in the past. For example, Barbarosoğlu and Arda
2
proposed a two-stage stochastic programming model to plan the transportation of essential first-aid commodities to disaster-affected areas during emergency response. Han et al.
3
devised a framework for simultaneously optimizing evacuation traffic destination and route assignment. On the basis of this framework, they can determine the optimal evacuation destination and route assignment using a one-step optimization procedure. Lindell and Prater
4
considered an evacuation problem for a hurricane emergency. They proposed a system called evacuation management decision support system to display information about the minimum, most, and maximum probable evacuation time estimates compared with the earliest, most, and latest probable estimated times of arrival under stormy conditions. Lindell
5
presented a fast method for calculating evacuation time, and the estimate made is compatible with the research findings about evacuees’ behavior during hurricanes. Stepanov and Smith
6
investigated the optimal design and analysis of evacuation routes in transportation networks. They also surveyed several evacuation models and various solutions based on the type of route assignment (simple, static, and dynamic) and the scale of the problem (micro, meso and macro). The other references of evacuation planning are referred to Campos et al.
7
and Han et al.
3
Additionally, El-Hamied et al.
8
surveyed evacuation planning process by using Geographical Information System and Dhamala
9
surveyed models and algorithms for evacuation planning network problems.
As indicated in the above literature, several evacuation planning problems have been modeled and studied. However, their major subject focuses on the evacuation of people or vehicles directly to shelters without considering the connectivity of all roads in their studied network. The connectivity of all roads is important for vehicles because it can provide flexibility and reduce congestion for vehicles once vehicles drive into wrong roads.
The primary objective of this study is to plan the orientation of roads in one way such that all nodes in the roads are strongly connected and all vehicles from multiple venues can return quickly to their destinations. To achieve connectivity of all nodes in the roads, a strongly connected graph must be constructed. However, for a given network, there are numerous such strongly connected graphs for one-way road orientation planning problem (hereinafter referred to as ROPP). To our knowledge, past research focused on the emergency evacuation planning and ignored the connectivity of network which is concerned in this paper.
In the paper, an encoding scheme for converting any random integer into its corresponding depth-first-search spanning tree is presented and then Robbins’ theorem is used to construct a strongly connected graph for ROPP. Then, the encoding scheme is embedded into four artificial evolutionary intelligence approaches, namely, grey wolf optimization (GWO), immune algorithm (IA), genetic algorithm (GA), and particle swarm optimization (PSO), to solve ROPP. The numerical results of two test problems with multiple venues in Tainan, Taiwan are provided to demonstrate the performance of the four adopted algorithms for ROPP problem.
ROPP, notations, and assumptions
Notations
The objective of ROPP is to schedule the orientation of all roads in a one-way direction such that all nodes in the networks are strongly connected and the total routing distance of vehicles from all venues to their destinations is minimized, that is, min
Assumptions
The network with
All vehicles in the venues have to return to their destinations simultaneously. Assume that the total of
All the vehicles will take the shortest path to return to their destinations. Assume that the shortest distance is
To avoid traffic chaos, all roads are scheduled in a one-way direction and strongly connected; that is, every node in the network can visit each other.
The objective of ROPP is to minimize the total routing distance of vehicles from all the venues to their destinations.
Figure 1(a) illustrates an example of the ROPP network with 3 venues and 10 destinations and Figure 1(b) is a feasible solution of the example. However, Figure 1(c) is an infeasible solution for the example since it is not a strongly connected graph. More specifically, the nodes on the right hand side of the dotted line in Figure 1(c) cannot reach the nodes on the left hand side. This means that the connectivity of any two nodes is not maintained.

The example of one-way ROPP network with 3 venues and 10 destinations.
Difference between ROPP and other routing problems
The considered ROPP differs from other typical routing problems. The following briefly summarizes the major differences.
(1) ROPP differs from the evacuation routing problem (ERP) (2) ROPP differs from the transshipment routing problem (TRP) (3) ROPP differs from the shortest path problem (SPP) (4) ROPP differs from
ERP (Lindell and Prater;
4
Stepanov and Smith
6
) aims to efficiently evacuate residents or vehicles to refuge or shelters during emergency events. ERP must schedule the evacuation paths for residents such that evacuation time is minimized. ROPP differs from ERP because the former is required to plan the orientation for all roads such that all roads can connect to one another. By contrast, ERP must only schedule the evacuation paths for residents without considering the connectivity of roads.
TRP (Baldacci et al.;
10
Peres et al.
11
) aims to deliver goods efficiently from some nodes to certain specific nodes. TRP must schedule the delivery paths for vehicles such that the total delivery distance of a vehicle is minimized. ROPP differs from TRP because the former is required to plan the orientation for all roads such that all roads can connect to one another. Conversely, based on the given roads, TRP must only schedule the delivery paths for vehicles without considering the connectivity of roads.
SPP (Llanos et al.
12
) aims to find the shortest path for a vehicle such that the total delivery distance is minimized. ROPP differs from SPP because the former must plan the orientation for all roads such that all roads can connect to one another. By contrast, SPP is only required to schedule the delivery path for vehicles without considering the connectivity of roads.
As shown in the preceding sections, the major difference between ROPP and other typical routing problems is that ROPP maintains the connectivity of all roads, which is disregarded in other typical routing problems. However, the connectivity of all roads is important for drivers once they drive into wrong roads in actual practice. To maintain the connectivity of all roads, one has to construct a strongly connected graph for ROPP. Since there exist numerous feasible strongly connected graphs for ROPP, in this study, a novel encoding scheme is presented and embedded into four algorithms to solve ROPP without exploring all feasible strongly connected graphs. In addition to ROPP, strongly connected graphs have other applications. For example, Daugulis 14 presented an interesting application in practice: if vertices are at intersections and edges are (possibly one-way) roads, then how many one-way roads or intersections can be closed such that the remaining road network is still strongly connected.
Approaches
Approaches for constructing a strongly connected graph
ROPP is related to ERP, TRP, and SPP. Given that each road has to be scheduled into a one-way orientation, the total number of possible plans for all roads is 2
Depth-first-search spanning tree
The primary steps for finding a depth-first-search spanning tree are as follows.
Step 0. Select any vertex and label it with 1, Step 1. Select any vertex that is connected by a single edge to the vertex labeled Step 2. Label the selected vertex Step 3. Let Step 4. Let
Notably, Step 1 for finding the depth-first-search spanning tree has to select one vertex from all feasible vertices. Typically, it is “random” selected. However, our encoding scheme is designed to find a “specific” vertex based on a random sequence.
Robbins’ theorem
The major steps for Robbins’ theorem (Bang-Jensen and Gutin
15
) are as follows.
Step 1. Find a depth-first-search spanning tree. Step 2. Orient all edges on the spanning tree from the vertex with a smaller label to the vertex with a larger label. Step 3. Orient all edges not on the spanning tree from the vertex with a larger label to the vertex with a smaller label.
New encoding scheme and example
For the ROPP, a new encoding scheme is presented to convert a random permutation of {1, 2,…,
There are three main phases for the method presented in this paper to construct the strongly connected graph for the ROPP.
Phase 1: Given a random sequence of integers, Phase 2: Based on the depth-first-search spanning tree obtained in Phase 1, apply Robbins’ theorem for constructing the strongly connected graph. Phase 3: Based on the strongly connected graph obtained in Phase 2, we compute the distance matrix among nodes, including venues and destinations, and compute the objective value for the random sequence
The following example is to illustrate the new encoding scheme.
Example
The network has 16 nodes, 24 roads, and 1 venue.
The distance between any two consecutive nodes is 1.
Suppose that all destinations are in the nodes in Figure 2(a) and the venue is at Node 1 in Figure 2(a).
ROPP aims to schedule a one-way direction for all roads such that the total routing distance of all vehicles from the venue to the destinations is minimized.
Encoding scheme
A total of 16 nodes can be seen in Figure 2(a), and a random sequence of 1–16 is used to provide a feasible solution for ROPP. Suppose that the random sequence is R1 = {9,4,6,13,2, 12,16,8,11,14, 15,3,10,75,1}.
R1(1) = 9; thus, start the depth-first-search spanning tree from Node 9 in Figure 2(a).
Three unconnected nodes, namely, Nodes 5, 10, and 13, are found at Node 9. Since [R1(1) mod 3] + 1 = (9 mod 3) + 1 = 1, an arc from Node 9 to Node 5 is assigned.
Two unconnected nodes, namely, Nodes 1 and 6, are found at Node 5. Since [R1(2) mod 2] + 1 = (4 mod 2) + 1 = 1, an arc from Node 5 to Node 1 is assigned.
In accordance with the similar steps used for a depth-first-search spanning tree, black arcs are obtained, such as those shown in Figure 2(b) based on R1.
Lastly, following the major steps for Robbins’ theorem, the red arcs in Figure 2(c) are added. Figure 2(c) shows a strongly connected graph.
Accordingly, the total distance can be computed for all vehicles from the venue to their respective communities on the basis of Figure 2(d).
Similarly, in accordance with the proposed encoding scheme, if the random sequence of 1–16 is R2 = {13,2,7,15,3,1,14,8,9,6,12,11,16,10,4,5}, then a strongly connected graph is achieved, as shown in Figure 2(d). Thus, if there are only two destinations at nodes 7 and 13, respectively, then the solution of R1 is superior to R2 since

The strongly connected graph for the example.
Note that depth-first-search spanning tree and Robbins’ theorem are typical approaches for constructing a strongly connected graph. However, as mentioned in this paper, there are numerous strongly connected graphs for a given network. The considered ROPP aims to minimize the total routing distance of vehicles based the “optimal strongly connected graph.” In other words, for a given network, how to find the “optimal strongly connected graph” among numerous feasible strongly connected graphs is the main issue of this paper.
In this paper, for a given random sequence of integers, say
Four algorithms
In the past, researchers focused on deriving the global optimal solution for various types of complicated optimization problems. Therefore, many mathematical models and solutions, for example, the branch-and-bound technique (Francis et al. 16 ), have been proposed to solve complicated optimization problems. However, exact methods for NP-hard problems are extremely time-consuming and they are impractical to use when the problem is large. With the advent of AI algorithms in recent years, several evolutionary algorithms and meta-heuristics based on nature or animal behavior have been developed to solve numerous complicated optimization problems in various fields, such as engineering, management, and computer science. Yazdani and Jolai 17 presented a lion optimization algorithm based on the behavior of lions. They also mentioned more than 30 novel AI algorithms and their various applications. Particularly, meta-heuristics are suitable for solving real-life engineering design problems, for example, Meng et al., 18 Gupta et al., 19 Yıldız et al., 20 Champasak et al., 21 Yıldız et al., 22 Yıldız et al., 23 Dhiman et al., 24 Yıldız et al., 25 Panagant et al.. 26
From the literature, GA and PSO may be the most popular algorithms due to their numerous successes in various problems. In addition, GWO and IA have attracted much attention due to their successful applications. The former, GWO, was proposed by Mirjalili et al. 27 in 2014 and its main steps are constructed by the social hierarchy, encircling prey, hunting and attacking prey (exploitation) of grey wolves. In the GWO, four types of grey wolves are involved, namely, alpha, beta, delta and omega. For each iteration of GWO, the position of each grey wolf in the population will update and its fitness will be evaluated. Then the best grey wolf (alpha), the second grey wolf (beta) and the third grey wolf (delta) will be updated. To shorten this paper, we illustrate the flowchart of GWO in Figure 3 and refer to Mirjalili et al. 27 and Nadimi-Shahraki et al. 28 for the detailed description of GWO.

Main steps of GWO (Mirjalili et al.27).
In addition to GWO, IA has elicited attention due to its unique memory mechanism. As demonstrated by Hsieh and You, 29 IA is similar to GA in terms of crossover and mutation operations, except for its unique memory mechanism that can be used to increase the variety of solutions. Thus, in the study, IA is also adopted to solve the considered ROPP. The major steps of IA are illustrated in Figure 4.

Main steps of IA (Hsieh and You29).
To evaluate the performance of GWO and IA for solving ROPP, we also provide the numerical results of GA and PSO for comparison. The primary steps of GA and PSO are referred to those of Holland 30 and Kennedy and Eberhart, 31 respectively.
Test problem
The test problems are examples from Tainan, Taiwan. Figure 5(a) and (b) shows the networks of the two problems with two and three venues, respectively. Assume that various numbers of vehicles have to return from different venues into four major destinations. Table 1 provides the data for the two test problems. For example, Test Problem 1 shows that two venues are located at nodes 5 and 25, respectively, and participants from the two venues have to return to their communities. That is, 100 vehicles of participants have to return from venue at node 5 to community at node 4; 80 vehicles of participants have to return from venue at node 25 to community at node 4; 230 vehicles of participants have to return from venue at node 5 to community at node 11; 225 vehicles of participants have to return from venue at node 25 to community at node 11, and so on. In the two test problems, we have to find the optimal one-way orientation of all roads such that the total routing distance of all vehicles from venues to their destinations is minimized.

Two test problems in Tainan, Taiwan.
Test problems.
The preliminary tests are conducted to set the parameters for GWO, IA, GA and PSO. In GWO, population = 50, maximum iteration = 1000, parameter

The optimal solution for the two test problems in Taiwan, Taiwan.

Numerical results of objective for various algorithms

Numerical results of CPU time for various algorithms.

Numerical results of convergence iteration for various algorithms.
Numerical results of four algorithms for test problems.
Discussions
From Table 2 and Figures 7 to 9, one observes that:
The objective value increases with an increase in the number of venues. For example, the best objective value is 8055 for case with two venues and 11134 for the case with three venues. This observation implies that more venues will increase the total routing distance of vehicles. The standard deviation of the objective value increases with an increase in number of venues. For example, through GWO, the standard deviation of the objective value is 0.00 for the case with two venues and 36.42 for case with three venues. Similar findings for IA, GA and PSO can be obtained. This observation indicates that more venues will increase the complexity of the problem and increase the difficulty in solving for the four algorithms. The average convergence iteration is stable with an increase in the number of venues. However, the standard deviation of the convergence iteration slightly increases with an increase in number of venues. For example, through GWO, the average convergence iteration is 103.15 for the case with two venues and 447.1 for case with three venues. Similar findings for GA and PSO can be obtained. This observation also suggests that more venues will increase the complexity of the problem and increase the difficulty in solving for the four algorithms. The CPU time of an algorithm for the two test problems is stable for all four algorithms. For example, through GWO, the average CPU time is 77.13 for the case with two venues and 77.89 for the case with three venues. This observation implies that the adopted four algorithms are stable for more venues. Among the four AI algorithms, GWO outperforms IA, GA and PSO. For example, the average of the objective value for the case with three venues is 11161.9 via GWO, 11663.3 via IA, via 11731.68 GA, and 11310.55 via PSO. Among the four AI algorithms, PSO is faster than GWO, GWO is faster than GA, and GA is faster than IA. For example, the average CPU time for the case with three venues is 77.89 via GWO, 170.91 via IA, 128.34 via GA, and 24.60 via PSO.
To further analyze the performance of the adopted four algorithms in this paper, the following hypothesis is tested by using the numerical results of 20 trials.
H0:
H1:
where For Test problem 1, GWO is superior to IA and GA significantly with p-values 0.0204, 0.0030, respectively. PSO is superior to IA and GA significantly with For Test problem 2, GWO is superior to IA, GA, and PSO significantly with
Conclusions
In this study,
A ROPP is presented in which each road has to be scheduled into a one-way orientation and all roads are strongly connected such that all vehicles can be quickly evacuated from the venues to their respective destinations. A new encoding scheme is presented to convert any integer sequence into its corresponding feasible depth-first-search spanning tree and then Robbins’ theorem is used to construct a strongly connected graph for ROPP. The encoding scheme is embedded into four AI approaches, namely, GWO, IA, GA, and PSO, to solve ROPP. The numerical results of test examples from Tainan, Taiwan are presented to demonstrate and compare the performance of the four algorithms. Numerical results show that GWO is superior to the other three algorithms for solving ROPP.
*Significant difference with
In the future, a more flexible ROPP may be considered. One example is ROPP with maximal arrival time for vehicles and capacity of flow for roads. Moreover, several other algorithms for solving ROPP can be investigated and experimented.
Footnotes
Acknowledgments
The authors appreciate Mr T.Y. Tsai for the preliminary test of setting parameters. This research was partially supported by Ministry of Science and Technology, Taiwan, under Grant No. MOST 107-2221-E-150-026 and MOST 108-2221-E-150-002.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
