Abstract

This paper proposes a modified iterated greedy algorithm for solving an NP-hard knapsack problem known as the knapsack problem with setup. In contrast to the classical 0–1 knapsack problem, items belong to different classes, and choosing at least one item from a specific class causes a class setup capacity to be consumed and a reduction of the total profit in terms of a penalty that has to be paid. The performance of our technique was compared with those of both a sophisticated, tree-search based, heuristic from the literature and the application of CPLEX to the respective ILP model. Experimental results show that the proposed technique outperforms the heuristic from the literature and yields better performance than CPLEX for medium and large size problem instances.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.