Published October 18, 2019 | Version v1.7

GKNAP: A Java and C++ package for solving the multidimensional knapsack problem

Authors/Creators

  • 1. JHU

Description

A genetic algorithm implementation for the multidimensional knapsack problem. The multi-constraint (or multidimensional) knapsack problem is a generalization of the 0/1 knapsack problem. The multi-constraint knapsack problem has m constraints and one objective function to be maximized while all the m constraints are satisfied.

The implementation is similar to the one described in Chu and Beasley, but it's significantly different. It uses Lagrangian multipliers as constraint weights and compared to the paper, it finds close to optimum solutions much faster. (Convergence can be controlled using the parameters).

Files

shah314/gamultiknapsack-v1.7.zip

Files (415.4 kB)

Name Size Download all
md5:d5e7ef89fdfd4288a4d4265024441d13
415.4 kB Preview Download

Additional details

Related works