首页 | 本学科首页   官方微博 | 高级检索  
     

遗传算法在0/1背包问题中的应用及研究
引用本文:于美丽,张明.遗传算法在0/1背包问题中的应用及研究[J].计算机与现代化,2008(2):30-33.
作者姓名:于美丽  张明
作者单位:上海海事大学信息工程学院,上海,200135
基金项目:上海海事大学基金资助项目(2005079)
摘    要:遗传算法作为一种优胜劣汰的自然规律,可应用于人工智能、机器学习等多个方面。本文将遗传算法应用于0/1背包问题,首先介绍简单遗传算法,通过实验数据分析遗传算法在搜索范围、收敛速度和精度等方面的不足,进而基于贪心算法、适应度函数及遗传算子,修正可行解和不可行解,逐步改进遗传算法,防止算法陷于局部最优,提高算法的全局搜索能力和收敛速度。最后通过实验数据,比较简单遗传算法和改进遗传算法的实验结果,证明改进遗传算法在0/1背包问题应用中的精确性和高效性。

关 键 词:0/1背包问题  简单遗传算法  贪心算法  改进遗传算法
文章编号:1006-2475(2008)02-0030-04
修稿时间:2007年1月25日

Application and Study of Genetic Algorithm on Knapsack Problem
YU Mei-li,ZHANG Ming.Application and Study of Genetic Algorithm on Knapsack Problem[J].Computer and Modernization,2008(2):30-33.
Authors:YU Mei-li  ZHANG Ming
Affiliation:(College of Information Engineering, Shanghai Maritime University, Shanghai 200135, China)
Abstract:As the principle of "selecting the superior and eliminating the inferior" in biology,genetic algorithm has been widely applied on artificial intelligence,machine learning,etc.This paper proposes the idea of genetic algorithm to solve the 0/1 package problem.It first analyzes the weaknesses of the traditional genetic algorithm in resolving 0/1 knapsack problem.A new novel improved genetic algorithm is described,which is combined with greedy algorithm,fitness function and genetic operator.Through improving the feasible and infeasible solution,the algorithm avoids local optimum and enlarges the search space.The experiment compares the results of the two genetic algorithms and represents that the improved genetic algorithm is more efficient and accurate than the traditional method in global research and convergence speed.
Keywords:0/1 knapsack problem  simple genetic algorithm  greedy algorithm  improved genetic algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号