摘要
对求解0/1背包问题的贪婪策略进行了详细的讨论。在分析价值密度贪婪算法缺陷的基础上,提出了重做贪婪选择的改进算法,并从理论和实验两个方面证明了其求解质量的提高。本文还详细分析了k阶优化算法,并证明了其近似比为k/(k+1),最后编程模拟了该算法的实现过程,并对结果进行了分析。
This paper discusses greedy-policy-based algorithin for 0/1 Knapsack Problem in detail. After analyzing the defect of the value density greedy algorithm, the paper proposes an improved algorithm which repeats the greedy selection. The availability of the improved method is proved by both theory and experiments. The k-order optimization algorithm is also analysed in detail. The paper also proves that the ratio of the approximate solution and optimal solution is k/( k + 1 ) and implements this algorithin.
出处
《计算机与现代化》
2007年第4期10-12,16,共4页
Computer and Modernization
关键词
0/1背包问题
贪婪策略
k阶优化算法
近似比
0/1 knapsack problem
greedy policy
k-order optimization algorithm
approximate ratio
作者简介
游维(1982-),女,福建福州人,厦门大学计算机系硕士研究生,研究方向:自然语言处理,计算语言学。