JOURNAL ARTICLE

0-1 Knapsack Problem Solving using Genetic Optimization Algorithm

Mubarak, AltamimiNehad, Ramaha

Year: 2024 Journal:   Zenodo (CERN European Organization for Nuclear Research)   Publisher: European Organization for Nuclear Research

Abstract

A 0-1 knapsack problem with m constraints is known as the 0-1 multidimensional knapsack problem, and it is challenging to solve using standard techniques like branch and bound algorithms or dynamic programming. The goal of the Knapsack problem is to maximize the utility of the items in a knapsack while staying within its carrying capacity. This paper presents a genetic algorithm with Python code that can solve publicly available instances of the multidimensional knapsack problem in a very quick computational time. By identifying the significant genes, the attribute reduction method that uses the rough set theory reduces the search space and guarantees that useful information is not lost. To regulate convergence, the algorithm makes use of many additional hyperparameters that can be adjusted in the code.

Keywords:
Knapsack problem Continuous knapsack problem Polynomial-time approximation scheme Change-making problem Genetic algorithm Cutting stock problem Generalized assignment problem Set (abstract data type)

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.56
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Morphological variations and asymmetry
Physical Sciences →  Mathematics →  Geometry and Topology
Cell Image Analysis Techniques
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Biophysics
Medicinal Plant Pharmacodynamics Research
Life Sciences →  Pharmacology, Toxicology and Pharmaceutics →  Pharmacology
© 2026 ScienceGate Book Chapters — All rights reserved.