Next Article in Journal
Semi-Analytical Modeling of Pyrolysis Front and Ignition Temperatures of Thermally Reactive Single Solid Particles
Previous Article in Journal
Investigation into the Perforation Optimization in Conglomerate Reservoir Based on a Field Test
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Discrete Jaya Algorithm for Shortest Path Problems in Transportation-Related Processes

1
The Institute of Systems Engineering, Macau University of Science and Technology, Macau 999078, China
2
Department of Electrical and Computer Engineering, New Jersey Institute of Technology, Newark, NJ 07102, USA
*
Author to whom correspondence should be addressed.
Processes 2023, 11(8), 2447; https://doi.org/10.3390/pr11082447
Submission received: 28 July 2023 / Revised: 8 August 2023 / Accepted: 10 August 2023 / Published: 14 August 2023

Abstract

:
Shortest path problems are encountered in many engineering applications, e.g., intelligent transportation, robot path planning, and smart logistics. The environmental changes as sensed and transmitted via the Internet of Things make the shortest path change frequently, thus posing ever-increasing difficulty for traditional methods to meet the real-time requirements of many applications. Therefore, developing more efficient solutions has become particularly important. This paper presents an improved discrete Jaya algorithm (IDJaya) to solve the shortest path problem. A local search operation is applied to expand the scope of solution exploration and improve solution quality. The time complexity of IDJaya is analyzed. Experiments are carried out on seven real road networks and dense graphs in transportation-related processes. IDJaya is compared with the Dijkstra and ant colony optimization (ACO) algorithms. The results verify the superiority of the IDJaya over its peers. It can thus be well utilized to meet real-time application requirements.

1. Introduction

The shortest path problem (SPP) is among the most fundamental ones in graph theory. It is concerned with finding the shortest path from a specified origin to a destination in a given graph or network. In general, each edge’s distance, time, and price is called cost. This paper uses “cost” to indicate the distance, time, and other physical attributes of a network. It is applied in a variety of domains (both as a stand-alone model and as a subproblem in complex problems), such as transportation [1,2,3], biological networks [4], social networks [5], circuit board layout [6], and robotic search/navigation processes [7,8,9,10,11,12,13]. In recent years, the rapid development of sensing and Internet of Things (IoT) technology has allowed us to obtain environmental changes rapidly [14,15]. Since such changes impact SPP solutions, it becomes increasingly important for us to find SPP solutions efficiently. Efforts are required to develop faster algorithms than traditional and existing ones to solve SPP.
Many classical algorithms and a series of their variants are proposed, e.g., Dijkstra [16,17,18], Bel, Floyd [19,20], Dreyfus [21], and A-Star [22,23], to solve SPP. There are some other ways to solve SPP, such as simple heuristics, meta-heuristics, and neural networks. Otte and Correll (2013) [24] propose a parallel framework of the shortest path planning algorithm based on single-query sampling. Zhang, et al. (2014) [25] propose a novel parameter-free minimum resource neural network framework to solve shortest path problems for various graph types. Jan, et al. (2014) [26] present a method based on Delaunay triangulation, improved Dijkstra algorithm (DA), and Fermat points to construct a new graph that can obtain near-shortest paths in a short computational time. Lei, et al. (2015) [27] propose a parallel field-programmable gate array implementation to solve SPP. An extended systolic array priority queue is proposed to allow large-scale priority queue processing. Wang, et al. (2016) [28] suggest an improved A-star algorithm to solve SPP with position-based learning effects. Huang, et al. (2017) [29] adopt a position-based pruning strategy to reduce the number of node pairs. An algorithm based on point-to-point shortest path calculation is presented to improve efficiency. Li, et al. (2018) [30] designed an efficient shortest-path algorithm that compresses an original network into a small one that preserves the graph properties used to calculate a path. Yang, et al. (2020) [31] present an ant colony algorithm to solve the shortest path problem. Krauss, et al. (2020) [32] propose three different approaches for solving SPP using a quadratic unconstrained binary optimization formulation suitable for development on a quantum annealing machine.
SPP expansions are also widely studied. Examples of other generalizations of SPP are the K-shortest path problem [33], the shortest time path problem with time windows [34], and the traveling salesman problem [35,36,37,38]. The application of the SPP extends to the realm of industrial automation. The SPP has been used to optimize and streamline processes, e.g., the design of mechanical components for automation platforms [39], measurement of industrial robot poses [40], and solution of characteristic equations for the elliptical trajectories of industrial robots [41].
Chen, et al. (2013) [42] present a stochastic travel speed model to express the problem of finding the minimal expected time path in stochastic time-dependent road networks. Feng and Korkmaz (2015) [43] propose a new Lagrangian relaxation algorithm to solve a multi-constrained multiple SPP. Talebi, et al. (2017) [44] study online shortest path routing over multi-hop networks. Chemodanov et al. (2018) [45] propose a novel neighborhood method for a constrained SPP. The neighborhood method uses a search space reduction technique and has a theoretical quadratic speed-up that allows it to reach solutions faster than its peers. Li, et al. (2018) [46] present an index-based A-Star algorithm to solve the SPP in a weighted directed acyclic graph with unknown vertex coordinates. Ganganath, et al. (2018) [47] designed a heuristic search algorithm to find solutions to the shortest path on uneven terrains. Su, et al. (2019) [48] propose a multi-stage meta-heuristic algorithm for solving the SPP with must-pass nodes. Kou, et al. (2019) [49] propose two algorithms for a single-constrained SPP. Jie, et al. (2019) [50] establish an information transmission time expectation-variance shortest path model and a fuzzy shortest path critical edge model. An improved ant colony algorithm with traffic congestion factor and random variables is developed to solve the SPP in an uncertain environment. Binh, et al. (2019) [51] suggest an improved evolutionary algorithm that reduces the search space to overcome massive resource consumption in solving clustered shortest-path tree problems. Liu, et al. (2019) [52] propose an optimal path selection algorithm that applies reinforcement learning strategies and designs a new length-first optimal path selection method based on prior knowledge. Xiong, et al. (2020) [53] present an integer programming model for one-to-one pickup and a delivery problem. Two different splitting strategies are proposed to solve the split demand one-to-one pickup and delivery problem with the shortest-path transport along real-life paths. Krauss and McCollum. (2020) [32] designed three different ways to implement the formula of the SPP on a quantum annealing computer. Thanh, et al. (2021) [54] proposed a new method to solve clustered shortest-path tree problems based on a multifactorial evolutionary algorithm. Cosma, et al. (2021) [55] designed a novel genetic algorithm to solve the clustered shortest path tree problem that defines meaningful genetic operators and uses an initial hybrid population.
Although the SPP is studied extensively, researchers face a challenging task when handling large and complex networks in engineering applications. Its various extension problems, such as k-shortest paths, traveling salesman problems, shortest path with time windows, and multiobjective shortest path, are all NP-hard problems. The SPP is frequently invoked when solving these problems. Reducing the running time of the SPP can greatly improve the efficiency of these algorithms. The proposal of a meta-heuristic algorithm to solve the SPP can be regarded as laying the foundation for solutions to other NP-hard problems involving the SPP. In many specific cases, practitioners just need high-quality paths within a very short time instead of the shortest ones but an unacceptably long time during which any parameter/environmental changes may void an optimal one. In other words, they need the shortest possible time or real-time response to obtain an approximate shortest path. For example, a number of attributes affecting the optimal path in an urban road can change at any time. Such changes require a real-time update of the optimal path. If the guidance is not given quickly, a driver might end up missing an intersection or entering the wrong path. A meta-heuristic algorithm becomes a preferred choice due to its controllable and limited running time and ability to find a high-quality solution [56,57]. The work [58] proposes a simple meta-heuristic algorithm called Jaya to solve continuous optimization problems. Compared with other meta-heuristic algorithms, Jaya is easier to be applied because it does not need to consider complex parameters but just needs to set the number of iterations and population size as its outstanding feature. Jaya is highly competitive in comparison with other heuristic algorithms, e.g., particle swarm optimizer (PSO), genetic algorithm (GA), differential evolution (DE), artificial bee colony (ABC), and teaching-learning-based optimizer (TLBO). It has been extensively used in various fields, such as photovoltaic systems [59], electricity theft detection [60], power transmission [61], unmanned aerial vehicle control [62], manufacturing [63], and scheduling [64,65].
We propose to adopt Jaya to solve the SPP for the first time because of its excellent performance and successful engineering optimization problems. The SPP aims to find the shortest path on a given network that requires connecting discrete points in series and finally giving a set of nodes and their order. It is a discrete problem. The original Jaya algorithm is not suitable for solving discrete problems. Gao, et al. (2016) [57] propose a discrete Jaya algorithm by improving the strategy for new solution generation and applying it to manufacturing process scheduling problems. This work proposes an improved discrete Jaya (IDJaya) algorithm for solving the SPP. Figure 1 shows the flowchart of our proposed method. This work contributes to the field of the SPP by (a) developing a discrete version of Jaya to solve it and a local search operator to improve the performance of the discrete Jaya algorithm (DJaya) and (b) comparing the proposed IDJaya with its peers.
The remainder of this paper is organized as follows. The mathematical model of the SPP is formulated in Section 2. Section 3 introduces the IDJaya to solve the SPP. Section 4 presents the experimental results and their comparisons with their competitive peers. Finally, Section 5 concludes this paper.

2. Problem Description and Mathematic Formulation

In this section, we illustrate our concerned SPP. A network is represented by an undirected and connected graph G = (V, E), where V = {v1, v2, …, vn} represents the set of nodes and E = {e1, e2, …, em} represents the set of edges. |V| = n and |E| = m represent the total number of nodes and edges in graph G, respectively. An edge between nodes va and vb is denoted by eab. Each edge has a cost cab (e.g., representing distance, time, or price) that indicates the cost between nodes va and vb. podP is a path connecting origin (vo) and destination (vd), where P is the set of paths. The cost of pod is represented by Cod, which is calculated by summing the costs of each edge in pod.
Definition 1 (Shortest Path): For a given graph G, the shortest path from vo to vd is defined as the path with the smallest Cod.
As shown in Figure 2, there are three alternative paths, i.e., p 1,3 1 : 1-2-3, p 1,3 2 : 1-3 and p 1,3 3 : 1-4-3. Accordingly, C 1,3 1 = 7, C 1,3 2 = 5 and C 1,3 3 = 9. Here, p 1,3 2 : 1-3 is the shortest path in this network. If there is more than one shortest path between vo and vd, pod is one of them.
We formulate the SPP as follows:
Min   p o d = e i j p o d , i j c i j
subject to:
v k V { v o , v d } ,   v i V { v d } ,   v j V { v o } , v i , v j , v k P , i k x i k v i , v j , v k P , j k x k j = 0
c i j = c j i ,   v i , j V
v i , v j P , i j x i j 1
x i j { 0,1 } ,   i , j = { 1 ,   2 , , n } ,   J ˙
The objective function (1) serves to minimize path costs. Constraint (2) guarantees network connectivity. (3) restricts that the network is an undirected graph. (4) ensures that each node is accessed at most once, i.e., paths have no loops. (5) defines a binary decision variable.

3. Proposed Solution Approach

As networks become large, classic SPP algorithms fail to handle the SPP. A new discrete Jaya algorithm is thus proposed to solve it. Original Jaya is not suitable for solving the SPP because each node is discrete, and Jaya cannot give a solution with discrete values. We extend Jaya by revising a generation strategy of solutions to address this problem such that the proposed IDJaya can access nodes in a network to generate candidate solutions (paths).

3.1. Original Jaya Algorithm

Jaya is a novel and simple algorithm. It produces new solutions and constantly tries to find the solutions closer to the optimal solution but away from the worst one. Note that “Jaya” means victory in Sanskrit. Its performance relies on only two parameters, i.e., the number of iterations and population size. It can be viewed as being parameter-free when compared with other popular nature-inspired algorithms such as PSO and ACO. Its simplicity makes it convenient to implement in any programming language, and it is also easy to convert codes between different programming languages. It has the following steps according to [58]:
1. Initializing the population size (K), termination condition (i.e., number of iterations), and number of decision variables.
2. Finding the best and worst solutions in population.
3. Generating new solutions via:
Y   j , k , i = Y j , k , i + R 1 Y j , b e s t , i Y j , k , i R 2 ( Y j , w o r s t , i Y j , k , i )
4. If the new solution is superior to the best solution, then replace the latter with the former.
5. Comparing original solutions with new ones and saving top K results.
6. Determining whether a pre-given termination condition is met. If so, output results. Otherwise, repeat Steps 2–6.

3.2. Discrete Jaya Algorithm for SPP

Jaya is proposed to solve a continuous optimization problem. Since the SSP is discrete, we have to design a new solution generation strategy to make Jaya suitable for the SPP. Therefore, a discrete Jaya algorithm (DJaya) for solving the SPP is proposed. An additional term that can randomly generate adjacent nodes is added to increase the exploration ability of DJaya, called IDJaya. The difference between IDJaya and DJaya is that IDJaya adds a local search algorithm to improve its solution accuracy. Due to the particularity of the SPP, a newly produced node may not be in an original path, and parameters φ ~ j , k , i / φ ˇ j , k , i / φ ^ j , k , i are thus added to ensure the connectivity of the generated paths. IDJaya generates a set of points and builds a path as follows:
v j , k , i = φ ~ j , k , i r 1 v j , k , i + φ ˇ j , b e s t , i r 2 v j , b e s t , i + φ ^ j , w o r s t , i r 3 v j , w o r s t , i + r 4 v j , r a n d o m , i
{ v j , k , i } p k
r 1 , r 2 , r 3 , r 4   { 0,1 } j = 1 4 r j = 1
where ri is a binary random number taking 0 or 1 at random and satisfying that only one of them be 1, implying that only one of them is selected to produce a new node; φ ~ j , k , i , φ ˇ j , k , i and φ ^ j , k , i are introduced to prevent IDJaya from being unable to continue running since newly generated nodes are not in the paths. They are used to determine whether the node is in the initial path, best path, and worst path, respectively. They are binary decision variables. φ ~ j , k , i = 1 when the node can be found in the initial path, and otherwise zero. So are φ ˇ j , k , i and φ ^ j , k , i . For example, a newly generated node is 6. Assuming that the initial path and best path contain node 6, we have: φ ~ j , k , i = φ ˇ j , k , i = 1 and φ ^ j , k , i = 0. v j , k , i is a newly generated node and v j , k , i is an alternative one that is the next node on the selected path. v j , b e s t , i and v j , w o r s t , i represent the next node on the best and worst paths, respectively. v j , r a n d o m , i includes all nodes accessible by the previous point (except the points that are already in the path). We later give a simple example to show how it works.
Unlike Jaya’s solution generation strategy, (7) generates a node in a new path instead of a complete solution. It is constantly called until a new complete path is generated from the origin to the destination. These newly generated nodes build a new path, as shown in (8). The remaining process of the IDJaya is the same as that of the original Jaya. Figure 3 shows the flowchart of IDJaya.
IDJaya requires initial solutions for operation. Initial solutions refer to random paths between an origin to a destination. In order to overcome the difficulty of initial path acquisition in large networks, we propose a random path generation method based on orientation. It always visits a new point in the same direction toward the destination to ensure that a random path can be found quickly.
The idea of our algorithm is based on Jaya. We propose a new solution generation strategy such that Jaya can solve the path problems. A node in a new path is generated when the strategy is invoked. (7) is repeatedly used until the destination is visited and a new path is produced. Its complete procedure is described in pseudo-code of IDJaya with the following steps: (1) set parameters, i.e., population size and the number of iterations; (2) calculate the cost of initial paths and find out the best and worst solutions; (3) select a path in sequence and generate a new point according to Step 6; (4) repeat steps 5–7 until the destination is visited, thus resulting in a new path; (5) use this method to produce corresponding new paths for all initial ones; (6) call the local search algorithm to generate new solutions; (7) compare all paths and select the top K optimal solutions as the latest path group. (8) repeat the above steps until termination conditions are met, i.e., the maximum number of iterations is reached.; (9) output a path with the lowest cost. {Rk} is a set of paths that is constantly being updated as the algorithm is executed (Algorithm 1).
Algorithm 1. Improved discrete Jaya for shortest path problems (IDJaya)
    Input: Origin O, Destination D, Road network G, Population size K, Maximal iteration count I ^
    Output: The shortest path
1.
  Calculate {COD}
2.
  Obtain the best value of C (i.e., (COD)best) and the worst value of C (i.e., (COD)worst)
3.
   for   i = 1   to   I ^
4.
    for k = 1 to K
5.
        for j = 1 to c
6.
               v j , k , i = φ ~ j , k , i r 1 v j , k , i + φ ˇ j , b e s t , i r 2 v j , b e s t , i + φ ^ j , w o r s t , i r 3 v j , w o r s t , i + r 4 v j , r a n d o m , i
7.
        end for
8.
                 R k   { v j , k , i }
9.
                Pk   Local   search   ( R k )
10.
    end for
11.
    {Rk} ←   min { R k ,   R k , Pk}
12.
  end for
13.
  output min C{Rk}
A local search algorithm is applied to IDJaya to expand the scope of solution exploration and improve the quality of solutions. In the local search algorithm, α is a randomly selected point in pod. ε represents newly extended points that form a segment. Its steps are as follows: (1) randomly select a node in a path generated by IDJaya; (2) randomly access adjacent nodes from a node selected in the previous step; (3) stop access when a newly accessed node belongs to the initial path or the number of iterations reaches a set value; (4) connect several segments to form a new path; (5) repeat the above steps until the number of paths generated reaches the set value. It ends when the iteration is completed or a newly generated segment returns to the original path. Its time complexity is O(nβγ), and TLocal ≈ O(n) can be obtained. TLocal is the time complexity of a local search algorithm. n is the number of nodes. β and γ are two parameters in a local search algorithm. They mean that a local search algorithm is executed to generate at most β paths by exploring no more than γ nodes. Their settings need to prevent the algorithm from wasting too much computing time. As β and γ increase, more paths are generated, and accordingly, more high-quality solutions are likely to be obtained. However, as they increase, so does the running time. β and γ are not sensitive to the size of a network. Their values directly affect the selection range of alternative paths. Larger networks may require more alternative paths to find the optimal solution, but the size of a network does not affect β and γ values. After some experiments, we set β = 5 and γ = 10 as their proper values (Algorithm 2).
Algorithm 2. Local search algorithm
    Input: A path generated by IDJaya (pod)
    Output: A set of paths
1.
 for β = 1 to 5
2.
        Randomly   select   a   node   α β in pod (except origin and destination)
3.
        Disconnect   α β from the other points in pod
4.
        Let   ε 1 = α β and segment = ∅
5.
       for γ = 2 to 11
6.
              Random   access   from   ε γ 1   to   an   adjacent   node   ε γ (excluding connections severed in step 3)
7.
              if   ε γ pod
8.
               Pp
9.
             end if
10.
           segmentsegment + ε γ
11.
       end for
12.
        If   ε   is   close   to   origin   than   α 1
13.
             psegment + segment + segmentαd
14.
       else if
15.
             psegment + segment + segmentεd
16.
       end if
17.
             Pp
18.
         end for
19.
 Output P
Theorem 1. 
The computational complexity of IDJaya is O( I ^ cK).
Proof of Theorem 1. 
First of all, we summarize the complexity of each step in IDJaya in Table 1.
Based on Table 1, we formulate the computational complexity of IDJaya as follows:
T = O ( c K ) + O ( K ) + O ( 4 I ^ c K ) + O ( I ^ c K ) + O ( 2 I ^ K ) + O ( K ) + O ( n I ^ c K ) = n O ( I ^ c K ) + 2 O ( I ^ K ) + O ( c K ) + 2 O ( K )   O ( I ^ c K )
where I ^ is the number of iterations and K is the population size. c is the number of nodes on a path. In the worst case, a path passes through all nodes in a network, i.e., c = m. On average, c << m. n is a constant. □

4. Experimental Results and Discussion

In this section, we illustrate IDJaya via a simple example and then perform two experiments to evaluate the proposed method.

4.1. A Simple Example

To illustrate how IDJaya works, Figure 4 shows a network example. It is an undirected graph consisting of 11 points and 16 edges. Vertical edges cost 3, horizontal edges cost 4, and hypotenuse edges cost 5. In a simple example, the origin is node “1,” and the destination is node “11”. Setting I ^ = 2 (i.e., the algorithm terminates after two iterations) and K = 3. There are three random initial paths, namely, “1-2-5-8-11”, “1-6-5-2-3-4-9-10-11” and “1-2-3-4-9-10-11”. We know that the optimal solution to this case is “1-6-7-11” and C1-11 = 13. Since SPP is a minimization problem, the minimum value of C is regarded as the best solution, and the maximum value of C is the worst solution.
As shown in Table 2, alternative paths 1 and 2 are the best and worst solutions, respectively. New paths are generated according to (7) and (8). For example, the first iteration of a new path corresponding to alternative path 1 is generated as follows:
(1)
v 1,1 , 1   φ ~ 1,1 , 1 r 1 v 2 + φ ˇ 1 , b e s t , 1 r 2 v 2 + φ ^ 1 , w o r s t , 1 r 3 v 6 + r 4 ( v 2 , v 6 )   r 1 ( v 2 ) + r 2 ( v 2 ) + r 3 ( v 6 ) + r 4 ( v 2 ,   v 6 )   v 6
p 1 :1-6
(2)
v 2,1 , 1   r 3 ( v 5 ) + r 4 ( v 5 , v 7 )   v 5
p 1 :1-6-5
(3)
v 3,1 , 1   r 1 v 8 + r 2 v 8 + r 3 ( v 2 ) + r 4 ( v 2 ,   v 4 , v 8 )   v 8
p 1 :1-6-5-8
(4)
v 4,1 , 1   r 1 v 11 + r 2 v 11 + r 4 ( v 7 ,   v 9 , v 11 )   v 11
p 1 :1-6-5-8-11
The above process gradually visits points in a network through the repeated calls of (7) to form a complete path. Similarly, new paths based on other initial paths are produced. Note that a newly produced node may jump out of the original path. For example, in Step 2), since node 6 has been visited, the original path and optimal solution do not include node 6, so let φ ~ 2,1 , 1 = φ ˇ 2 , b e s t , 1 = 0. Local search produces neighboring solutions for each new solution. For example, “1-6-5-8-11” is selected, in which node 5 is chosen at random. A segment “5-4-9-8” is generated by randomly accessing adjacent nodes starting at node 5. Here node 5 is closer to the origin than node 8. A new path is generated, i.e., “1-6-5-4-9-8-11”. These newly generated paths are compared, and the top 3 best solutions are put in Table 3. Compare the values of C1-11 in Table 2 and Table 3, and place the top 3 best solutions in Table 4. This completes the first iteration.
It can be observed from Table 4 that path 3 is the best solution and the first candidate is the worst one. Entering the second iteration, new paths are generated using (7) and (8). Table 5 shows the paths of new production and the corresponding C in the second iteration. Compare the values of C1-11 in Table 4 and Table 5, and obtain the top 3 best solutions shown in Table 6. The second iteration is completed. IDJaya is terminated when I ^ = 2, and the optimal solution is output, i.e., “1-6-7-11”. It is determined that “1-6-7-11” is the optimal solution in this example by comparing the result with DA [16].
In the above example, it can be observed that the optimal solution is obtained in the first iteration. Although there is a small size network, it can reflect the simplicity of IDJaya. Subsequent computations may yield as good results as we have, but excellent solutions are retained by comparing original solutions with new ones. With the increase in population size and iterations, high-quality solutions can be obtained even if the size of a network continues to grow.

4.2. Case Study

4.2.1. Experiment Setting

In this section, seven road networks from Macao and seven dense graphs are used to verify the performance of IDJaya. Maps of Macao are given from ArcMap 10.2, and dense ones are generated at random. The sizes of actual instances arrange from 82 nodes and 135 edges to 1281 nodes and 1822 edges. Dense graphs arrange from 82 nodes and 676 edges to 1281 nodes and 151,397 edges. They are generated by ArcMap based on real road networks and with the same nodes as real road networks. All graphs have only non-negative costs. The algorithms devised in this paper are implemented in IDEA 2018.3 (the programming language is Java). We conduct the experiments on a laptop running Microsoft Windows 10 with an Intel/2.5 GHz Core (TM) i5-7300HQ CPU, 8 GB of RAM, and 1 TB of hard disk.
IDJaya is compared with typical Dijkstra [16] and very recent methods based on ant colony optimization (ACO) [31,66,67]. This work selects an improved ACO in [31] for comparison. Similarly, it also uses a swarm intelligence algorithm to solve the SPP, which is the latest and most relevant research to our work. The quality and running time of solutions are used to evaluate the performance of an algorithm. The solution quality is defined as follows:
ζ = 1 c c ˇ c ˇ
where ζ is the quality of the solutions. The longer the path, the smaller the value. c and c ˇ represent the cost of a path and the shortest path, respectively.
DA is parameter-free, IDJaya has two parameters, and ACO has five main parameters. IDJaya has the least number of super-parameters among all the meta-heuristic algorithms. Its two parameters are easy to determine. Increasing them tends to improve the quality of its solutions but takes more calculation time. Increasing the maximal iteration count may not necessarily improve the quality of solutions since IDJaya may fall into a local/global optimum. The increase in population size can effectively reduce the possibility of IDJaya falling into a local optimum. We set K = 50 and I ^ = 1000 in our experiment. The values of these parameters are determined based on some tests; acceptable near-optimal solutions can be obtained without spending a lot of running time. All instances are executed 50 times, and the averages are retained and compared.

4.2.2. Algorithm Performance

Experiments are carried out on real road networks and dense graphs, respectively. We randomly assign connections to generate dense graphs corresponding to real road networks, which have the same number of nodes. IDJaya, DJaya, Dijkstra algorithm (DA), and ACO are compared in terms of running time and accuracy. Note that DA always finds the shortest path as an exact algorithm. The results are reported in Table 7, Table 8, Table 9 and Table 10. DJaya is an original discrete Jaya algorithm.
It can be seen from Table 7 that IDJaya and DJaya are always superior to DA in running time, and their advantage is increasing with the expansion of the network scale. The running times of IDJaya and DJaya are half of the DA when there are 82 nodes. When the number of nodes is 1281, their running time is only about one-seventh of the latter. Similarly, compared with ACO, our methods can give solutions of higher accuracy faster. DJaya’s running time is slightly less than IDJaya's since IDJaya runs a local search algorithm to increase accuracy. Figure 5 shows that their advantages in terms of calculation time become more and more significant as network size increases. As shown in Table 8, IDJaya and DJaya can always find the shortest paths in the first four instances. They both find the same near-optimal path in the fifth instance. The accuracy of IDJaya becomes more advantageous compared with DJaya and ACO as the network scale increases. Significantly, IDJaya can easily adjust parameters, and users can adjust them according to the SPP’s characteristics. Accuracy can be improved by increasing population size and iterations to meet higher accuracy requirements at the cost of longer running time.
We use high-density networks in Table 9 and Table 10. Similarly, IDJaya takes much less running time than DA and ACO and a bit more than DJaya. The increase in edges has a more significant impact on the calculation time of DA and ACO. The running time spent by IDJaya in dense graphs increases by only a tiny fraction compared to real road networks. Its solution accuracy has decreased but not significantly, falling within an acceptable range. The sixth instance is less accurate than the seventh at the maximum value of accuracy since IDJaya, as a meta-heuristic algorithm, is stuck at a local optimum at running and cannot find a better solution. This locally optimal solution is produced with some randomness. It is possible to obtain a better result in a more complex network.
In Figure 6, the running time of the three algorithms applied to different network types is compared. The increase in the number of edges has little effect on the running time of our algorithm, and DA needs to spend extra time dealing with massive edges. ACO is less affected than DA. As can be seen from the trend in Figure 6, as the number of nodes increases, the impact of the network density on running time is minimal for IDJaya. The time complexity of IDJaya also supports this result. Its time complexity is O( I ^ cK), and thus IDJaya has good performance on density graphs.
As shown in Table 11, the main ideas of IDJaya are introduced. Compared to existing heuristic algorithms, IDJaya is simpler and easier to implement since we only need to set two parameters for it. In the process of solving the SPP, just two equations need to be used to generate new solutions. IDJaya’s time complexity is O( I ^ cK), while the compared approach is O(n2). It can be seen that IDJaya’s time complexity is mainly affected by the maximal iteration count ( I ^ ) and population size (K). When a network is large, the number of nodes far exceeds I ^ and K; thus IDJaya has an advantage in terms of running time.

5. Conclusions

The SPP is a combinatorial optimization problem widely seen in various engineering applications, especially transportation-related processes. To use the Jaya to solve the SPP, we have to discretize it and improve a generation strategy to make it suitable for the SPP. In this work, we successfully design an improved discrete Jaya algorithm to solve the SPP. We first adjust the discrete Jaya algorithm in [57], and a new solution generation strategy is given to make it suitable for the SPP. Then, we present a local search algorithm to increase the accuracy of this proposed method. The proposed IDJaya has the characteristics of short running time and excellent accuracy validated in many experiments with network sizes ranging from 82 to 1281 nodes. Computational results on seven real road networks and corresponding density graphs demonstrate that the proposed algorithm can yield high-quality solutions for the SPP with up to 1281 nodes and 151,397 edges in a short time. It should be noted that IDJaya performs very well in dense graphs. The results of its time complexity analysis show that increasing the number of edges has little influence on it.
Our future work plans to improve IDJaya further to obtain more accurate results and further explore its performance in large-scale networks [68]. IDJaya has the potential to be extended to solve other path problems, such as the constrained SPP and path planning problems in dynamic and 3-D networks. Its combination with recent deep learning methods [69,70,71,72,73] should be investigated to handle large-scale processes and systems [74,75,76,77,78,79,80,81,82,83,84]. Additionally, we are interested in considering the application of IDJaya to practical scenarios, i.e., industrial robots [39,40,41], automatic guided vehicle (AGV) [85,86], autonomous driving [87], resource scheduling [88,89] and multi-agent systems [77,90,91,92,93].

Author Contributions

Conceptualization, algorithm realization, and original draft preparation by R.W.; Result analysis, research supervision, and paper review and editing by M.Z. and K.G.; paper revision by J.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available in a publicly accessible repository.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

The following abbreviations are used in this manuscript:
SymbolDescription
VA set of nodes
EA set of edges
PA set of paths
vii-th node
eijAn edge between nodes vi and vj
pijA path form node vi to node vj
CijCost of pij
cijCost of eij
{p}A set of all nodes along that path
Y j , k , i The value of the j-th variable for the k-th candidate in the i-th iteration
Y j , b e s t , i The value of the j-th variable for the best candidate in the i-th iteration
Y j , w o r s t , i The value of the j-th variable for the worst candidate in the i-th iteration
Y   j , k , i The   updated   value   of   Y j , k , i
RA random number in [0, 1]
v j , k , i The j-th node on the k-th path of the i-th iteration
v j , b e s t , i The j-th node on the best path of the i-th iteration
v j , w o r s t , i The j-th node on the worst path of the i-th iteration
v j , r a n d o m , i The j-th node randomly generated of the i-th iteration
v j , k , i An   updated   node   of   v j , k , i
p k An updated path of the k-th path
nNumber of nodes
mNumber of edges
INumber of iterations
I ^ Maximal iteration count
KPopulation size
cNumber of nodes on a path with the most nodes
ζQuality of solutions.
x i j A   binary   decision   variable .   When   a   path   passes   through   e ij ,   x i j = 1 ;   otherwise ,   x i j = 0
riA binary decision variable that has one and only one term equal to 1 from r1 to r4
φ ~ j , k , i / φ ˇ j , k , i / φ ^ j , k , i A binary decision variable. When a newly generated node is not in the original path, it is zero; otherwise, one

References

  1. Owais, M.; Alshehri, A. Pareto Optimal Path Generation Algorithm in Stochastic Transportation Networks. IEEE Access 2020, 8, 58970–58981. [Google Scholar] [CrossRef]
  2. Jin, Y.; Xu, J.; Wu, S.; Xu, L.; Yang, D. Enabling the Wireless Charging via Bus Network: Route Scheduling for Electric Vehicles. IEEE Trans. Intell. Transp. Syst. 2020, 22, 1827–1839. [Google Scholar] [CrossRef]
  3. Wang, R.; Zhou, M.; Gao, K.; Alabdulwahab, A.; Rawa, M.J. Personalized Route Planning System Based on Driver Preference. Sensors 2021, 22, 11. [Google Scholar] [CrossRef] [PubMed]
  4. Kuperstein, I.; Grieco, L.; Cohen, D.P.; Thieffry, D.; Zinovyev, A.; Barillot, E. The shortest path is not the one you know: Application of biological network resources in precision oncology research. Mutagenesis 2015, 30, 191–204. [Google Scholar] [CrossRef] [Green Version]
  5. Borkar, V.S.; Reiffers-Masson, A. Opinion Shaping in Social Networks Using Reinforcement Learning. IEEE Trans. Control. Netw. Syst. 2021, 9, 1305–1316. [Google Scholar] [CrossRef]
  6. Rao, C.S.; Tunga, S.; Kumar, A. Analysis of High-Speed Design on a Multilayer PCB Substrate. In Proceedings of the 2021 International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT), Bangalore, India, 27–28 August 2021; pp. 713–717. [Google Scholar] [CrossRef]
  7. Gao, Z.; Qin, J.; Wang, S.; Wang, Y. Boundary Gap Based Reactive Navigation in Unknown Environments. IEEE/CAA J. Autom. Sin. 2021, 8, 468–477. [Google Scholar] [CrossRef]
  8. Huang, L.; Zhou, M.; Hao, K. Non-Dominated Immune-Endocrine Short Feedback Algorithm for Multi-Robot Maritime Patrolling. IEEE Trans. Intell. Transp. Syst. 2019, 21, 362–373. [Google Scholar] [CrossRef]
  9. Hu, B.; Cao, Z.; Zhou, M. An Efficient RRT-Based Framework for Planning Short and Smooth Wheeled Robot Motion Under Kinodynamic Constraints. IEEE Trans. Ind. Electron. 2020, 68, 3292–3302. [Google Scholar] [CrossRef]
  10. Li, B.; Chen, B. An Adaptive Rapidly Exploring Random Tree. IEEE/CAA J. Autom. Sin. 2021, 9, 283–294. [Google Scholar] [CrossRef]
  11. Chen, L.; Hu, Z.; Zhang, F.; Guo, Z.; Jiang, K.; Pan, C.; Ding, W. Remote Wind Farm Path Planning for Patrol Robot Based on the Hybrid Optimization Algorithm. Processes 2022, 10, 2101. [Google Scholar] [CrossRef]
  12. Zhang, H.; Ge, Y.; Sun, C.; Zeng, H.; Liu, N. Picking Path Planning Method of Dual Rollers Type Safflower Picking Robot Based on Improved Ant Colony Algorithm. Processes 2022, 10, 1213. [Google Scholar] [CrossRef]
  13. Wang, B.; Wang, J.; Huang, Z.; Zhou, W.; Zheng, X.; Qi, S. Motion Planning of an Inchworm Robot Based on Improved Adaptive PSO. Processes 2022, 10, 1675. [Google Scholar] [CrossRef]
  14. Li, Z.; Wu, X.; Zhang, S.; Min, L.; Feng, Y.; Hang, Z.; Shi, L. Energy Storage Charging Pile Management Based on Internet of Things Technology for Electric Vehicles. Processes 2023, 11, 1561. [Google Scholar] [CrossRef]
  15. Karunanidy, D.; Ramalingam, R.; Dumka, A.; Singh, R.; Alsukayti, I.; Anand, D.; Hamam, H.; Ibrahim, M. An Intelligent Optimized Route-Discovery Model for IoT-Based VANETs. Processes 2021, 9, 2171. [Google Scholar] [CrossRef]
  16. Dijkstra, E.W. A note on two problems in connexion with graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef] [Green Version]
  17. Zhu, D.-D.; Sun, J.-Q. A New Algorithm Based on Dijkstra for Vehicle Path Planning Considering Intersection Attribute. IEEE Access 2021, 9, 19761–19775. [Google Scholar] [CrossRef]
  18. Edmonds, N.; Breuer, A.; Gregor, D.; Lumsdaine, A. Single-Source Shortest Paths with the Parallel Boost Graph Library. Shortest Path Problem 2009, 74, 219–248. [Google Scholar] [CrossRef] [Green Version]
  19. Floyd, R.W. Algorithm 97: Shortest path. Commun. ACM 1962, 5, 345.S. [Google Scholar] [CrossRef]
  20. Wang, S.; Liu, B.; Liu, W.; Hu, C.; Tang, Y.; Yang, J. Research on the Shortest Path for Crossing Desert Based on Floyd Algorithm. In Proceedings of the 2021 IEEE 3rd International Conference on Frontiers Technology of Information and Computer (ICFTIC), Greenville, SC, USA, 12–14 November 2021. [Google Scholar]
  21. Dreyfus, S.E. An Appraisal of Some Shortest-Path Algorithms. Oper. Res. 1969, 17, 395–412. [Google Scholar] [CrossRef]
  22. Hart, P.E.; Nilsson, N.J.; Raphael, B. A Formal Basis for the Heuristic Determination of Minimum Cost Paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef]
  23. Tang, G.; Tang, C.; Claramunt, C.; Hu, X.; Zhou, P. Geometric A-Star Algorithm: An Improved A-Star Algorithm for AGV Path Planning in a Port Environment. IEEE Access 2021, 9, 59196–59210. [Google Scholar] [CrossRef]
  24. Otte, M.; Correll, N. C-FOREST: Parallel Shortest Path Planning with Superlinear Speedup. IEEE Trans. Robot. 2013, 29, 798–806. [Google Scholar] [CrossRef]
  25. Zhang, J.; Zhao, X.; He, X. A Minimum Resource Neural Network Framework for Solving Multiconstraint Shortest Path Problems. IEEE Trans. Neural Netw. Learn. Syst. 2014, 25, 1566–1582. [Google Scholar] [CrossRef] [PubMed]
  26. Jan, G.E.; Sun, C.-C.; Tsai, W.C.; Lin, T.-H. An O(nlogn) Shortest Path Algorithm Based on Delaunay Triangulation. IEEE/ASME Trans. Mechatron. 2013, 19, 660–666. [Google Scholar] [CrossRef]
  27. Lei, G.; Dou, Y.; Li, R.; Xia, F. An FPGA Implementation for Solving the Large Single-Source-Shortest-Path Problem. IEEE Trans. Circuits Syst. II Express Briefs 2015, 63, 473–477. [Google Scholar] [CrossRef]
  28. Wang, Y.; Li, X.; Ruiz, R. An Exact Algorithm for the Shortest Path Problem with Position-Based Learning Effects. IEEE Trans. Syst. Man Cybern. Syst. 2016, 47, 3037–3049. [Google Scholar] [CrossRef]
  29. Huang, W.; Zhang, Y.; Shang, Z.; Yu, J.X. To Meet or Not to Meet: Finding the Shortest Paths in Road Networks. IEEE Trans. Knowl. Data Eng. 2017, 30, 772–785. [Google Scholar] [CrossRef]
  30. Li, Z.; Ji, L.; Huang, R.; Liu, S. Improving centralized path calculation based on graph compression. China Commun. 2018, 15, 120–124. [Google Scholar] [CrossRef]
  31. Yang, L.; Li, D.; Tan, R. Research on the Shortest Path Solution Method of Interval Valued Neutrosophic Graphs Based on the Ant Colony Algorithm. IEEE Access 2020, 8, 88717–88728. [Google Scholar] [CrossRef]
  32. Krauss, T.; McCollum, J. Solving the Network Shortest Path Problem on a Quantum Annealer. IEEE Trans. Quantum Eng. 2020, 1, 1–12. [Google Scholar] [CrossRef]
  33. Liu, H.; Jin, C.; Yang, B.; Zhou, A. Finding Top-k Shortest Paths with Diversity. IEEE Trans. Knowl. Data Eng. 2017, 30, 488–502. [Google Scholar] [CrossRef]
  34. Sidoti, D.; Avvari, G.V.; Mishra, M.; Zhang, L.; Nadella, B.K.; Peak, J.E.; Hansen, J.A.; Pattipati, K.R. A Multiobjective Path-Planning Algorithm with Time Windows for Asset Routing in a Dynamic Weather-Impacted Environment. IEEE Trans. Syst. Man Cybern. Syst. 2016, 47, 3256–3271. [Google Scholar] [CrossRef]
  35. Meng, X.; Li, J.; Zhou, M.; Dai, X.; Dou, J. Population-Based Incremental Learning Algorithm for a Serial Colored Traveling Salesman Problem. IEEE Trans. Syst. Man Cybern. Syst. 2016, 48, 277–288. [Google Scholar] [CrossRef]
  36. Xu, X.; Li, J.; Zhou, M. Delaunay-Triangulation-Based Variable Neighborhood Search to Solve Large-Scale General Colored Traveling Salesman Problems. IEEE Trans. Intell. Transp. Syst. 2020, 22, 1583–1593. [Google Scholar] [CrossRef]
  37. Li, J.; Zhou, M.; Sun, Q.; Dai, X.; Yu, X. Colored Traveling Salesman Problem. IEEE Trans. Cybern. 2014, 45, 2390–2401. [Google Scholar] [CrossRef] [PubMed]
  38. Xu, X.; Li, J.; Zhou, M. Bi-Objective Colored Traveling Salesman Problems. IEEE Trans. Intell. Transp. Syst. 2021, 23, 6326–6336. [Google Scholar] [CrossRef]
  39. Blatnický, M.; Dižo, J.; Sága, M.; Gerlici, J.; Kuba, E. Design of a Mechanical Part of an Automated Platform for Oblique Manipulation. Appl. Sci. 2020, 10, 8467. [Google Scholar] [CrossRef]
  40. Kuric, I.; Tlach, V.; Ságová, Z.; Císar, M.; Gritsuk, I. Measurement of industrial robot pose repeatability. MATEC Web Conf. 2018, 244, 01015. [Google Scholar] [CrossRef] [Green Version]
  41. Božek, P.; Ivandić, Ž.; Lozhkin, A.; Lyalin, V.; Tarasov, V. Solutions to the characteristic equation for industrial robot’s elliptic trajectories. Teh. Vjesn. Tech. Gaz. 2016, 23, 1017–1023. [Google Scholar] [CrossRef]
  42. Chen, B.Y.; Lam, W.H.K.; Li, Q.; Sumalee, A.; Yan, K. Shortest Path Finding Problem in Stochastic Time-Dependent Road Networks with Stochastic First-In-First-Out Property. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1907–1917. [Google Scholar] [CrossRef]
  43. Feng, G.; Korkmaz, T. Finding Multi-Constrained Multiple Shortest Paths. IEEE Trans. Comput. 2014, 64, 2559–2572. [Google Scholar] [CrossRef]
  44. Talebi, M.S.; Zou, Z.; Combes, R.; Proutiere, A.; Johansson, M. Stochastic Online Shortest Path Routing: The Value of Feedback. IEEE Trans. Autom. Control 2017, 63, 915–930. [Google Scholar] [CrossRef] [Green Version]
  45. Chemodanov, D.; Esposito, F.; Calyam, P.; Sukhov, A. A Constrained Shortest Path Scheme for Virtual Network Service Management. IEEE Trans. Netw. Serv. Manag. 2018, 16, 127–142. [Google Scholar] [CrossRef]
  46. Li, Y.; Zhang, H.; Zhu, H.; Li, J.; Yan, W.; Wu, Y. IBAS: Index Based A-Star. IEEE Access 2018, 6, 11707–11715. [Google Scholar] [CrossRef]
  47. Ganganath, N.; Cheng, C.-T.; Fernando, T.; Iu, H.H.C.; Tse, C.K. Shortest Path Planning for Energy-Constrained Mobile Platforms Navigating on Uneven Terrains. IEEE Trans. Ind. Inform. 2018, 14, 4264–4272. [Google Scholar] [CrossRef]
  48. Su, Z.; Zhang, J.; Lu, Z. A Multi-Stage Metaheuristic Algorithm for Shortest Simple Path Problem with Must-Pass Nodes. IEEE Access 2019, 7, 52142–52154. [Google Scholar] [CrossRef]
  49. Kou, C.; Hu, D.; Yuan, J.; Ai, W. Bisection and Exact Algorithms Based on the Lagrangian Dual for a Single-Constrained Shortest Path Problem. IEEE/ACM Trans. Netw. 2019, 28, 224–233. [Google Scholar] [CrossRef]
  50. Jie, K.W.; Zhao, G.C.; Sun, X.J. The Shortest Path Problem and Its Critical Edge in Uncertain Environment. IEEE Access 2019, 7, 154414–154423. [Google Scholar] [CrossRef]
  51. Binh, H.T.T.; Thanh, P.D.; Thang, T.B. New approach to solving the clustered shortest-path tree problem based on reducing the search space of evolutionary algorithm. Knowl. Based Syst. 2019, 180, 12–25. [Google Scholar] [CrossRef] [Green Version]
  52. Liu, X.-H.; Zhang, D.-G.; Yan, H.-R.; Cui, Y.-Y.; Chen, L. A New Algorithm of the Best Path Selection Based on Machine Learning. IEEE Access 2019, 7, 126913–126928. [Google Scholar] [CrossRef]
  53. Xiong, J.; Qi, X.; Fu, Z.; Zha, W. Split Demand One-to-One Pickup and Delivery Problems with the Shortest-Path Transport Along Real-Life Paths. IEEE Access 2020, 8, 150539–150554. [Google Scholar] [CrossRef]
  54. Thanh, P.D.; Binh, H.T.T.; Trung, T.B. An efficient strategy for using multifactorial optimization to solve the clustered shortest path tree problem. Appl. Intell. 2020, 50, 1233–1258. [Google Scholar] [CrossRef]
  55. Cosma, O.; Pop, P.C.; Zelina, I. An Effective Genetic Algorithm for Solving the Clustered Shortest-Path Tree Problem. IEEE Access 2021, 9, 15570–15591. [Google Scholar] [CrossRef]
  56. Guo, J.; Gao, K.; Wang, C.; Sang, H.; Li, J.; Duan, P. Discrete Jaya Algorithm for Solving Flexible Job Shop Rescheduling Problem. In Proceedings of the 2017 29th Chinese Control And Decision Conference (CCDC), Chongqing, China, 28–30 May 2017; pp. 6010–6015. [Google Scholar] [CrossRef]
  57. Gao, K.; Sadollah, A.; Zhang, Y.; Su, R.; Li, K.G.J. Discrete Jaya Algorithm for Flexible Job Shop Scheduling Problem with New Job Insertion. In Proceedings of the 2016 14th International Conference on Control, Automation, Robotics and Vision (ICARCV), Phuket, Thailand, 13–15 November 2016; pp. 1–5. [Google Scholar] [CrossRef]
  58. Rao, R.V. Jaya: A Simple and New Optimization Algorithm for Solving Constrained and Unconstrained Optimization Problems. Int. J. Ind. Eng. Comput. 2016, 7, 19–34. [Google Scholar] [CrossRef]
  59. Motamarri, R.; Bhookya, N. JAYA Algorithm Based on Lévy Flight for Global MPPT Under Partial Shading in Photovoltaic System. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 9, 4979–4991. [Google Scholar] [CrossRef]
  60. Mujeeb, S.; Javaid, N.; Ahmed, A.; Gulfam, S.M.; Qasim, U.; Shafiq, M.; Choi, J.-G. Electricity Theft Detection with Automatic Labeling and Enhanced RUSBoost Classification Using Differential Evolution and Jaya Algorithm. IEEE Access 2021, 9, 128521–128539. [Google Scholar] [CrossRef]
  61. Elgebaly, A.E.; Taha, I.B.M.; Azmy, A.M.; El-Ghany, H.A.A. Optimal Design and Control of SSSCs for TLs Considering Technical and Economic Indices Using GA and SAMPE-JAYA Algorithms. IEEE Access 2021, 9, 38907–38919. [Google Scholar] [CrossRef]
  62. Le, T.-L.; Quynh, N.V.; Long, N.K.; Hong, S.K. Multilayer Interval Type-2 Fuzzy Controller Design for Quadcopter Unmanned Aerial Vehicles Using Jaya Algorithm. IEEE Access 2020, 8, 181246–181257. [Google Scholar] [CrossRef]
  63. Zhang, X.; Mu, R.; Chen, K.; Yang, Y.; Chen, Y. Intelligent Hough Transform with Jaya to Detect the Diameter of Red-Hot Circular Workpiece. IEEE Sens. J. 2020, 21, 560–567. [Google Scholar] [CrossRef]
  64. Gao, K.; Yang, F.; Zhou, M.; Pan, Q.; Suganthan, P.N. Flexible Job-Shop Rescheduling for New Job Insertion by Using Discrete Jaya Algorithm. IEEE Trans. Cybern. 2018, 49, 1944–1955. [Google Scholar] [CrossRef]
  65. Gao, K.; Zhang, Y.; Su, R.; Yang, F.; Suganthan, P.N.; Zhou, M. Solving Traffic Signal Scheduling Problems in Heterogeneous Traffic Network by Using Meta-Heuristics. IEEE Trans. Intell. Transp. Syst. 2018, 20, 3272–3282. [Google Scholar] [CrossRef]
  66. Xiang, X.; Tian, Y.; Zhang, X.; Xiao, J.; Jin, Y. A Pairwise Proximity Learning-Based Ant Colony Algorithm for Dynamic Vehicle Routing Problems. IEEE Trans. Intell. Transp. Syst. 2021, 23, 5275–5286. [Google Scholar] [CrossRef]
  67. Luan, W.; Liu, G.; Jiang, C.; Zhou, M. MPTR: A Maximal-Marginal-Relevance-Based Personalized Trip Recommendation Method. IEEE Trans. Intell. Transp. Syst. 2018, 19, 3461–3474. [Google Scholar] [CrossRef]
  68. Goldberg, A.V.; Johnson, D.S.; Demetrescu, C. (Eds.) The Shortest Path Problem: Ninth DIMACS Implementation Challenge, ser; DIMACS Book; AMS: Providence, RI, USA, 2009; Volume 74. [Google Scholar]
  69. Liu, H.; Chatterjee, I.; Zhou, M.; Lu, X.S.; Abusorrah, A. Aspect-Based Sentiment Analysis: A Survey of Deep Learning Methods. IEEE Trans. Comput. Soc. Syst. 2020, 7, 1358–1375. [Google Scholar] [CrossRef]
  70. Zhang, P.; Huang, W.; Chen, Y.; Zhou, M.; Al-Turki, Y. A Novel Deep-Learning-Based QoS Prediction Model for Service Recommendation Utilizing Multi-Stage Multi-Scale Feature Fusion with Individual Evaluations. IEEE Trans. Autom. Sci. Eng. 2023, 1–14. [Google Scholar] [CrossRef]
  71. Zhang, Z.; Liu, H.; Zhou, M.; Wang, J. Solving Dynamic Traveling Salesman Problems with Deep Reinforcement Learning. IEEE Trans. Neural Netw. Learn. Syst. 2021, 34, 2119–2132. [Google Scholar] [CrossRef]
  72. Liu, G.; Zhang, R.; Wang, Y.; Man, R. Road Scene Recognition of Forklift AGV Equipment Based on Deep Learning. Processes 2021, 9, 1955. [Google Scholar] [CrossRef]
  73. Huang, X.; Zeng, X.; Wu, Q.; Lu, Y.; Huang, X.; Zheng, H. Face Verification Based on Deep Learning for Person Tracking in Hazardous Goods Factories. Processes 2022, 10, 380. [Google Scholar] [CrossRef]
  74. Liu, Z.; Wei, H.; Wang, H.; Li, H.; Wang, H. Integrated Task Allocation and Path Coordination for Large-Scale Robot Networks with Uncertainties. IEEE Trans. Autom. Sci. Eng. 2021, 19, 2750–2761. [Google Scholar] [CrossRef]
  75. Li, C.; He, W.; Yao, H.; Mai, T.; Wang, J.; Guo, S. Knowledge Graph Aided Network Representation and Routing Algorithm for LEO Satellite Networks. IEEE Trans. Veh. Technol. 2022, 72, 5195–5207. [Google Scholar] [CrossRef]
  76. Zhang, C.; Zhang, S.; Zou, X.; Yu, S.; Yu, J.J.Q. Toward Large-Scale Graph-Based Traffic Forecasting: A Data-Driven Network Partitioning Approach. IEEE Internet Things J. 2022, 10, 4506–4519. [Google Scholar] [CrossRef]
  77. Liu, Z.; Zuo, X.; Zhou, M.; Guan, W.; Al-Turki, Y. Electric Vehicle Routing Problem with Variable Vehicle Speed and Soft Time Windows for Perishable Product Delivery. IEEE Trans. Intell. Transp. Syst. 2023, 24, 1–13. [Google Scholar] [CrossRef]
  78. Wang, K.; An, J.; Zhou, M.; Shi, Z.; Shi, X.; Kang, Q. Minority-Weighted Graph Neural Network for Imbalanced Node Classification in Social Networks of Internet of People. IEEE Internet Things J. 2022, 10, 330–340. [Google Scholar] [CrossRef]
  79. Zhao, Q.; Li, G.; Cai, J.; Zhou, M.; Feng, L. A Tutorial on Internet of Behaviors: Concept, Architecture, Technology, Applications, and Challenges. IEEE Commun. Surv. Tutor. 2023, 25, 1227–1260. [Google Scholar] [CrossRef]
  80. Zhao, Z.; Yang, Z.; Li, C.; Zeng, Q.; Guan, W.; Zhou, M. Dual Feature Interaction-Based Graph Convolutional Network. IEEE Trans. Knowl. Data Eng. 2022, 35, 9019–9030. [Google Scholar] [CrossRef]
  81. Zhou, Y.; Kou, Y.; Zhou, M. Bilevel Memetic Search Approach to the Soft-Clustered Vehicle Routing Problem. Transp. Sci. 2023, 57, 701–716. [Google Scholar] [CrossRef]
  82. Zhou, Y.; Wang, G.; Zhou, M. Detecting $k$-Vertex Cuts in Sparse Networks via a Fast Local Search Approach. IEEE Trans. Comput. Soc. Syst. 2023, 1–10. [Google Scholar] [CrossRef]
  83. Zhou, Y.; Xu, W.; Zhou, M.; Fu, Z.H. Bi-Trajectory Hybrid Search to Solve Bottleneck-Minimized Colored Traveling Salesman Problems. IEEE Trans. Autom. Sci. Eng. 2023, 1–11. [Google Scholar] [CrossRef]
  84. Zhou, Y.; Xu, W.; Fu, Z.H.; Zhou, M. Multi-Neighborhood Simulated Annealing-Based Iterated Local Search for Colored Traveling Salesman Problems. IEEE Trans. Intell. Transp. Syst. 2022, 23, 16072–16082. [Google Scholar] [CrossRef]
  85. Wu, N.; Zhou, M. Modeling and deadlock avoidance of automated manufacturing systems with multiple automated guided vehicles. IEEE Trans. Syst. Man Cybern. Part B 2005, 35, 1193–1202. [Google Scholar] [CrossRef]
  86. Zhen, L.; Li, H. A literature review of smart warehouse operations management. Front. Eng. Manag. 2022, 9, 31–55. [Google Scholar] [CrossRef]
  87. Claussmann, L.; Revilloud, M.; Gruyer, D.; Glaser, S. A Review of Motion Planning for Highway Autonomous Driving. IEEE Trans. Intell. Transp. Syst. 2019, 21, 1826–1848. [Google Scholar] [CrossRef] [Green Version]
  88. Huang, B.; Zhou, M.; Lu, X.S.; Abusorrah, A. Scheduling of Resource Allocation Systems with Timed Petri Nets: A Survey. ACM Comput. Surv. 2023, 55, 230. [Google Scholar] [CrossRef]
  89. Yuan, H.; Zhou, M. Profit-Maximized Collaborative Computation Offloading and Resource Allocation in Distributed Cloud and Edge Computing Systems. IEEE Trans. Autom. Sci. Eng. 2020, 18, 1277–1287. [Google Scholar] [CrossRef]
  90. Zhang, J.; Lu, Y.; Wu, Y.; Wang, C.; Zang, D.; Abusorrah, A.; Zhou, M. PSO-Based Sparse Source Location in Large-Scale Environments with a UAV Swarm. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5249–5258. [Google Scholar] [CrossRef]
  91. Han, S.; Zhu, K.; Zhou, M.; Liu, X. Joint Deployment Optimization and Flight Trajectory Planning for UAV Assisted IoT Data Collection: A Bilevel Optimization Approach. IEEE Trans. Intell. Transp. Syst. 2022, 23, 21492–21504. [Google Scholar] [CrossRef]
  92. Huang, L.; Zhou, M.; Hao, K.; Han, H. Multirobot Cooperative Patrolling Strategy for Moving Objects. IEEE Trans. Syst. Man Cybern. Syst. 2022, 53, 2995–3007. [Google Scholar] [CrossRef]
  93. Jin, L.; Liang, S.; Luo, X.; Zhou, M. Distributed and Time-Delayed-Winner-Take-All Network for Competitive Coordination of Multiple Robots. IEEE Trans. Cybern. 2023, 53, 641–652. [Google Scholar] [CrossRef]
Figure 1. Proposed method [57,58].
Figure 1. Proposed method [57,58].
Processes 11 02447 g001
Figure 2. A small network for introducing the SPP.
Figure 2. A small network for introducing the SPP.
Processes 11 02447 g002
Figure 3. IDJaya.
Figure 3. IDJaya.
Processes 11 02447 g003
Figure 4. Simple example of a network.
Figure 4. Simple example of a network.
Processes 11 02447 g004
Figure 5. Average computational time of Dijkstra, ACO, and IDJaya for real road networks.
Figure 5. Average computational time of Dijkstra, ACO, and IDJaya for real road networks.
Processes 11 02447 g005
Figure 6. (a) Average computational time of the Dijkstra algorithm; (b) average computational time of ACO; and (c) average computational time of IDJaya in dense graphs.
Figure 6. (a) Average computational time of the Dijkstra algorithm; (b) average computational time of ACO; and (c) average computational time of IDJaya in dense graphs.
Processes 11 02447 g006
Table 1. IDJaya.
Table 1. IDJaya.
   Input: Origin O, Destination D, Road network G, Population size K, Maximal iteration count I ^
   Output: The shortest path
1. Calculate { COD }O(cK)
2. Obtain the best value of f(x) (i.e., (COD)best) and the worst value of f(x) (i.e., (COD)worst)O(K)
3. for i = 1 to I ^ (-)
4. for k = 1 to K(-)
5.       for j = 1 to c(-)
6.          v j , k , i = φ ~ j , k , i r 1 v j , k , i + φ ˇ j , b e s t , i r 2 v j , b e s t , i + φ ^ j , w o r s t , i r 3 v j , w o r s t , i + r 4 v j , r a n d o m , i O(4 I ^ cK)
7.       end for(-)
8.        R k ← { v j , k , i }O( I ^ cK)
9.       Pk← Local search ( R k )O(n I ^ cK)
10. end for(-)
11. {Rk} ← min{Rk, R k , Pk}O(2 I ^ K )
12. end for(-)
13. output max C{Rk}(-)
Table 2. Initial paths and the corresponding C.
Table 2. Initial paths and the corresponding C.
AlternatePathC1-11Status
11-2-5-8-1115best
21-6-5-2-3-4-9-10-1129worst
31-2-3-4-9-10-1121
Table 3. New paths and the corresponding C during first iteration.
Table 3. New paths and the corresponding C during first iteration.
AlternatePathC1-11
11-6-5-8-1115
21-6-7-1113
31-2-5-4-9-10-1121
Table 4. Final paths and the corresponding C at the end of first iteration.
Table 4. Final paths and the corresponding C at the end of first iteration.
AlternatePathC1-11Status
11-2-5-8-1115worst
21-6-5-8-1115
31-6-7-1113best
Table 5. New paths and the corresponding C during second iteration.
Table 5. New paths and the corresponding C during second iteration.
AlternatePathC1-11
11-2-3-4-5-8-1121
21-2-5-8-1115
31-6-7-1113
Table 6. Final paths and the corresponding C at the end of second iteration.
Table 6. Final paths and the corresponding C at the end of second iteration.
AlternatePathC1-11Status
11-6-7-1113best
21-6-5-8-1115worst
31-6-7-1113
Table 7. Running time of all compared algorithms in real networks.
Table 7. Running time of all compared algorithms in real networks.
InstancesRunning Time (ms)
nmDijkstra [16]ACO [31]DJayaIDJaya
MinAvgSDMinAvgSDMinAvgSDMinAvgSD
8213552.760.413.475.385.06.522.533.77.423.635.96.3
20328864.371.815.993.9102.17.331.242.79.835.950.46.9
443621248.7279.110.7116.7127.49.867.087.513.678.496.17.9
633900494.9554.820.4129156.92597.1126.419.9101.5134.314.1
8601219919.51000.827.5225.8257.624.4142.3180.128.6173.7205.818.4
103714701408.5144416.5496.4553.929.8180.7219.330.1198.1253.224.7
128118222127.32215.437.6947.81059.749.9247.8307.242.3287.1359.827.2
Table 8. Accuracy of all compared algorithms in real networks.
Table 8. Accuracy of all compared algorithms in real networks.
InstancesAccuracy
nmDijkstra [16]ACO [31]DJayaIDJaya
AvgMaxAvgSDMinAvgSDMaxAvgSD
82135100%100%100%-100%100%-100%100%-
203288100%100%100%-100%100%-100%100%-
443621100%99.1%97.1%1.8%100%100%-100%100%-
633900100%98.2%95.6%1.4%100%100%-100%100%-
8601219100%94.8%93.5%1.8%99.3%98.6%0.6%100%98.6%0.6%
10371470100%93.0%90.2%1.6%98.9%98.1%0.3%99.3%98.4%0.9%
12811822100%89.9%86.6%1.9%98.1%97.6%0.2%98.4%97.9%0.4%
Table 9. Running time of all compared algorithms in dense graphs.
Table 9. Running time of all compared algorithms in dense graphs.
InstancesRunning Time (ms)
nmDijkstra [16]ACO [31]DJayaIDJaya
MinAvgSDMinAvgSDMinAvgSDMinAvgSD
82128162.986.611.577.591.710.624.933.56.6320.937.115.0
203410593.8108.39.14100.2113.411.736.245.66.5842.259.513.1
44316,724359.8382.834.5121.2141.114.569.592.721.6287.7102.613.5
63335,891660.4732.538.8163.8186.115.5107.5137.723.24124.8150.218.7
86066,0121268.31382.357.6263.2298.719.5147.9187.530.01197.7228.722.8
1037106,3241907.61988.356.1594.8621.927.0194.3246.639.58264.5287.414.2
1281151,3972606.12749.782.11121.31202.954.7280.8324.429.61339.2398.135.2
Table 10. Accuracy of all compared algorithms in dense graphs.
Table 10. Accuracy of all compared algorithms in dense graphs.
InstancesAccuracy
nmDijkstra [16]ACO [31]DJayaIDJaya
AvgMaxAvgSDMinAvgSDMaxAvgSD
821281100%100%100%-100%100%-100%100%-
2034105100%100%98.7%1.0%100%100%-100%100%-
44316,724100%98.4%96.8%1.5%100%100%-100%100%-
63335,891100%97.5%95.0%1.1%99.6%99.5%0.1%100%100%-
86066,012100%94.4%92.4%1.7%99.0%98.0%0.6%99.3%98.5%0.6%
1037106,324100%91.2%87.5%2.3%97.4%96.8%0.4%98.0%97.4%0.3%
1281151,397100%87.4%82.9%2.6%97.0%96.1%0.4%98.5%97.2%0.9%
Table 11. Comparison of Different Approaches.
Table 11. Comparison of Different Approaches.
AlternateIDJayaDijkstra [16]ACO [31]
Main ideaIt always tries to move closer to the best solution and move away from the worst solution. Thus, the optimal solution is constantly approached.Finding the shortest path by accessing and updating the distance of all points from an origin.Mimicking ants’ foraging behavior. The shorter the path, the more pheromones. Eventually, the whole colony will converge on the optimal path.
Number of parameters2-6
Number of related equations225
Time complexityO( I ^ cK)O(n2)O(n2)
Solution qualityNear-optimal solution (over 97%)Optimal solutionSolution quality is worse than IDJaya
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, R.; Zhou, M.; Wang, J.; Gao, K. An Improved Discrete Jaya Algorithm for Shortest Path Problems in Transportation-Related Processes. Processes 2023, 11, 2447. https://doi.org/10.3390/pr11082447

AMA Style

Wang R, Zhou M, Wang J, Gao K. An Improved Discrete Jaya Algorithm for Shortest Path Problems in Transportation-Related Processes. Processes. 2023; 11(8):2447. https://doi.org/10.3390/pr11082447

Chicago/Turabian Style

Wang, Ren, Mengchu Zhou, Jinglin Wang, and Kaizhou Gao. 2023. "An Improved Discrete Jaya Algorithm for Shortest Path Problems in Transportation-Related Processes" Processes 11, no. 8: 2447. https://doi.org/10.3390/pr11082447

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop