吉林大学学报(理学版) ›› 2025, Vol. 63 ›› Issue (3): 822-0828.

• • 上一篇    下一篇

求解大规模图划分问题的混合遗传算法

曹欢欢, 刘红卫, 路文军   

  1. 西安电子科技大学 数学与统计学院, 西安 710126
  • 收稿日期:2024-04-09 出版日期:2025-05-26 发布日期:2025-05-26
  • 通讯作者: 曹欢欢 E-mail:17836222609@163.com

Hybrid Genetic Algorithm for Solving Large-Scale Graph Partitioning Problems

CAO Huanhuan, LIU Hongwei, LU Wenjun   

  1. School of Mathematics and Statistics, Xidian University, Xi’an 710126, China
  • Received:2024-04-09 Online:2025-05-26 Published:2025-05-26

摘要: 针对大规模图划分问题中划分方案数量随顶点数指数级增长而导致的计算复杂性, 以及传统遗传算法在处理大规模问题时效率和精度不足的问题, 提出一种混合遗传算法. 首先, 该算法对经过二进制编码的个体进行最佳匹配, 通过识别并筛选出优良基因, 有效缩小搜索范围, 聚焦于更具潜力的搜索区域; 其次, 为避免传统交叉操作可能产生的非法解, 该算法摒弃了随机交叉策略, 仅生成一个潜在解; 最后, 在变异操作中引入禁忌搜索算子, 生成完整的个体, 从而增强算法的局部搜索能力, 实现全局搜索与局部搜索之间的动态平衡. 将该混合遗传算法应用于超大规模集成电路划分问题的实验结果表明, 该算法可有效改进大规模图二划分问题解的质量.

关键词: 图划分, 遗传算法, 最佳匹配, 优良基因, 禁忌搜索

Abstract: Aming at the problem of  the computational complexity caused by the exponential increase in the number of partitioning schemes with the number of vertices in large-scale graph partitioning problems, and the inefficiency and imprecision of traditional genetic algorithms when dealing with large-scale problems, we proposed a hybrid genetic algorithm. Firstly, the algorithm  performed optimal matching on individuals encoded in binary, identified and screened out good genes,  effectively narrowing down the search range and focusing on more promising search areas. Secondly, in order to avoid the illegal solutions that might arise from traditional crossover operations, the algorithm abandoned the random crossover strategy and only generated one potential solution. Finally, by introducing a tabu search operator in the mutation operation to generate complete individuals, thereby enhancing  local search capability of the algorithm and achieving a dynamic balance between global and local searches. Experimental results of applying this hybrid genetic algorithm to the partitioning problem of ultra large-scale integrated circuits show that the algorithm can effectively improve the quality of solutions for large-scale graph partitioning problems.

Key words: graph partitioning, genetic algorithm, optimal matching, good gene, tabu search

中图分类号: 

  • TP301.6