Landscape analysis and efficient metaheuristics for solving the n-queens problem

被引:13
|
作者
Masehian, Ellips [1 ]
Akbaripour, Hossein [1 ]
Mohabbati-Kalejahi, Nasrin [2 ]
机构
[1] Tarbiat Modares Univ, Dept Ind Engn, Tehran, Iran
[2] Amirkabir Univ Technol, Fac Ind Engn, Tehran, Iran
关键词
n-Queens problem; Local search; Simulated annealing; Scatter search; Parameter tuning; TOPSIS method; Fitness analysis of landscape; SEARCH;
D O I
10.1007/s10589-013-9578-z
中图分类号
C93 [管理学]; O22 [运筹学];
学科分类号
070105 ; 12 ; 1201 ; 1202 ; 120202 ;
摘要
The n-queens problem is a classical combinatorial optimization problem which has been proved to be NP-hard. The goal is to place n non-attacking queens on an nxn chessboard. In this paper, two single-solution-based (Local Search (LS) and Tuned Simulated Annealing (SA)) and two population-based metaheuristics (two versions of Scatter Search (SS)) are presented for solving the problem. Since parameters of heuristic and metaheuristic algorithms have great influence on their performance, a TOPSIS-Taguchi based parameter tuning method is proposed, which not only considers the number of fitness function evaluations, but also aims to minimize the runtime of the presented metaheuristics. The performance of the suggested approaches was investigated through computational analyses, which showed that the Local Search method outperformed the other two algorithms in terms of average runtimes and average number of fitness function evaluations. The LS was also compared to the Cooperative PSO (CPSO) and SA algorithms, which are currently the best algorithms in the literature for finding the first solution to the n-queens problem, and the results showed that the average fitness function evaluation of the LS is approximately 21 and 8 times less than that of SA and CPSO, respectively. Also, a fitness analysis of landscape for the n-queens problem was conducted which indicated that the distribution of local optima is uniformly random and scattered over the search space. The landscape is rugged and there is no significant correlation between fitness and distance of solutions, and so a local search heuristic can search a rugged plain landscape effectively and find a solution quickly. As a result, it was statistically and analytically proved that single-solution-based metaheuristics outperform population-based metaheuristics in finding the first solution of the n-queens problem.
引用
收藏
页码:735 / 764
页数:30
相关论文
共 50 条
  • [1] Landscape analysis and efficient metaheuristics for solving the n-queens problem
    Ellips Masehian
    Hossein Akbaripour
    Nasrin Mohabbati-Kalejahi
    Computational Optimization and Applications, 2013, 56 : 735 - 764
  • [2] An Efficient Parallel Hardware Scheme for Solving the N-Queens Problem
    Azuma, Yuuma
    Sakagami, Hayato
    Kise, Kenji
    2018 IEEE 12TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2018), 2018, : 16 - 22
  • [3] A novel approach to solving N-queens problem
    Kaosar, G
    Shorfuzzaman, M
    Ahmed, S
    8TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL V, PROCEEDINGS: COMPUTER SCIENCE AND ENGINEERING, 2004, : 186 - 190
  • [4] A modified Hopfield model for solving the N-Queens problem
    da Silva, IN
    de Souza, AN
    Bordon, ME
    IJCNN 2000: PROCEEDINGS OF THE IEEE-INNS-ENNS INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, VOL VI, 2000, : 509 - 514
  • [5] THE N-QUEENS PROBLEM
    RIVIN, I
    VARDI, I
    ZIMMERMANN, P
    AMERICAN MATHEMATICAL MONTHLY, 1994, 101 (07): : 629 - 639
  • [6] Modified Genetic Algorithm for Solving n-Queens Problem
    Heris, Jalal Eddin Aghazadeh
    Oskoei, Mohammadreza Asgari
    2014 IRANIAN CONFERENCE ON INTELLIGENT SYSTEMS (ICIS), 2014,
  • [7] Development of neurofuzzy architecture for solving the N-Queens problem
    Da Silva, IN
    Ulson, JA
    De Souza, AN
    INTERNATIONAL JOURNAL OF GENERAL SYSTEMS, 2005, 34 (06) : 717 - 734
  • [8] N-QUEENS PROBLEM
    BRUEN, A
    DIXON, R
    DISCRETE MATHEMATICS, 1975, 12 (04) : 393 - 395
  • [9] The n-queens completion problem
    Stefan Glock
    David Munhá Correia
    Benny Sudakov
    Research in the Mathematical Sciences, 2022, 9
  • [10] The n-queens completion problem
    Glock, Stefan
    Munha Correia, David
    Sudakov, Benny
    RESEARCH IN THE MATHEMATICAL SCIENCES, 2022, 9 (03)