Abstract
Quantum Inspired Evolutionary Algorithms (QIEAs) are Evolutionary Algorithms which use concepts and principles of quantum computing. The 0/1 knapsack problem (KP) is a well known combinatorial optimization problem that has been typically used to validate the performance of QIEAs. However, there are some variants of KPs called difficult knapsack problems (DKPs) that are known to be more difficult to solve. QIEAs have not yet been fully explored for solving these. In this work, an improved QIEA, called QIEA-PSA is presented. A novel method to initialize the qubit individuals based on heuristic information for the KP instance and a method for size reduction for each new generation are introduced in the presented QIEA-PSA. Experiments are carried out for several types of DKPs that are much larger in size than those attempted hitherto. QIEA-PSA provides much better solutions than QIEA with much lesser computation times. Even a serial implementation of QIEA-PSA competes favorably on the same problem instances with a parallel implementation of an exact algorithm given recently in literature. A comparison is made which shows QIEA-PSA outperforms a recently applied population based search technique to solve benchmark KP instances. The ideas used for developing QIEA-PSA are general and may be utilized with advantage on other problems.
Similar content being viewed by others
References
Kellerer H, Pferschy U, Pisinger D (2004) Knapsack problems. Springer, Berin
Horowitz E, Sahani S (1974) Computing partitions with applications to the knapsack problem. J ACM 21:277–292
Fayard D, Plateau G (1975) Resolution of the 0–1 knapsack problem. Comparison of methods. Math Program 8:272–307
Nauss RM (1976) An efficient algorithm for the 0–1 knapsack problem. Manage Sci 23:27–31
Martello S, Toth P (1977) An upper bound for the zero-one knapsack problemand a branch and bound algorithm. Eur J Oper Res 1:169–175
Bradley GH (1971) Transformation of integer programs to Knapsack problems. Discrete Math 1(1):29–45
Karp R (1972) Reducibility among combinatorial problems. Technical Report 3. University of California, Berkeley
Narayanan A, Moore M (1996) Quantum-inspired genetic algorithms. In: Proc CEC, pp 61–66
Han K, Kim J (2000) Genetic quantum algorithm and its application to combinatorial optimization problem. In: Proc. CEC, pp 1354–1360
Han KH, Kim JH (2002) Quantum-Inspired Evolutionary Algorithm for a class of combinatorial optimization. IEEE Trans Evol Comput 6(6):580–593
Han KH (2006) On the analysis of the Quantum-inspired Evolutionary Algorithm with a single individual. In: IEEE congress on evolutionary computation, Vancouver, Canada
Platel MD, Schliebs S, Kasabov N (2009) Quantum-Inspired Evolutionary Algorithm: a multimodel EDA. IEEE Trans Evol Comput 13(6):1218–1232
Zhang G (2011) Quantum-inspired evolutionary algorithms: a survey and empirical study. J Heurist 17(3):303–351
Zhang H, Zhang G, Rong H, Cheng J (2010) Comparisons of quantum rotation gates in Quantum-Inspired Evolutionary Algorithms. In: Sixth international conference on natural computation (ICNC 2010), Hiroshima
Yang SY, Wang M, Jiao LC (2004) A genetic algorithm based on quantum chromosome. In: Proc. ICSP, pp 1622–1625
Yang SY, Wang M, Jiao LC (2004) A novel quantum evolutionary algorithm and its application. In: Proc CEC, pp 820–826
Patvardhan C, Prakash P, Srivastav A (2009) A novel quantum-inspired evolutionary algorithm for the quadratic knapsack problem. In: Proceedings of the international conference on operationas research applications in engineering and management, May 2009; Tiruchirapalli, India, pp 2061–2064
Zhang GX, Li N, Jin WD, Hu LZ (2006) Novel quantum algorithm and its applications. Front Electr Electron Eng Cina 1(1):31–26
Li Y, Zhang YN, Zhao RC, Jiao LC (2004) The immune quantum-inspired evolutionary algorithm. In: IEEE ICSMC, pp 3301–3305
Li Y, Zhang Y, Cheng Y, Jiang X, Zhao R (2005) A novel immune quantum-inspired genetic algorithm. In: Lecture notes in computer science, pp 215–218
Wang Y, Feng XY, Huang YX, Pu DB, Zhou WG, Liang YC, Zhou CG (2007) A novel quantum swarm evolutionary algorithm and its applications. Neurocomputing 70(4–6):633–640
Wang Y, Feng XY, Huang YX, Zhou WG, Liang YC, Zhou CG (2005) A novel quantum swarm evolutionary algorithm for solving 0–1 knapsack problem. In: Lecture notes in computer science, pp 698–704
Zhang GX, Gheorghe M, Wu CZ (2008) A quantum-inspired evolutionary algorithm based on p systems for knapsack problem. Fund Inf 87(1):93–116
Yarlagadda P, Kim YH (2012) An Improved Quantum-Inspired Evolutionary Algorithm based on P systems with a dynamic membrane structure for Knapsack problems. Appl Mech Mater 239–240:1528–1531
Mani A, Patvardhan C (2010) A hybrid quantum evolutionary algorithm for solving engineering optimization problems. Int J Hybrid Intell Syst 7:225–235
Mani A, Patvardhan C (2010) Solving ceramic grinding optimization problem by adaptive quantum evolutionary algorithm. In: Proceedings of the international conference on intelligent systems, modelling and simulation, January 2010, Liverpool, United Kingdom
Han K, Kim J (2004) Quantum-inspired evolutionary algorithms with a new termination criterion, h-epsilon gate, and two-phase scheme. IEEE Trans Evol Comput 8(2):156–169
Han K, Kim J (2003) On setting the parameters of quantum-inspired evolutionary algorithm for practical application. In: Proc. CEC, pp 178–184
Han K, Park K, Lee C, Kim J (2001) Parallel quantum-inspired genetic algorithm for combinatorial optimization prblem. In: Proc. CEC, pp 1422–1429
Zhang R, Gao H (2007) Improved quantum evolutionary algorithm for combinatorial optimization problem. In: Proc. ICMLC, pp 3501–3505
Platel MD, Schliebs S, Kasabov N (2007) A versatile quantum-inspired evolutionary algorithm. In: Proc. CEC, pp 423–430
Kim Y, Kim JH, Han KH (2006) Quantum-inspired multiobjective evolutionary algorithm for multiobjective 0/1 knapsack problems. In: Proc. CEC, pp 2601–2606
Patvardhan C, Narayan A, Srivastav A (2007) Enhanced Quantum Evolutionary Algorithms for difficult Knapsack problems. In: PReMI’07 Proceedings of the 2nd international conference on Pattern recognition and machine intelligence, pp 252–260
Nowotniak R, Kucharski J (2012) GPU-based tuning of quantum-inspired genetic algorithm for a combinatorial optimization problem. Bull Polish Acad Sci Tech Sci 60(2):323–330
Boyer V, Baz DE, Elkihel M (2012) Solving knapsack problems on GPU. Comput Oper Res 39:42–47
Reilly CH (2009) Synthetic optimization problem generation: show us the correlations!. INFORMS J Comput 21(3):458–467
Martello S, Pisinger D, Paolo T (2000) New trends in exact algorithms for the 0–1 knapsack problem. Eur J Oper Res 123(2):325–332
Pisinger D (2005) Where are the hard Knapsack problems. Technical Report. Comput Oper Res 32(5):2271–2284
Martello S, Pisinger D, Toth P (1999) Dynamic programming and strong bounds for the 0–1 Knapsack problem. Manage Sci 45:414–424
Bansal JC, Deep K (2012) A modified binary particle swarm optimization for Knapsack problems. Appl Math Comput 218:11042–11061
Martello S, Toth P (1990) Knapsack problems: algorithms and computer implementations. Wiley, Chichester
Zhao Z, Peng X, Peng Y, Yu E (2006) An effective repair procedure based on Quantum-inspired Evolutionary Algorithm for 0/1 Knapsack Problems. In: Proceedings of the 5th WSEAS Int. conf. on instrumentation, measurement, circuits and systems, Hangzhou, pp 203–206
Tayarani-N MH, Akbarzadeh-T MR (2008) A sinusoid size ring structure quantum evolutionary algorithm. In: IEEE conference on cybernetics and intelligent systems, pp 1165–1170
Mahdabi P, Jalili S, Abadi M (2008) A multi-start quantum-inspired evolutionary algorithm for solving combinatorial optimization problems. In: (GECCO ’08) Proceedings of the 10th annual conference on genetic and evolutionary computation, pp 613–614
Imabeppu T, Nakayama S, Ono S (2008) A study on a quantum-inspired evolutionary algorithm based on pair swap. Artif Life Robot 12:148–152
Pisinger D (2012) David Pisinger’s optimization codes. [Internet]. [cited 2012 November 2]. http://www.diku.dk/pisinger/codes.html
Boyer V, Baz D, Elkihel M. Knapsack Problems. [Internet]. http://www.laas.fr/CDA-EN/45-31329-Knapsack-problems.php
Acknowledgments
Authors are grateful to Department of Science and Technology, India (DST) and Deutsche Forschungsgemeinschaft, Germany (DFG) for the support under project No. INT/FRG/DFG/P-38/2012 titled “Algorithm Engineering of Quantum Evolutionary Algorithms for Hard Optimization Problems”.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Patvardhan, C., Bansal, S. & Srivastav, A. Quantum-Inspired Evolutionary Algorithm for difficult knapsack problems. Memetic Comp. 7, 135–155 (2015). https://doi.org/10.1007/s12293-015-0162-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12293-015-0162-1