上海大学学报(自然科学版) ›› 2010, Vol. 16 ›› Issue (4): 387-393.

• 数理化科学 • 上一篇    下一篇

可分离的二次背包问题的一种直接算法

任燕,陈伟   

  1. (上海大学 理学院,上海 200444)
  • 收稿日期:2009-05-13 出版日期:2010-08-30 发布日期:2010-08-30
  • 通讯作者: 陈伟(1965~),女,副教授,研究方向为整数规划. E-mail:chenwei@staff.shu.edu.cn

Algorithm for Direct Solution of Separable Quadratic Knapsack Problem

REN Yan,CHEN Wei   

  1. (College of Sciences, Shanghai University, Shanghai 200444, China)
  • Received:2009-05-13 Online:2010-08-30 Published:2010-08-30

摘要:

二次背包问题是一个NP hard问题.给出一般的可分离二次背包问题的一种快速求解的直接算法,分析可分离连续二次背包问题的结构特性,并研究此问题最优解与拉格朗日系数λ的关系.在此基础上,提出通过调节λ来找到可分离二次背包问题的局部最优解的算法,此算法的计算复杂度为O(n).

关键词:  二次背包问题;Karush-Kuhn-Tucker(KKT)条件;可分离;拉格朗日系数

Abstract:

 Quadratic knapsack problem is NP hard. This paper presents an algorithm to directly obtain a local optimal solution of a separable quadratic knapsack problem. By analyzing the structural characteristics of the problem, we study the relations between Lagrangian λ and the optimal solution. An algorithm is presented in which the Lagrangian λ is adjusted to give a local optimal solution. Computational complexity is O(n). 

Key words: quadratic knapsack problem; KarushKuhnTucker (KKT) condition; separable; Lagrangian

中图分类号: