Hostname: page-component-745bb68f8f-s22k5 Total loading time: 0 Render date: 2025-02-09T20:57:24.962Z Has data issue: false hasContentIssue false

Solving the 0/1 knapsack problem using an adaptive genetic algorithm

Published online by Cambridge University Press:  17 May 2002

ZOHEIR EZZIANE
Affiliation:
Faculty of Science Research Laboratory, Mathematics & Computer Science Department, United Arab Emirates University, United Arab Emirates
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

Probabilistic and stochastic algorithms have been used to solve many hard optimization problems since they can provide solutions to problems where often standard algorithms have failed. These algorithms basically search through a space of potential solutions using randomness as a major factor to make decisions. In this research, the knapsack problem (optimization problem) is solved using a genetic algorithm approach. Subsequently, comparisons are made with a greedy method and a heuristic algorithm. The knapsack problem is recognized to be NP-hard. Genetic algorithms are among search procedures based on natural selection and natural genetics. They randomly create an initial population of individuals. Then, they use genetic operators to yield new offspring. In this research, a genetic algorithm is used to solve the 0/1 knapsack problem. Special consideration is given to the penalty function where constant and self-adaptive penalty functions are adopted.

Type
Research Article
Copyright
© 2002 Cambridge University Press