Advertisement

An Empirical Analysis of Genetic Algorithm with Different Mutation and Crossover Operators for Solving Sudoku

  • D. Srivatsa
  • T. P. V. Krishna Teja
  • Ilam Prathyusha
  • G. JeyakumarEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11941)

Abstract

Prospective optimization tools such as Evolutionary Algorithms (EAs), are widely used to tackle optimization problems in the real world. Genetic Algorithm (GA), one of the instances of EAs, has potential research avenues of testing its applicability in real-world problems and improving its performance. This paper presents a study on the capability of the Genetic Algorithm (GA) to solve the classical Sudoku problem. The investigation includes various mutations and crossover schemes to unravel the Sudoku problem. A comparative study on the performance of GA with these schemes was conducted involving Sudoku. The findings reveal that GA is ineffective to deal with the Sudoku problem, as compared to other classical algorithms, as it often fails to disengage itself from some local optimum condition. On a positive note, GA was able to solve the Sudoku problems much faster, only the Sudoku had very few unfilled elements. A critical appraisal of the observed behavior of GA is presented in this paper, covering combinations of two mutations and three crossovers schemes.

Keywords

Genetic algorithm Mutations Crossovers Puzzle Sudoku Local minima 

References

  1. 1.
    Janani, N., Shiva Jegan, R.D., Prakash, P.: Optimization of virtual machine placement in cloud environment using genetic algorithm. Res. J. Appl. Sci. Eng. Technol. 10(3), 274–287 (2015)CrossRefGoogle Scholar
  2. 2.
    Raju, D.K.A., Velayutham, C.S.: A study on GA based video abstraction system. In: Proceedings of World Congress on Nature Biologically Inspired Computing (2009)Google Scholar
  3. 3.
    Mcgerty, S., Moisiadis, F.: Are evolutionary algorithms required to solve sudoku problems? In: Fourth International Conference on Computer Science and Information Technology, pp. 365–377 (2014).  https://doi.org/10.5121/csit.2014.4231
  4. 4.
    Sato, Y., Inoue, H.: Solving sudoku with genetic operations that preserve building blocks. In: Proceedings of the 2010 IEEE Conference on Computational Intelligence and Games (2010).  https://doi.org/10.1109/itw.2010.5593375
  5. 5.
    Weiss, J.M.: Genetic algorithms and sudoku. In: Midwest Instruction and Computing Symposium (MICS 2009), pp. 1–9 (2009)Google Scholar
  6. 6.
    Deng, X.Q., Da Li, Y.: A novel hybrid genetic algorithm for solving Sudoku puzzles. Optim. Lett. 7, 241–257 (2013)MathSciNetCrossRefGoogle Scholar
  7. 7.
    Kazemi, S., Fatemi, B.: A retrievable genetic algorithm for efficient solving of sudoku puzzles. Int. J. Comput. Inf. Eng. 8(5) (2014)Google Scholar
  8. 8.
    Mantere, T., Koljonen, J.: Solving, rating and generating Sudoku puzzles with GA. In: IEEE Congress on Evolutionary Computation (2007)Google Scholar
  9. 9.
    Das, K.N., Bhatia, S., Puri, S., Deep, K.: A retrievable GA for solving sudoku puzzles. Technical report, Citeseer (2012)Google Scholar
  10. 10.
    Perez, M., Marwala, T.: Stochastic optimization approaches for solving sudoku. arXiv:0805.0697v1 (2008)
  11. 11.
    Chel, H., Mylavarapu, D., Sharma, S.: A novel multistage genetic algorithm approach for solving sudoku puzzle. In: Proceedings of 2016 International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT) (2016)Google Scholar
  12. 12.
    Hamza, K.A., Sevkli, A.Z.: A variable neighborhood search for solving sudoku puzzles. In: Proceedings of the International Joint Conference on Computational Intelligence, vol. 1, pp. 326–331 (2014)Google Scholar
  13. 13.
    Gerges, F., Azar, D., Zoueii, G.: Genetic algorithms with local optima handling to solve sudoku puzzles. In: Proceedings of the 2018 International Conference on Computing and Artificial Intelligence (2018)Google Scholar
  14. 14.
    Ernstberger, K.W., Venkataramanan, M.A.: Announcing the engagement of sudoku: an in-class genetic algorithm game. J. Innov. Educ. 16(3), 185–196 (2018)Google Scholar
  15. 15.
    Rodriguez Vasquez, K.: GA and entropy objective function for solving Sudoku puzzle. In: Proceedings of Genetic and Evolutionary Computation Conference Companion (2018)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Computer Science and EngineeringAmrita School of Engineering, Amrita Vishwa VidyapeethamCoimbatoreIndia

Personalised recommendations