Research Article

Ant Colony Optimization Algorithm for the Futoshiki Puzzle

Volume: 38 Number: 4 December 1, 2025
EN

Ant Colony Optimization Algorithm for the Futoshiki Puzzle

Abstract

Futoshiki is a computationally hard problem belonging to the Latin Square Completion-type Puzzles. It is played on a partially filled n×n grid that may include inequality constraints between cells. The objective is to complete the grid such that each row and column contains the integers from 1 to n exactly once, while also satisfying all inequality constraints. In this work, we propose FutoshikiACO, an Ant Colony Optimization-based algorithm to solve Futoshiki instances of fixed size. We evaluate the performance of this stochastic method through computational experiments. Compared to existing deterministic approaches, FutoshikiACO explores a significantly reduced search space. Our results not only demonstrate the inherent complexity of the Futoshiki problem but also highlight the types of instances where ant colony-based metaheuristics are particularly effective in solving such constraint satisfaction problems.

Keywords

References

  1. [1] Colbourn, C. J., “The complexity of completing partial latin squares”, Discret. Appl. Math., 8 (1): 25-30, (1984). DOI: https://doi.org/10.1016/0166-218X(84)90075-1
  2. [2] Garey, J. D., M. R., “Computers and intractability”, A Guide to the Theory of Np-completeness. 338: 79-80, (1979). DOI: https://doi.org/10.1137/1024022
  3. [3] Andersson, D., “Hashiwokakero is NP-complete’’, Inf. Processing Letters 109(19): 1145-1146, (2009). DOI: 10.1016/j.ipl.2009.07.017
  4. [4] Kölker, J., “Kurodokora is NP-complete”, J. of Inf. Processing 20(3): 694-706, (2012). DOI: 10.1177/1073858411435128
  5. [5] Haraguchi, K., Ono, H., “Approximability of latin square completion-type puzzles,” in Fun with Algorithms - 7th International Conference, FUN 2014, Lipari Island, Sicily, Italy, July 1-3, 2014. Proceedings, 8496, (2014). DOI: 10.1007/978-3-319-07890-8_19
  6. [6] Donovan, D. M., “The completion of partial latin squares”, Australas. J Comb., 22:247-264, (2000).
  7. [7] Norvig, P., “Solving every sudoku puzzle,” http://norvig.com/sudoku.html, (2018).
  8. [8] Dorigo, M., Birattari, M., Stützle, T., “Ant colony optimization,” IEEE Comput. Intell. Mag., 1(4):28-39, (2006). DOI: 10.1109/MCI.2006.329691

Details

Primary Language

English

Subjects

Algorithms and Calculation Theory

Journal Section

Research Article

Early Pub Date

November 15, 2025

Publication Date

December 1, 2025

Submission Date

December 19, 2023

Acceptance Date

September 29, 2025

Published in Issue

Year 2025 Volume: 38 Number: 4

APA
Baklan Sen, B., & Yaşar, Ö. (2025). Ant Colony Optimization Algorithm for the Futoshiki Puzzle. Gazi University Journal of Science, 38(4), 1754-1768. https://doi.org/10.35378/gujs.1406713
AMA
1.Baklan Sen B, Yaşar Ö. Ant Colony Optimization Algorithm for the Futoshiki Puzzle. Gazi University Journal of Science. 2025;38(4):1754-1768. doi:10.35378/gujs.1406713
Chicago
Baklan Sen, Banu, and Öznur Yaşar. 2025. “Ant Colony Optimization Algorithm for the Futoshiki Puzzle”. Gazi University Journal of Science 38 (4): 1754-68. https://doi.org/10.35378/gujs.1406713.
EndNote
Baklan Sen B, Yaşar Ö (December 1, 2025) Ant Colony Optimization Algorithm for the Futoshiki Puzzle. Gazi University Journal of Science 38 4 1754–1768.
IEEE
[1]B. Baklan Sen and Ö. Yaşar, “Ant Colony Optimization Algorithm for the Futoshiki Puzzle”, Gazi University Journal of Science, vol. 38, no. 4, pp. 1754–1768, Dec. 2025, doi: 10.35378/gujs.1406713.
ISNAD
Baklan Sen, Banu - Yaşar, Öznur. “Ant Colony Optimization Algorithm for the Futoshiki Puzzle”. Gazi University Journal of Science 38/4 (December 1, 2025): 1754-1768. https://doi.org/10.35378/gujs.1406713.
JAMA
1.Baklan Sen B, Yaşar Ö. Ant Colony Optimization Algorithm for the Futoshiki Puzzle. Gazi University Journal of Science. 2025;38:1754–1768.
MLA
Baklan Sen, Banu, and Öznur Yaşar. “Ant Colony Optimization Algorithm for the Futoshiki Puzzle”. Gazi University Journal of Science, vol. 38, no. 4, Dec. 2025, pp. 1754-68, doi:10.35378/gujs.1406713.
Vancouver
1.Banu Baklan Sen, Öznur Yaşar. Ant Colony Optimization Algorithm for the Futoshiki Puzzle. Gazi University Journal of Science. 2025 Dec. 1;38(4):1754-68. doi:10.35378/gujs.1406713