Multi-agent Solution for ‘8 Queens’ Puzzle

Ivan Babanin, Ivan Pustovoj, Elena Kleimenova, Sergey Kozhevnikov, Elena Simonova, Petr Skobelev, Alexander Tsarev


The problem of 8 Queens is one of the most well-known combinatorial problems. In this article multi-agent evolutionary-based solution for ‘8 Queens’ problem is proposed. In the multi-agent solution each Queen (or other chess-man) gets a software agent that uses a 'trial-and-error' method in asynchronous and parallel decision making on selecting new position for queens. As the result the solution is found in distributed manner without main control center that provides a number of benefits, for example, introducing new types of chess-man or changing constraints in real time. Two main strategies of Queen’s decision making process has been considered and compared in experiments: random generation of the next move and conflict-solving negotiations between the agents. Experiments’ results show significant acceleration of the decision making process in case of negotiation-based strategy. This solution was developed for training course for students of Computer Science as a methodical basis for designing swarm-based multi-agent systems for solving such complex problems as resource allocation and scheduling, pattern recognition or text understanding.


  1. AgentLink (2012). [online] Available at: <> [5 April 2012].
  2. Wooldridge, M., 2009. An Introduction to Multiagent Systems, John Wiley&Sons. London, 2nd edition.
  3. Bonabeau, E., Theraulaz, G., 2000. Swarm Smarts. Scientific American, vol. 282, no. 3, pp. 54-61.
  4. Skobelev, P., 2011. Multi-Agent Systems for Real Time Resource Allocation, Scheduling, Optimization and Controlling: Industrial Application. In HoloMAS'11, 10th International Conference on Industrial Applications of Holonic and Multi-Agent Systems. Springer. Berlin. pp. 1-15.
  5. Eight queens puzzle (2012), Wikipedia. [online] Available at: <> [10 April 2012].
  6. SemanticWeb (2012), Wikipedia. [online] Available at: <> [20 March 2012].

Paper Citation

in Harvard Style

Babanin I., Pustovoj I., Kleimenova E., Kozhevnikov S., Simonova E., Skobelev P. and Tsarev A. (2012). Multi-agent Solution for ‘8 Queens’ Puzzle . In Proceedings of the 4th International Joint Conference on Computational Intelligence - Volume 1: ECTA, (IJCCI 2012) ISBN 978-989-8565-33-4, pages 278-281. DOI: 10.5220/0004148502780281

in Bibtex Style

author={Ivan Babanin and Ivan Pustovoj and Elena Kleimenova and Sergey Kozhevnikov and Elena Simonova and Petr Skobelev and Alexander Tsarev},
title={Multi-agent Solution for ‘8 Queens’ Puzzle},
booktitle={Proceedings of the 4th International Joint Conference on Computational Intelligence - Volume 1: ECTA, (IJCCI 2012)},

in EndNote Style

JO - Proceedings of the 4th International Joint Conference on Computational Intelligence - Volume 1: ECTA, (IJCCI 2012)
TI - Multi-agent Solution for ‘8 Queens’ Puzzle
SN - 978-989-8565-33-4
AU - Babanin I.
AU - Pustovoj I.
AU - Kleimenova E.
AU - Kozhevnikov S.
AU - Simonova E.
AU - Skobelev P.
AU - Tsarev A.
PY - 2012
SP - 278
EP - 281
DO - 10.5220/0004148502780281