- College of Electrical and Computer Science, Jilin Jianzhu University, Changchun, China
This paper proposes a hybrid swarming algorithm based on Ant Colony Optimization and Physarum Polycephalum Algorithm. And the Van Der Waals force is first applied to the pheromone update mechanism of the hybrid algorithm. The improved method can prevent premature convergence into the local optimal solution. Simulation results show the proposed approach has excellent in solving accuracy and convergence time. We also compare the improved algorithm with other advanced algorithms and the results show that our algorithm is more accurate than the literature algorithms. In addition, we use the capitals of 35 Asian countries as an example to verify the robustness and versatility of the hybrid algorithm.
Introduction
Some problems in the real world can be converted into a Traveling Salesman Problem (TSP) such as Route Planning Problem, Goods Distribution Problem and Vehicle Scheduling Problem. Traveling Salesman Problem is a classic NP-hard problem. Traditional accurate algorithms are difficult or unable to solve NP-hard problem. The heuristic algorithms such as Ant Colony Optimization (Dorigo and Caro, 1999), Particle Swarm Optimization (Wang et al., 2003), Bat Algorithm (YANG, 2010), Pigeon Swarm Algorithm (Duan and Qiu, 2019) are all inspired by swarm intelligence and used to solve the NP-hard problem effectively. The heuristic algorithms generally appear to fall into local optima and slow convergence as the scale of the problem continues to expand (Bouzbita et al., 2018; de S. Alves et al., 2018). Many improved methods have been proposed to optimize traditional accurate applications. Li, X (Li and Yin, 2011) presents a new method of designing a reconfigurable antenna array with quantized phase excitations using a new evolutionary algorithm called differential evolution (DE). To reduce the effect of mutual coupling among the antenna-array elements, the dynamic range ratio is minimized. Cui et al. (2020) proposed a blockchain-based multi-WSN authentication scheme for the Internet of Things, which builds a blockchain network between different types of nodes to form a hybrid blockchain model and realizes mutual authentication of node identities in various communication scenarios. Cai et al. (2021) proposed a multi-objective optimization algorithm based on the dynamic reward and punishment mechanism to optimize the validity model of shard verification, which significantly improves the throughput and effectiveness of shards, thereby supporting blockchain-enabled. Zhang et al. (2021) designed a novel weight-based integrated machine learning algorithm (WBELA) to identify abnormal messages in the vehicle controller area network (CAN) bus network, and a multi-objective optimization algorithm based on balance convergence and diversity to improve the accuracy, reduce the false alarm rate, and improve the security of the 6G vehicle network. Li, X (Li and Ma, 2017) presents a novel multi-objective memetic search algorithm (MMSA), which is proposed to solve the MOPFSSP with makespan and total flowtime. Cui et al. (2021) designed a multi-objective constrained Boltzmann machine (RBM) model for training, used evaluation indexes to comprehensively measure the effect of data classification, introduced policy pool and FFT to improve the effectiveness of data fusion, and used a non-dominated sorting genetic algorithm (NSGA-II) to deal with unbalanced malware families. Xin (2015) proposed a genetic algorithm for this problem. An enhanced crossover strategy and three different local searches are adopted. After the exhaustive computational and statistical analysis, we can conclude that the proposed methods are robust and outperformed the existing algorithm.
Novel swarming algorithms emerge constantly in recent years. In this paper, we apply the Physarum Polycephalum Algorithm (PPA) in the path planning problem because it has good application results in routing problems. PPA is inspired by its behavior for its efficient ability to construct a foraging network path. Researchers have done much research on physarum polycephalum. Cifarelli et al. (2014) realized the adaptive network and the spatial distribution of nano- and micro-scale materials by embedding and programming different chemical substances in Phytophthora polycephalum and confirmed that the physarum network could be used as a scaffold. Develop hybrid nanocircuits, microcircuits and devices. Dimonte et al. (2015) load Physarum with magnetic particles and place them in a magnetic field, and in principle apply analog control programs to precisely control the active growth area of slime mold and the shape topology of its protoplasmic network, making it an invaluable substrate capable of designing novel sensing, computing, and driving architectures in biological substrates. Liu et al. (2018) According to Polycephalum can establish a biological network and distribute traffic according to the location and size of food sources; they proposed a fuzzy user balance model for urban traffic allocation based on Polycephalum Algorithm. The biological network relates to the transportation network. Tsompanas et al. (2016) improved the time efficiency of biological computers by using cellular automata (CA) and digital circuits and used the Greek topology as the input of the biological computer, which effectively improved the PPA computing power. Zhang et al. (2016) proposed a supply chain network design algorithm based on PPA and used numerical calculations to demonstrate the practicality and robustness of the modified Algorithm. Arslan and Manguoglu (2019) proposed a parallel PPA which proved the parallel scalability and accuracy of the algorithm by using the parallel iterative linear solver and the parallel proposition of the M matrix. A typical swarm algorithm has the advantage of fast solving speed, but its disadvantage is easy to fall into a locally optimal solution. In this paper, we introduce Van Der Waals Forces (VDWF) to improve this problem. VDWF is the forces between molecules. It is a weakly basic electrical attraction between neutral molecules or atoms. It is characterized by far absorption and near repulsion. VDWF has shown significant contributions to academic research as an intermolecular force. Oakland (Ouakad, 2017) analyzed the influence of VDWF on the mechanical performance of MEMS/NEMS actuators and developed a reduced-order model based on the original Galerkin expansion, which confirmed that the VDWF could capture the separation length of the actuator parameters. The ability to influence. Liu et al. (2021) studied the interaction of VDWF between stacked components, revealed the microscopy technique of the relationship between the structure and properties of VDWF heterostructures, and analyzed the spectroscopic measurement of the VDWF interface coupling effect.
In this paper, we present a hybrid swarming algorithm to improve performance. The algorithm mix Ant Colony Algorithm and Physarum Polycephalum Algorithm. Van Der Waals Force is introduced to prevent the algorithm from falling into the local optimal solution. The structure of this paper is as follows. In section 2, we introduce the basic concepts and formulas of the traveling salesman problem, Van Der Waals force, Ant Colony Algorithm, Physarum Polycephalum Algorithm. In section 3, We describe the framework of the improved hybrid Algorithm. In section 4, We provide the contrastive results of different algorithms for solving the TSP problem on the benchmark dataset. Moreover, we detail analysis of the data results. Section 5 concludes this paper.
Related Work
Section 2.1 describes the Traveling Salesman Problem; section 2.2 introduces the Van Der Waals Forces; section 2.3 explains the ant colony algorithm. Finally, section 2.4 shows the Physarum Polycephalum model.
Traveling Salesman Problem
Traveling Salesman Problem can be described as follows: a salesman is going to travel finally returns to the initial city. Its model is to find a travel route with the shortest total distance and satisfy the objective function:
Where ci is the city number
Van Der Waals Forces
Van Der Waals Force is a weakly alkaline electrical attraction between neutral molecules or atoms. It comes from three parts: 1) One of the permanent dipole moments of polar molecules; 2) The interaction between a polar molecule polarizes another molecule, generating an induced dipole moment and attracting each other; 3) The movement of electrons in a molecule generates an instantaneous dipole moment, which makes neighboring molecules Instantaneous polarization, the latter in turn enhances the instantaneous dipole moment of the original molecule. Its formula is:
Where
Ant Colony Optimization
Ant Colony Optimization is a heuristic bionic algorithm proposed by Dorigo and Caro (1999). The principle is that when ants are looking for food, they will leave volatile pheromone on the path, and subsequent ants will tend to choose the path with high pheromone concentration. As time goes by, there will be more and more ants on the shortest path. At a particular moment, the transition probability of the ant choosing node j from node i is:
Where
Where
Physarum Polycephalum Algorithm
The food source is regarded as the node and the spreading hyphae. They composed of the pipe and the liquid flowing inside in the foraging formed by Physarum Polycephalum. The pressure difference between the two ends of the pipe determines the flow direction of the liquid. The pipe becomes thicker when the liquid flow rate increases. It will eventually form the shortest path connecting the food source at last. The liquid flow through the pipe can be expressed as:
Where
The change in conductivity over time is expressed as follows:
Where k is the attenuation rate of the pipeline.
Improved Hybrid Algorithm Based on Van Der Waals Forces
The feature of ACO is the positive feedback relationship between the number of ant colonies and pheromone concentration. This also causes ACO easy to fall into local optimality. Moreover, many parameters also limit its optimization ability. These factors make ACO unable to be effective. The traditional ACO is low efficiencies in large-scale problems. This paper proposes a hybrid algorithm based on Van Der Waals Force (VPACO). This section focuses on the comparison of improved algorithms.
A Hybrid Algorithm Based on Physarum Polycephalum Algorithm and Ant Colony Optimization
The pheromone update mechanism of the PACO algorithm is as fellow based on formula 4.
Where
Algorithm 1 PACO pseudo code for solving TSP problem.
A Hybrid Algorithm Based on Van Der Waals Force
In this paper, our improvement is named VPACO that the pheromone updating mechanism is optimized by adding Van Der Waals force. Formula 8 shows the method of our improvement. The pseudo code of VPACO shows in Algorithm 2.
In our improvement, we set parameters A = 100, B = 100, a = 1.0, and b = 1.1.
Algorithm 2 VPACO pseudo code for solving TSP problem.
The improved Algorithm shows that VPACO can enhance the optimization ability. It can find a better-expected value and speed up the convergence. Moreover, the optimal solution can be found in a shorter time. Experiments show that VPACO can solve the classic TSP with large-scale problems.
Experimental Research and Analysis
This section describes the parameter settings, analyzes the test results. Compares the best results by solving the same test for VPACO with PACO and ACO. Finally, to test the adaptability of VPACO, we apply it to real-world geographic travel problems. The experiment results are using Intel CoreTMi5-5200U CPU @ 2.20 GHz 6, 00 GO RAM and Windows 10, 64-bit operating system, x64-based processor. VPACO, PACO, and ACO design by python language. The test data come from http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/. For each instance, VPACO, PACO, ACO are implemented 10 times, and each iteration ends 500 times.
Parameter Settings
The parameter adjustment of the Algorithm is significant for its convergence and whether it can find the optimal solution. In this experiment, we recommend setting the parameters of the running Algorithm according to a variety of configurations. After a series of runs, the parameter values of the three algorithms are shown in Table 1, where m represents the number of ants.
Experimental Results and Discussion
First, we provide the current best performance comparison of VPACO, PACO, and ACO calculation results on five instances in the TSPLIB benchmark set, as shown in Table 2. In each instance, the calculation result is composed of
Figure 1 shows the convergence curve of the optimization results in each instance with the number of iterations. The gap between the three algorithms is not apparent in the previous iterations. The convergence and optimization ability of VPACO and PACO is far better than ACO as the number of iterations increases. The convergence of VPACO is the same as PACO, but VPACO’s optimization ability is better. Applying Van Der Waals Force to the Algorithm is effective for the optimization ability.
FIGURE 1. The change curve of the optimization result with the number of iterations in TSPLIB instances: (A) KorB100, (B) KorD100, (C) KorA100, (D) Ch130, (E) Eil101.
Finally, we compare VPACO algorithm and other improved algorithms based on ACO with the simulation data set in TSPLIB. In Table 3, Opt show the best result in TSPLIB, and VPACO show our best results, MMAS show the results according to Pang et al. (2016), ACADCG show the results according to Sun et al. (2004), IGSA show the results according to Zhang and Yuxian (2017) IGA show the results according to Zhang et al. (2016). It is obviously that the optimal solution obtained by VPACO algorithm are basically consistent with the official optimal value given in TSPLIB. The VPACO algorithm is more accurate, stable, and reliable compared with other mainstream algorithms mentioned in this paper.
Real World Geographic Travel
To verify the effectiveness of our improved Algorithm in the natural environment, we considered a real scenario: how to travel around 34 capitals in Asia with the lowest cost. The geographic coordinates are taken from http://api. map. baidu.com/lbsapi/getpoint/index.html shown in Table 4. The latitude is positive with north latitude, longitude with east longitude is positive. This problem can be regarded as TSP. We use the spherical distance calculation of the distance between cities, which can be calculated according to formula 10. Among them,
We use three methods to compute the shortest distance cost of travel. Both VPACO and PACO can find the minimum value,
Figure 2 shows the VPACO’s lowest distance cost tour route map, and better route planning.
Conclusion
Optimization problems can be divided into discrete problems and persistent problems. VPACO is an improved heuristic algorithm for solving discrete problems. The improvement adds Van Der Waals Force to modify the pheromone update rule at the first time. It can enhance convergence and optimization ability. Simulation results have shown that the proposed approach has a higher coverage rate, more uniform configuration, and average convergence time are better than PACO and ACO. In addition, taking the capitals of 35 Asian countries as an example, the robustness and versatility of VPACO are once again verified. The improved method may be used to solve large-scale problems in the future.
Data Availability Statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.
Author Contributions
ZY: Conceptualization, Methodology; YH: Validation, Software, Writing—Original Draft; SM: Software, Validation; XY: Verified, Writing—Review & Editing, Supervision.
Funding
This work was supported by the education department of Jilin province No. JJKH20210257KJ.
Conflict of Interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s Note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
Arslan, H., and Manguoglu, M. (2019). A Parallel Bio-Inspried Shortest Path Algorithm. Computing 101, 969–988. doi:10.1007/s00607018-0621-x10.1007/s00607-018-0621-x
Bouzbita, S., El Afia, A., and Faizi, R. (2018). Parameter Adaptation for Ant Colony System Algorithm Using Hidden Markov Model for TSP Problems. New York, NY, USA: Association for Computing Machinery, 1–6. Article 6. doi:10.1145/3230905.3230962
Cai, X., Lan, Y., Zhang, Z., Wen, J., Cui, Z., and Zhang, W. S. (2021). A Many-objective Optimization Based Federal Deep Generation Model for Enhancing Data Processing Capability in IOT. IEEE Trans. Ind. Inf. 99, 1. doi:10.1109/tii.2021.3093715
Cifarelli, A., Dimonte, A., Berzina, T., and Erokhin, V. (2014). On the Loading of Slime Mold Physarum Polycephalum with Microparticles for Unconventional Computing Application. BioNanoSci. 4, 92–96. doi:10.1007/s12668-013-0124-3
Cui, Z., Zhao, Y., Cao, Y., Cai, X., and Chen, J. (2021). Malicious Code Detection under 5G HetNets Based on Multi-Objective RBM Model. IEEE Netw. 99, 1–9. doi:10.1109/MNET.011.2000331
Cui, Z., Xue, F., Zhang, S., Cai, X., Cao, Y., Zhang, W., et al. (2020). A Hybrid BlockChain-Based Identity Authentication Scheme for Multi-WSN. IEEE Trans. Serv. Comput. 99, 1. doi:10.1109/tsc.2020.2964537
de S. Alves, D. R., Neto, M. T. R. S., Ferreira, F. d. S., and Teixeira, O. N. (2018). SIACO: A Novel Algorithm Based on Ant colony Optimization and Game Theory for Traveling Salesman Problems. New York, NY, USA: Association for Computing Machinery, 62–66. doi:10.1145/3184066.3184077
Dimonte, A., Cifarelli, A., Berzina, T., Chiesi, V., Ferro, P., Besagni, T., et al. (2015). Magnetic Nanoparticles-Loaded Physarum Polycephalum: Directed Growth and Particles Distribution. Interdiscip. Sci. Comput. Life Sci. 7, 373–381. doi:10.1007/s12539-015-0021-2
Dorigo, M., and Caro, G. D. (1999). Ant colony Optimization: A New Metaheuristic. Proc. Congr. Evol. Comput. 2, 1470–1477.
Duan, H., and Qiu, H. (2019). Advancements in pigeon-inspired Optimization and its Variants. Sci. China Inf. Sci. 62, 70201. doi:10.1007/s11432-018-9752-9
Hang, X., Chen, X., Han, X. I. A. O., et al. (2016). A New Imperialist Competitive Algorithm for Solving TSP Problem. Control Decis. 31 (4), 586–592.
Hang, Y., and Qi, Y. (2017). An Improved Genetic Simulated Annealing Algorithm to Solve TSP. Intell. Computer Appl. 7 (3), 52–54.
Li, X., and Ma, S. (2017). Multi-objective Memetic Search Algorithm for Multi-Objective Permutation Flow Shop Scheduling Problem. IEEE Access 4, 2154–2165. doi:10.1109/ACCESS.2016.2565622
Li, X., and Yin, M. (2011). Design of a Reconfigurable Antenna Array with Discrete Phase Shifters Using Differential Evolution Algorithm. Pier B 31, 29–43. doi:10.2528/pierb11032902
Liu, Y., Gao, C., Zhang, Z., Lu, Y., Chen, S., and Liang, M. (2018). Solving np-Hard Problems with Physarum-Based Ant Colony System. IEEE/ACM Trans. on Compu. Biology & Bioinf. 14 (1), 108–120. doi:10.1109/TCBB.2015.2462349
Liu, B., Du, J., Yu, H., Hong, M., Kang, Z., Zhang, Z., et al. (2021). The Coupling Effect Characterization for Van Der Waals Structures Based on Transition Metal Dichalcogenides. Nano Res. 14, 1734–1751. doi:10.1007/s12274-0203253-310.1007/s12274-020-3253-3
Liu, Y., Hu, Y., Chan, F. T. S., Zhang, X., and Deng, Y. (2018). Physarum Polycephalum Assignment: a New Attempt for Fuzzy User Equilibrium. Soft Comput. 22, 3711–3720. doi:10.1007/s00500-017-2592-9
Ouakad, H. M. (2017). Comprehensive numerical modeling of the nonlinear structural behavior of MEMS/NEMS electrostatic actuators under the effect of the van der Waals forces. Microsyst Technol. 23, 5903–5910. doi:10.1007/s00542-017-3356-2
Pang, Y., Zhong, C., and Cheng, K. (2016). A Tsp Algorithm Based on Clustering Ensemble ACO and Restricted Solution Space. J. Univ. Sci. Technology China 46 (9), 780–787.
Sun, L., Wang, L., and Wang, R. (2004). Research of Using an Improved Ant colony Algorithm to Solve TSP. J. Commun. 25 (10), 111–116.
Tsompanas, M. A. I., Sirakoulis, G. C., Adamatzky, A. I., and Adamatzky, A. I. (2016). Physarum in Silicon: The Greek Motorways Study. Nat. Comput. 15, 279–295. doi:10.1007/s11047-014-9459-0
Wang, K. P., Huang, L., Zhou, C. G., and Pang, W. (2003). Particle Swarm Optimization for Traveling Salesman Problem. Proc. 2nd Int. Conf. Mach. Learn. Cybern. 3, 1583–1585.
Xin, Z. (2015). A Genetic Algorithm for the Distributed Assembly Permutation Flowshop Scheduling problemEvolutionary Computation (CEC), 2015. IEEE Congress on IEEE.
Yang, X. S. (2010). A New Metaheuristic Bat-Inspired Algorithm. Nat. Inspired Coop. Strateg. optimization, 65–74. doi:10.1007/978-3-642-12538-6_6
Zhang, X., Adamatzky, A., Yang, X.-S., Yang, H., Mahadevan, S., and Deng, Y. (2016). A Physarum-Inspired Approach to Supply Chain Network Design. Sci. China Inf. Sci. 59, 052203. doi:10.1007/s11432-015-5417-4
Zhang, Y., and Yuxian, Q. I. (2021). An Improved Genetic Simulated Annealing Algorithm to Solve Tsp. Intell. Computer Appl. 7 (3), 52–54.
Keywords: van der waals forces, ant colony optimization, physarum polycephalum algorithm, swarming algorithm, hybrid
Citation: Yi Z, Hongda Y, Mengdi S and Yong X (2022) Hybrid Swarming Algorithm With Van Der Waals Force. Front. Bioeng. Biotechnol. 10:806177. doi: 10.3389/fbioe.2022.806177
Received: 31 October 2021; Accepted: 03 January 2022;
Published: 23 February 2022.
Edited by:
Zhihua Cui, Taiyuan University of Science and Technology, ChinaReviewed by:
Xiangtao Li, Jilin University, ChinaMaoqing Zhang, Tongji University, China
Wei Li, Jiangxi University of Science and Technology, China
Copyright © 2022 Yi, Hongda, Mengdi and Yong. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Xu Yong, eHV5b25nQGpsanUuZWR1LmNu