Abstract
A new technique called balancing is presented for the solution of Knapsack Problems. It is proved that an optimal solution to the Knapsack Problem is balanced, and thus only balanced feasible solutions need to be enumerated in order to solve the problem to optimality. Restricting a dynamic programming algorithm to only consider balanced states implies that the Subset-sum Problem, 0–1 Knapsack Problem, Multiple-choice Subset-sum Problem, and Bounded Knapsack Problem all are solvable in linear time, provided that the weights and profits are bounded by a constant. Extensive computational experiments are presented to document that the derived algorithm for the Subset-sum Problem is able to solve several problems from the literature which could not be solved previously.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.