Nothing Special   »   [go: up one dir, main page]

Skip to main content

Sequential and Parallel Scattered Variable Neighborhood Search for Solving Nurikabe

  • Conference paper
  • First Online:
Variable Neighborhood Search (ICVNS 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12559))

Included in the following conference series:

  • 353 Accesses

Abstract

Japanese pencil games have been the subjects of innumerable papers. However, some problems - like Sudoku - receive far more attention than others - like Nurikabe. In this paper we propose a novel algorithm to solve Nurikabe puzzles. We first introduce a sequential hybrid algorithm that we call Scattered Variable Neighborhood Search. We then propose a method of parallelizing this algorithm, examining the empirical benefits of parallelization. We conclude that our parallel implementation performs best in almost all scenarios.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    Due to Python’s global interpreter lock, which limits the number of actual threads running at a given time to 1, we used processes instead of threads in our parallel implementation. Since processes are consume more memory than threads, and data had to be duplicated across processes, this may have caused some slowdown due to high memory, and thus high swap, usage.

  2. 2.

    More than five minutes elapsed before a solution was found.

  3. 3.

    As of the time of writing.

References

  1. Das, K.N., Bhatia, S., Puri, S.: A retrievable GA for solving sudoku puzzles (2011)

    Google Scholar 

  2. Sevkli, A.Z., Hamza, K.A.: General variable neighborhood search for solving sudoku puzzles: unfiltered and filtered models. Soft Comput. 23(15), 6585–6601 (2019). https://doi.org/10.1007/s00500-018-3307-6

    Article  Google Scholar 

  3. Amos, M., Crossley, M., Loyd, H.: Solving nurikabe with ant colony optimization (extended version) *, June 2019. https://doi.org/10.13140/RG.2.2.23813.19685

  4. Holzer, M., Klein, A., Kutrib, M.: On the NP-completeness of the nurikabe pencil puzzle and variants thereof (2008)

    Google Scholar 

  5. Cayli, M., Kavlak, E., Kaynar, H., Türe, F., Erdem, E.: Solving challenging grid puzzles with answer set programming. In: Proceedings of ASP, pp. 175–190, December 2007

    Google Scholar 

  6. Glover, F., Laguna, M., Marti, R.: Fundamentals of scatter search and path relinking. Control Cybern. 29, 653–684 (2000)

    MathSciNet  MATH  Google Scholar 

  7. Moreno Pérez, J.A., Hansen, P., Mladenovi’c, N.: Variable neighbourhood search: methods and applications. Ann. Oper. Res. 175(01), 367–407 (2010)

    Article  MathSciNet  Google Scholar 

  8. Glover, F.: Heuristics for integer programming using surrogate constraints. Decis. Sci. 8, 156–166 (1977). https://doi.org/10.1111/j.1540-5915.1977.tb01074.x

    Article  Google Scholar 

  9. Janko, O.: Home. https://www.janko.at/Raetsel/Nurikabe/

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Paul Bass or Aise Zulal Sevkli .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bass, P., Sevkli, A.Z. (2021). Sequential and Parallel Scattered Variable Neighborhood Search for Solving Nurikabe. In: Mladenovic, N., Sleptchenko, A., Sifaleras, A., Omar, M. (eds) Variable Neighborhood Search. ICVNS 2021. Lecture Notes in Computer Science(), vol 12559. Springer, Cham. https://doi.org/10.1007/978-3-030-69625-2_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-69625-2_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-69624-5

  • Online ISBN: 978-3-030-69625-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics