Abstract
This paper focuses on solving the knapsack problem with forfeits (KPF). This variation of the knapsack problem includes soft conflicts or forfeits, where forfeit pairs consist of two items and an associated penalty, which must be subtracted from the total profit if both items in the pair are chosen to be jointly in the knapsack. The proposed method combines the fixed set search (FSS) metaheuristic’s learning mechanism with integer programming to solve subproblems. A new ground set of elements for the KPF is introduced to augment the information provided by the fixed set, and the method for creating fixed sets is adjusted to increase the diversity of solutions. The conducted computational experiments show that the proposed method significantly outperforms current state-of-the-art methods and finds a large number of best-known solutions for the standard test instances. Moreover, the method performs well across a wide range of parameter values. The proposed approach does not significantly exploit any specific properties of the KPF and could potentially be applied to other 0–1 problems, such as the minimum vertex cover problem or the facility location problem, without significant modifications. Additionally, the method’s simplicity makes it suitable for hybridization with other metaheuristic approaches or the incorporation of specific KPF properties to improve its performance.
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.