A New Genetic Algorithm for the 0-1 Knapsack Problem

dc.contributor.author MURAT ERSEN BERBERLER
dc.contributor.author Urfat G. NURİYEV
dc.contributor.author Aslı GÜLER
dc.contributor.author Berberler, Murat Ersen
dc.contributor.author Güler, Aslı
dc.contributor.author Nuriyev, Urfat G.
dc.date.accessioned 2025-10-22T16:06:17Z
dc.date.issued 2016
dc.description.abstract In this paper the 0-1 Knapsack Problem (KP) which occurs in many different applications is studied and a new genetic algorithm to solve the KP is proposed. In our methodology n items are represented by n genes on a bit array that compactly stores the values 0 or 1. When calculating fitness values of items coefficients of items whose values are 1 in the bit array are summed. Roulette wheel method is used for choosing parents, in this way it is provided that strong individuals produce more children. Crossover is applied in such a way that roulette wheel is rotated on genes with the same index of parents that the dominant parent can transfer its genes to the child. Mutation is applied for randomly chosen 25% genes and this process is repeated for the number of individuals. The algorithm is written in C programming language and is tested on randomly generated instances. In order to find the optimal solutions of these problems a program that has been written by dynamic programming technique is used. It is seen that the algorithm yields optimal solutions for all instances.
dc.identifier.citation Kellerer H. Pferschy U. Pisinger D. Knapsack Problems (Springer Berlin 2004).Garey M. R. and Johnson D. S. Computers and Intractability: A Guide to the Theory of NP- Completeness (Freeman San Francisco 1979).Sahni S. Approximate algorithms for the 0/1 knapsack problems Journal of ACM 1 115-124 (1975).Ibarra O. H and Kim C. E. Fast approximation algorithms for the knapsack and sum of subset problems Journal of ACM 22(4) 463-468 (1975).Martello S. and Toth P. Knapsack Problems (John Wiley&Sons England 1990).Horowitz E. Sahni S. and Rajasekaran S. Computer algorithms (New York: Computer Science Press W.H. Freeman & Co. 1994).Berberler M.E. Nuriyev U.G. A new heuristic algorithm for the one-dimensional cutting stock problem Applied and Computational Mathematics Vol. 9 No. 1 19-30 (2010).Goldberg D.E. Genetic Algorithms in Search Optimization and Machine Learning (Addison- Wesley 1989).Chu P. A Genetic Algorithm Approach for Combinatorial Optimization Problems Ph.D. thesis at the Management School Imperial College of Science London (1997).Spillman R. Solving large knapsack problems with a genetic algorithm. Proceedings of IEEE International Conference Systems Man and Cybernetics Vancouver Canada. Piscataway NJ: IEEE 632- 637 (1995).Falkenauer E. A hybrid grouping genetic algorithm for bin packing. Journal of Heuristics 2 5-30 (1996).Hussain S. A. and Sastry V. U. K. Application of genetic algorithm for bin packing International Journal of Computer Mathematics 63 203-214 (1997).Khuri S. Back T. Heitkotter J.: The zero/one multiple knapsack problem and genetic algorithms. In: Deaton E. et al. (eds.) Proc. of the 1994 ACM symposium of Applied Computation ACM Press New York 188-193 (1994).Battiti R. Tecchiolli G. Parallel biased search for combinatorial optimization: Genetic algorithms and tabu search Microprocessors and Microsystems 16 351-367 (1992).Khan M. H. A. An Evolutionary Algorithm with Masked Mutation for 0/1 Knapsack Problem Proceedings of Informatics Electronics & Vision (ICIEV) 2013 International Conference on IEEE 1-6 (2013).Zhao J. Pang F. Huang T. and Liu Y. Genetic algorithm based on Greedy strategy in the 0-1 Knapsack Problem Proceedings of Third International Conference on Genetic and Evolutionary Computing IEEE 105-107 (2009).Neoh S. C. Morad N. Lim C. P. and Aziz Z. A. A GA-PSO layered encoding evolutionary approach to 0/1 knapsack optimization International journal of innovative computing information and control 6 (8) 3489-3505 (2010)
dc.identifier.issn 2147-4575
dc.identifier.uri https://gcris.yasar.edu.tr/handle/123456789/11055
dc.identifier.uri https://search.trdizin.gov.tr/en/yayin/detay/222558
dc.language.iso İngilizce
dc.relation.ispartof Academic Platform-Journal of Engineering and Science
dc.rights info:eu-repo/semantics/openAccess
dc.source ACADEMIC PLATFORM-JOURNAL OF ENGINEERING AND SCIENCE
dc.subject Bilgisayar Bilimleri- Yazılım Mühendisliği
dc.subject Bilgisayar Bilimleri, Yazılım Mühendisliği
dc.title A New Genetic Algorithm for the 0-1 Knapsack Problem
dc.type Article
dc.type Article
dspace.entity.type Publication
gdc.author.id 0000-0002-9227-2040
gdc.coar.type text::journal::journal article
gdc.description.department
gdc.description.departmenttemp [Nuriyev, Urfat G.] Ege Üniversitesi, Matematik Bölümü, İzmir, Türkiye; [Berberler, Murat Ersen] Dokuz Eylül Üniversitesi, Bilgisayar Programcılığı Bölümü, İzmir, Türkiye; [Güler, Aslı] Yaşar Üniversitesi, Bilgisayar Programcılığı Bölümü, İzmir, Türkiye
gdc.description.endpage 14
gdc.description.issue 3
gdc.description.publicationcategory Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
gdc.description.startpage 9
gdc.description.volume 4
gdc.identifier.trdizinid 222558
gdc.index.type TR-Dizin
oaire.citation.endPage 14
oaire.citation.startPage 9
publicationissue.issueNumber 3
publicationvolume.volumeNumber 4
relation.isOrgUnitOfPublication ac5ddece-c76d-476d-ab30-e4d3029dee37
relation.isOrgUnitOfPublication.latestForDiscovery ac5ddece-c76d-476d-ab30-e4d3029dee37

Files