A Hybrid Dynamic Programming Algorithm for Solving the 0-1 Knapsack Problem

dc.contributor.authorXing, Feifan
dc.contributor.supervisorGulliver, T. Aaron
dc.date.accessioned2022-08-17T17:23:36Z
dc.date.available2022-08-17T17:23:36Z
dc.date.copyright2022en_US
dc.date.issued2022-08-17
dc.degree.departmentDepartment of Electrical and Computer Engineeringen_US
dc.degree.levelMaster of Engineering M.Eng.en_US
dc.description.abstractThe 0-1 knapsack problem is a classic non-deterministic polynomial complete problem and has a wide range of applications in many fields. It is a multistage decision problem and can be solved using dynamic programming. First, this report presents the concept, terminology, conditions, and steps of dynamic programming algorithms. Then, two algorithms are introduced to solve the 0-1 knapsack problem, namely Tradition Dynamic Programming (TDP) and Efficient Dynamic Programming (EDP). It is shown that the time complexity and space complexity of TDP are both O(nW), and the time complexity of EDP is O(nW) while the space complexity is only O(W). However, EDP cannot provide any information about item selection, which limits its application. Next, a new hybrid algorithm that combines EDP and the divide-and-conquer method is proposed. This algorithm eliminates the backtracking process used in TDP for item selection but can still determine which items are in the optimal solution. Analysis shows that the time complexity of the hybrid algorithm is O(nW) and the space complexity is O(W+log⁡n). Results are presented which show that compared with TDP, the new hybrid algorithm has significant advantages in solving large-scale knapsack problems.en_US
dc.description.scholarlevelGraduateen_US
dc.identifier.urihttp://hdl.handle.net/1828/14095
dc.language.isoenen_US
dc.rightsAvailable to the World Wide Weben_US
dc.subjectDynamic Programmingen_US
dc.subjectKnapsack Problemen_US
dc.subjectDivide-and-conqueren_US
dc.titleA Hybrid Dynamic Programming Algorithm for Solving the 0-1 Knapsack Problemen_US
dc.typeprojecten_US

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Xing_Feifan_MEng_2022.pdf
Size:
750.93 KB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
2 KB
Format:
Item-specific license agreed upon to submission
Description: