There is a newer version of the record available.

Published July 21, 2019 | Version v1
Preprint Open

Genetic Algorithm for the 0/1 Multidimensional Knapsack Problem

Creators

Description

The 0/1 multidimensional knapsack problem is the 0/1 knapsack problem with m constraints which makes it difficult to solve using traditional methods like dynamic programming or branch and bound algorithms. We present a genetic algorithm for the multidimensional knapsack problem with Java code that is able to solve publicly available instances in a very short computational duration. Our algorithm uses iteratively computed Lagrangian multipliers as constraint weights to augment the greedy algorithm for the multidimensional knapsack problem and uses that information in a greedy crossover in a genetic algorithm. The algorithm uses several other hyperparameters which can be set in the code to control convergence. Our algorithm improves upon the algorithm by Chu and Beasley in that it converges to optimum or near optimum solutions much faster.

Files

GeneticKnapsack.pdf

Files (253.8 kB)

Name Size Download all
md5:9f91ebfc29f360bbdbf13fe279ec5798
253.8 kB Preview Download