Route Optimization Via Improved Ant Colony Algorithm With Graph Network
Route Optimization Via Improved Ant Colony Algorithm With Graph Network
Corresponding Author:
Patil N. Siddalingappa
Department of Information Science, Bapuji Institute of Engineering and Technology
Davangere, Karnataka, India
Email: patilns_12@[Link]
1. INTRODUCTION
Vehicle routing problem with time windows (VRPTW) has been a basic issue to transport goods
that are to be delivered within a time bandwidth is a trending topic for research in the upcoming years. This
task is elaborated as selecting routes for restricted number of vehicles to serve a group of customers in the
allotted time window. The vehicle has a specific capacity. It initially begins from the depot and ends at the
depot. All the customers are to be served exactly once. The main objective of the proposed system is to
reduce the total transport costs. This paper presents a transportation system for graph database to process the
required information. The databases used here demand information collected from all sources like vehicle
maps, and timetable, the path traversed from source to destination to incorporate the features to find an
optimal path, which will handle many users, to achieve efficiency to scale the system. Relationship between
the objects to integrate the primary constraints where a transport stops. To achieve efficiency to select a
particular algorithm in the form of a computer memory. Graph databases are chosen based on the concept of
structured query language (SQL). The possibility of storing a graph in a graph based system. To determine
the efficiency and scalability to use data integrity along with accessibility.
Int J Reconfigurable & Embedded Syst, Vol. 12, No. 3, November 2023: 403-413
Int J Reconfigurable & Embedded Syst ISSN:2089-4864 405
2. RELATED WORK
The multi-compartment electric vehicle routing problem (EVRP) with a soft time window and
multiple charging kinds is discussed here [16], [17] where electric multi-compartment cars are used that are
environmentally benign but require charging during the transportation process. The goal of this optimization
issue is to minimize the function composed of vehicle cost, distribution cost, time window penalty cost, and
billing service cost using a mathematical model. An estimation of the distribution algorithm based on Lévy
flight (EDA-LF) is presented to overcome this problem by doing a local search at each iteration to avoid the
algorithm from falling into a local optimum [18]. The EDA-LF method finds better solutions and is more
robust than the basic EDA algorithm, according to experimental results. A graph data model consists of data
structures [19], different constraints while implementing a task to perform connections in transport
environment. These databases refer to the category of NoSQL databases. They have high efficiency and
handle many users, while using a graph database to enhance the quality of the system to shorten the response
time and simply implement different functions. The vehicle routing problem along with time window
constraints along with road-network information [20]. At first, a customer-based graph is introduced to solve
the problem of specificity. The vehicle routes are defined for customer-based graphs, a dynamic approach is
considered for to estimate the travel-time with minimum cost and derive optimal solutions for the problem.
Vehicle routing problems are solved by customer graphs where many attributes are embedded in road
segments, alternate paths are considered on different customer graphs [21], [22]. Two methods are used to
handle customer-based graphs to represent different attributes defined in road segments.
To represent multigraph road networks where an arc is introduced for each path, an exact solution is
developed to determine the paths, which are not dominated by linking a set of points interested in a road
network. The proposed algorithm used here is multi-dimension multi-objective searching strategy. The
efficiency to solve a road network problem to reduce the cost. The optimal solution to the road network to
find instances, which are not feasible to use the shortest path, which is carried to in the form of simple
representation [23]. Significant research is carried out to solve problems related to VRP to accomplish the
objectives to reduce the total cost, total distance, the solutions for VRP are classified into three types exact
methods, heuristics and meta heuristics, the exact methods are further classified into branch and X, constant
programming and dynamic programming. VRP problems are said to be NP-hard, solving these problems is
time-consuming. The customer-based graph for time dependent VRPTW to build two algorithms with road
network for multigraphs. Several vehicle routing problems to compute customer-based graph network. The
main goal here is to emphasize on tackling large class of vehicle routing problem. The possible enhancement
for recent advancement in technology to obtain the real-time traffic condition scenario [24], [25]. A graph
database is implemented to find an optimal solution while connecting two stops in vehicle routing scenario.
Graph databases are categorized using segmentation known as non-relational database known as NoSQL
database. A graph model is constructed for transportation problem for vehicle routing in task orientation to
traverse an optimal search path. The path-shift from public transport system to classic modelling of the graph
technique has been exploited to transform between different relations of a database. A detailed representation
of public transportation system is carried out and a relational graph-based model is developed [26].
Edge computing, traffic management are studied in detail in the transportation of green vehicle
systems. There are different mechanisms for different state-of-art approaches to attain the necessary energy
efficiency for various green vehicle systems [27]. Offloading circumstances, in edge computation for
outsourcing the requirements by predicting the estimated arrival of different workloads, employing AI
technique to facilitate between switching the harvesting states from one state to another. In 6G era, numerous
vehicles are connected using the same infrastructure providing secure communication for vehicle routing for
different problems. The unauthorized users pose a security threat to different vehicle owners by intruding the
system while accessing the system resources. The similarities between VRP and JSPs problem are studied,
they have the same scenario in execution of their tasks, and their resources are constrained based on the
capacity to process their number of tasks. Here exists a time interval that depends on the consecutive
execution of tasks to minimize the various lengths of the windows to be executed while specifying a new
relationship altogether as far as the capacity constraints are considered [28]. An optimizing the criteria for
minimizing various definitions to compress the length of activities to minimize each transition time. A
similar technology is used for scheduling as well as vehicle routing problems.
The customer-based graphs representing a road network, to analyze different graph routing problems
to achieve alternate paths to handle different limits [28]. The efficiency to tackle the problem on the road
network is compared along the multigraph approach. They have developed a multigraph approach for branch-
and-price algorithm to improvise the solution of to conduct and analyze the characteristics of VRPTW, which
effect the performance with road network and multigraph settings. First step is to develop an algorithm to
estimate the associated shortest paths based on the road network to find the instances of expected departure
time. To adapt a road network which is based on time-dependent algorithm. The optimal solution found for the
road network for different instances, which are not feasible to use the shortest path for the representation.
Route optimization via improved ant colony algorithm with graph network (Patil N. Siddalingappa)
406 ISSN:2089-4864
Friggstad [11] a VRPTW plays a key role in all business operations, recently this has allowed the operations to
be carried out in a real time scenario. Latest technologies also possess new problems to the business
management techniques, which affects the decision-making approach for dynamic VRPTW problems as well. A
generic approach is proposed here to solve this problem, this algorithm serves as a basis for other new
algorithms like the insertion approach and DVRPTW, as well as MACS, and these algorithms were compared
with many state-of-art-techniques, the best performing algorithm is selected in comparison with other literature
review techniques [29]. Meta–heuristics technique requires more CPU time, and are very complex for
implementation purposes. The real-life applications choose flexible approach, to cluster these practical
applications; few methods are more attractive and effective for tackling complex constraints. The solution
approach for local meta-heuristic techniques improves the complex constraints involved in it. The ACO
approach is implemented by considering the analogy of real ant colonies for food [30].
3. PROPOSED METHOD
The optimization according to the path by considering three parameters: i) a depot where many
customers are serviced, ii) many vehicles serviced starting from the starting point, and iii) to traverse the path
starting from the depot to the termination point. A customer is served by one particular vehicle, another
constraint is the vehicle should meet the time-window constraint; this should meet the requirements such as
customer satisfaction, minimizing the cost, to find the optimal path. A penalty cost is provided for early or
late arrivals that improvise customer fulfilment. The penalty obtained for late arrival is high in aspect of early
arrival. When delivery is concerned taking into account several aspects involved with optimal distribution of
path apart from goods requirement, refrigerated vehicle weight as well as time window is considered.
Consider a graph 𝐺 = (𝑉, 𝐴) a fully connected graph that depicts the network of the distribution of vehicles.
Specifically 𝑉 = {0, 1, 2, ….., n} be the set of nodes, where 0 represents the distribution center and 1, 2, 3,
…….., n depicts the customer points. 𝐴= {(𝑎, 𝑏): 𝑎, 𝑏∈𝑁, a ≠ b} that depicts the routes. Considering the
distribution center, customer location, and the demand known in prior. The distance is calculated between
two customers (𝑎, 𝑏) by Euclidean distance measure.
Int J Reconfigurable & Embedded Syst, Vol. 12, No. 3, November 2023: 403-413
Int J Reconfigurable & Embedded Syst ISSN:2089-4864 407
100 𝑓𝑎 −𝐴𝑇𝑎
C𝑖 = { − δ1 , 𝑖𝑓 𝑓𝑎 > 𝐴𝑇𝑎
𝑛 𝑓𝑎
100
{ , , 𝑖𝑓 𝑓𝑎 < 𝐴𝑇𝑎 < 𝑙𝑎 (4)
𝑛
100 𝐴𝑇𝑎 −𝑙𝑎
{ − δ2 , 𝑖𝑓 𝑙𝑎 > 𝐴𝑇𝑎
𝑛 𝑙𝑎
𝑥 𝑢𝑎𝑏 𝑃𝑡
𝑀𝑖𝑛𝑡 = 𝐴𝑎𝑏 (𝛾 (𝜇 𝐵𝑡 + + 𝑃𝑐 ) /𝛼)ℎ (7)
𝑣𝑎𝑏 𝑛
𝑥 − ∑𝑛 ∑𝑋 𝑎 𝑥 = 0, 𝑏 ∈ n,
∑𝑛𝑦 =1 ∑𝑋𝑥=1 𝑎𝑞𝑧 𝑧=1 𝑥=1 𝑏𝑧 (10)
∑𝑛𝑧=0( 𝐷𝑧𝑦
𝑃 − 𝐷 𝑃 ) = 𝑑 𝑦 , ∀(y, z) ∈ G
𝑦𝑧 (14)
Ant colony optimization technique is employed here to solve the optimization problems to
understand the pattern of ants searching for food they find a short route from food to their particular nest they
follow each other by releasing a chemical known as pheromone, the replication of their above procedure of
the ants following the trail makes the trail more accurate. The algorithm proposed here to develop each
vehicle for the respected duration of time window. This model can be applied to a multiple start point with
multiple delivery points who source us to have a pickup and delivery source from source to destination while
in the process of selecting the best node to the delivery point. We have chosen an algorithm here for selecting
the appropriate route if it satisfies the particular criteria or it can select the next node until it fits into the
constraints. Algorithm 1 displays the improvised ACO+graph network.
Route optimization via improved ant colony algorithm with graph network (Patil N. Siddalingappa)
408 ISSN:2089-4864
Int J Reconfigurable & Embedded Syst, Vol. 12, No. 3, November 2023: 403-413
Int J Reconfigurable & Embedded Syst ISSN:2089-4864 409
for c101 with 50 customers. Optimal path is (0, 43, 42, 41, 40, 44, 46, 45, 48, 50, 49, 47,0), (0, 5, 3, 7, 8, 10,
11, 9, 6, 4, 2, 1,0), (0, 20, 24, 25, 27, 29, 30, 28, 26, 23, 22, 21,0), (0, 32, 33, 31, 35, 37, 38, 39, 36, 34,0), (0,
13, 17, 18, 19, 15, 16, 14, 12, 0).
C101_25
4000
3482 3394
COMPARISION
3500 3139
3000
2500
2000
1500
1000
500 19,6 100 19,8 98,5 20,5 98,5
0
C(CNY) CE CS C(CNY) CE CS C(CNY) CE CS
ACO+graph network ACOMO ACO
METHODOLOGY
C101_50
12000
9914
9584
10000
COST
8000
5943
6000
4000
2000
33,5 100 53,8 99,3 54,7 98,5
0
C (CNY) CE CS C (CNY) CE CS C (CNY) CE CS
ACO+Graph Network ACOMO ACO
METHODOLOGY
C101_75
25000
21352
20196
20000
COST
15000
10640
10000
5000
55 100 94,9 99,5 112
0
C (CNY) CE CS C (CNY) CE CS C (CNY) CE CS
ACO+Graph Network ACOMO ACO
METHODOLOGY ]
Int J Reconfigurable & Embedded Syst, Vol. 12, No. 3, November 2023: 403-413
Int J Reconfigurable & Embedded Syst ISSN:2089-4864 411
C101_100
35000 32103,4
31203
30000
25000
COST
20000
13562
15000
10000
5000
70 100 130 99,7 135,5 98,6
0
C (CNY) CE CS C (CNY) CE CS C (CNY) CE CS
ACO+Graph Network ACOMO ACO
METHODOLOGY
By comparison of this results with other state-of-art-techniques we can conclude that our proposed
ACO+graph network performs better with other existing methods, by employing a smaller number of
vehicles for to achieve effective performance by minimizing the cost value and the proposed system shows
the effective performance to be countered with real-world problems. Our proposed system shows the total in
reducing the cost management purposes, for modified ACO+graph network algorithm. This technique
outperforms the ACO algorithm.
Route optimization via improved ant colony algorithm with graph network (Patil N. Siddalingappa)
412 ISSN:2089-4864
5. CONCLUSION
This paper here involves combining the features of graph theory and ACO to solve the vehicle
routing problem with time window constraints. Implementing the task solution for optimal path using the
graph-based network, here we try to integrate the VRP problem with time window constraints by merging it
with the graph network. Our proposed model works effectively in comparison with other state of art
techniques. The VRP problem while considering other measures such as minimizing cost, and optimal path to
achieve better performance. A multi-objective optimization model is achieved in a real-time scenario, and an
improved ACO algorithm integrated along with a graph network is considered here for satisfying the
customers by delivering the goods in a specific time window. We have used Pareto optimal principle over
here for multi-objective optimization. Future work to be carried out here suggests that we consider other
parameters like temperature for perishable goods; this also establishes the amount of energy consumed by the
vehicle during transportation of goods from source to destination.
REFERENCES
[1] A. L. Kok, E. W. Hans, and J. M. J. Schutten, “Vehicle routing under time-dependent travel times: the impact of congestion
avoidance,” Computers and Operations Research, vol. 39, no. 5, pp. 910–918, May 2012, doi: 10.1016/[Link].2011.05.027.
[2] Z. Wang, Z. Hu, and X. Yang, “Multi-agent and ant colony optimization for ship integrated power system network
reconfiguration,” Journal of Systems Engineering and Electronics, vol. 33, no. 2, pp. 489–496, Apr. 2022, doi:
10.23919/JSEE.2022.000048.
[3] J. Müller, “Approximative solutions to the bicriterion vehicle routing problem with time windows,” European Journal of
Operational Research, vol. 202, no. 1, pp. 223–231, Apr. 2010, doi: 10.1016/[Link].2009.04.029.
[4] S. N. Kumar and R. Panneerselvam, “A survey on the vehicle routing problem and its variants,” Intelligent Information
Management, vol. 04, no. 03, pp. 66–74, 2012, doi: 10.4236/iim.2012.43010.
[5] K. Braekers, K. Ramaekers, and I. V. Nieuwenhuyse, “The vehicle routing problem: state of the art classification and review,”
Computers and Industrial Engineering, vol. 99, pp. 300–313, Sep. 2016, doi: 10.1016/[Link].2015.12.007.
[6] B. Eksioglu, A. V. Vural, and A. Reisman, “The vehicle routing problem: a taxonomic review,” Computers and Industrial
Engineering, vol. 57, no. 4, pp. 1472–1483, Nov. 2009, doi: 10.1016/[Link].2009.05.009.
[7] R. Elshaer and H. Awad, “A taxonomic review of metaheuristic algorithms for solving the vehicle routing problem and its
variants,” Computers and Industrial Engineering, vol. 140, p. 106242, Feb. 2020, doi: 10.1016/[Link].2019.106242.
[8] G. D. Konstantakopoulos, S. P. Gayialis, and E. P. Kechagias, “Vehicle routing problem and related algorithms for logistics
distribution: a literature review and classification,” Operational Research, vol. 22, no. 3, pp. 2033–2062, Jul. 2022, doi:
10.1007/s12351-020-00600-7.
[9] S. Dobzinski, N. Nisan, and M. Schapira, “Approximation algorithms for combinatorial auctions with complement-free bidders,”
in Proceedings of the Annual ACM Symposium on Theory of Computing, New York, NY, USA: ACM, May 2005, pp. 610–618.
doi: 10.1145/1060590.1060681.
[10] U. Feige, “On maximizing welfare when utility functions are subadditive,” in Proceedings of the Annual ACM Symposium on
Theory of Computing, New York, NY, USA: ACM, May 2006, pp. 41–50. doi: 10.1145/1132516.1132523.
[11] Z. Friggstad, “Multiple traveling salesmen in asymmetric metrics,” in Lecture Notes in Computer Science (including subseries
Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2013, pp. 173–188. doi: 10.1007/978-3-642-40328-
6_13.
[12] Z. Friggstad, M. R. Salavatipour, and Z. Svitkina, “Asymmetric traveling salesman path and directed latency problems,” SIAM
Journal on Computing, vol. 42, no. 4, pp. 1596–1619, Jan. 2013, doi: 10.1137/100797357.
[13] T. Qasim et al., “An ant colony optimization based approach for minimum cost coverage on 3-D Grid in wireless sensor
networks,” IEEE Communications Letters, vol. 22, no. 6, pp. 1140–1143, Jun. 2018, doi: 10.1109/LCOMM.2018.2819643.
[14] J. Lv, X. Wang, and M. Huang, “Ant colony optimization-inspired ICN routing with content concentration and similarity relation,”
IEEE Communications Letters, vol. 21, no. 6, pp. 1313–1316, Jun. 2017, doi: 10.1109/LCOMM.2016.2631515.
[15] Y. Sun, W. Dong, and Y. Chen, “An improved routing algorithm based on ant colony optimization in wireless sensor networks,”
IEEE Communications Letters, vol. 21, no. 6, pp. 1317–1320, Jun. 2017, doi: 10.1109/LCOMM.2017.2672959.
[16] Y. Li, Z. Gao, and J. Li, “Vehicle routing problem in dynamic urban traffic network,” in 8th International Conference on Service
Systems and Service Management - Proceedings of ICSSSM’11, IEEE, Jun. 2011, pp. 1–6. doi: 10.1109/ICSSSM.2011.5959534.
[17] M. López-Ibáñez and T. Stützle, “An analysis of algorithmic components for multiobjective ant colony optimization: A case study
on the biobjective TSP,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and
Lecture Notes in Bioinformatics), 2010, pp. 134–145. doi: 10.1007/978-3-642-14156-0_12.
[18] F. Dahan, K. El Hindi, A. Ghoneim, and H. Alsalman, “An enhanced ant colony optimization based algorithm to solve QoS-aware
web service composition,” IEEE Access, vol. 9, pp. 34098–34111, 2021, doi: 10.1109/ACCESS.2021.3061738.
[19] D. Zhang, X. You, S. Liu, and K. Yang, “Multi-colony ant colony optimization based on generalized jaccard similarity
recommendation strategy,” IEEE Access, vol. 7, pp. 157303–157317, 2019, doi: 10.1109/ACCESS.2019.2949860.
[20] M. Xu, X. You, and S. Liu, “A novel heuristic communication Heterogeneous dual population ant colony optimization algorithm,”
IEEE Access, vol. 5, pp. 18506–18515, 2017, doi: 10.1109/ACCESS.2017.2746569.
[21] W. Liu, “Route optimization for last-mile distribution of rural e-commerce logistics based on ant colony optimization,” IEEE
Access, vol. 8, pp. 12179–12187, 2020, doi: 10.1109/ACCESS.2020.2964328.
[22] H. Zhu, X. You, and S. Liu, “Multiple ant colony optimization based on pearson correlation coefficient,” IEEE Access, vol. 7, pp.
61628–61638, 2019, doi: 10.1109/ACCESS.2019.2915673.
[23] M. Liu, X. You, X. Yu, and S. Liu, “KL Divergence-based pheromone fusion for heterogeneous multi-colony ant optimization,”
IEEE Access, vol. 7, pp. 152646–152657, 2019, doi: 10.1109/ACCESS.2019.2948395.
[24] Y. H. Jia, Y. Mei, and M. Zhang, “Confidence-based ant colony optimization for capacitated electric vehicle routing problem with
comparison of different encoding schemes,” IEEE Transactions on Evolutionary Computation, vol. 26, no. 6, pp. 1394–1408, Dec.
2022, doi: 10.1109/TEVC.2022.3144142.
Int J Reconfigurable & Embedded Syst, Vol. 12, No. 3, November 2023: 403-413
Int J Reconfigurable & Embedded Syst ISSN:2089-4864 413
[25] D. Z. Zhu, P. L. Werner, and D. H. Werner, “Design and optimization of 3-D frequency-selective surfaces based on a
multiobjective lazy ant colony optimization algorithm,” IEEE Transactions on Antennas and Propagation, vol. 65, no. 12, pp.
7137–7149, Dec. 2017, doi: 10.1109/TAP.2017.2766660.
[26] J. Liu, Y. Wang, G. Sun, and T. Pang, “Multisurrogate-assisted ant colony optimization for expensive optimization problems with
continuous and categorical variables,” IEEE Transactions on Cybernetics, vol. 52, no. 11, pp. 11348–11361, Nov. 2022, doi:
10.1109/TCYB.2021.3064676.
[27] R. Baldacci, A. Mingozzi, and R. Roberti, “New state-space relaxations for solving the traveling salesman problem with time
windows,” INFORMS Journal on Computing, vol. 24, no. 3, pp. 356–371, Aug. 2012, doi: 10.1287/ijoc.1110.0456.
[28] K. Doerner, M. Gronalt, R. F. Hartl, M. Reimann, C. Strauss, and M. Stummer, “Savings ants for the vehicle routing problem,” in
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in
Bioinformatics), 2002, pp. 11–20. doi: 10.1007/3-540-46004-7_2.
[29] E. Demir, T. Bektaş, and G. Laporte, “An adaptive large neighborhood search heuristic for the pollution-routing problem,”
European Journal of Operational Research, vol. 223, no. 2, pp. 346–359, Dec. 2012, doi: 10.1016/[Link].2012.06.044.
[30] D. C. Paraskevopoulos, P. P. Repoussis, C. D. Tarantilis, G. Ioannou, and G. P. Prastacos, “A reactive variable neighborhood tabu
search for the heterogeneous fleet vehicle routing problem with time windows,” Journal of Heuristics, vol. 14, no. 5, pp. 425–455,
Oct. 2008, doi: 10.1007/s10732-007-9045-z.
BIOGRAPHIES OF AUTHORS
Route optimization via improved ant colony algorithm with graph network (Patil N. Siddalingappa)