An integrated ILS-VND strategy for solving the knapsack problem with forfeits
摘要
This work address a variant of the knapsack problem, known as the knapsack problem with forfeits, which has numerous applications. In this variant, a set of items and a conflict graph are given, and the objective is to identify a collection of items that adhere to the knapsack’s capacity while maximizing the total value of the items minus the penalties for conflicting items. We propose a novel heuristic for this problem based on the concepts of iterated local search, variable neighborhood descent, and tabu search. Our heuristic takes into account four neighborhood structures, and we introduce efficient data structures to explore them. Experimental results demonstrate that our approach outperforms the state-of-the-art algorithms in the literature. In particular, it delivers superior solutions within significantly shorter computation times across all benchmark instances. Additionally, this study includes an analysis of how the proposed data structures have influenced both the quality of the solutions and the execution time of the method.