Li Yong, Li Jinxing, Sun Yu, Li Haisheng
School of E-Commerce and Logistics, Beijing Technology and Business University, Beijing 100048, China.
School of Computer Science and Engineering, Beijing Technology and Business University, Beijing 100048, China.
Biomimetics (Basel). 2022 Oct 17;7(4):168. doi: 10.3390/biomimetics7040168.
With the wide application of computational fluid dynamics in various fields and the continuous growth of the complexity of the problem and the scale of the computational grid, large-scale parallel computing came into being and became an indispensable means to solve this problem. In the numerical simulation of multi-block grids, the mapping strategy from grid block to processor is an important factor affecting the efficiency of load balancing and communication overhead. The multi-level graph partitioning algorithm is an important algorithm that introduces graph network dynamic programming to solve the load-balancing problem. This paper proposed a firefly-ant compound optimization (FaCO) algorithm for the weighted fusion of two optimization rules of the firefly and ant colony algorithm. For the graph, results after multi-level graph partitioning are transformed into a traveling salesman problem (TSP). This algorithm is used to optimize the load distribution of the solution, and finally, the rough graph segmentation is projected to obtain the most original segmentation optimization results. Although firefly algorithm (FA) and ant colony optimization (ACO), as swarm intelligence algorithms, are widely used to solve TSP problems, for the problems for which swarm intelligence algorithms easily fall into local optimization and low search accuracy, the improvement of the FaCO algorithm adjusts the weight of iterative location selection and updates the location. Experimental results on publicly available datasets such as the Oliver30 dataset and the eil51 dataset demonstrated the effectiveness of the FaCO algorithm. It is also significantly better than the commonly used firefly algorithm and other algorithms in terms of the search results and efficiency and achieves better results in optimizing the load-balancing problem of parallel computing.
随着计算流体动力学在各个领域的广泛应用以及问题复杂度和计算网格规模的不断增长,大规模并行计算应运而生,并成为解决此类问题不可或缺的手段。在多块网格的数值模拟中,从网格块到处理器的映射策略是影响负载平衡效率和通信开销的重要因素。多级图划分算法是一种引入图网络动态规划来解决负载平衡问题的重要算法。本文提出了一种萤火虫 - 蚁群复合优化(FaCO)算法,用于对萤火虫算法和蚁群算法的两种优化规则进行加权融合。对于图,将多级图划分后的结果转化为旅行商问题(TSP)。该算法用于优化解的负载分布,最后通过投影粗糙图分割得到最原始的分割优化结果。尽管萤火虫算法(FA)和蚁群优化(ACO)作为群体智能算法被广泛用于解决TSP问题,但针对群体智能算法容易陷入局部优化且搜索精度较低的问题,FaCO算法通过调整迭代位置选择的权重并更新位置进行了改进。在Oliver30数据集和eil51数据集等公开可用数据集上的实验结果证明了FaCO算法的有效性。在搜索结果和效率方面,它也显著优于常用的萤火虫算法和其他算法,在优化并行计算的负载平衡问题上取得了更好的效果。