We apologize for a recent technical issue with our email system, which temporarily affected account activations. Accounts have now been activated. Authors may proceed with paper submissions. PhDFocusTM
CFP last date
20 December 2024
Reseach Article

Effect of Explicit Constraint by Comparative Study of Techniques for Solving N-Queens Problem

by Omkar Buchade, Nilesh Mehta, Vaibhav Suryawanshi
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 174 - Number 6
Year of Publication: 2017
Authors: Omkar Buchade, Nilesh Mehta, Vaibhav Suryawanshi
10.5120/ijca2017915417

Omkar Buchade, Nilesh Mehta, Vaibhav Suryawanshi . Effect of Explicit Constraint by Comparative Study of Techniques for Solving N-Queens Problem. International Journal of Computer Applications. 174, 6 ( Sep 2017), 20-25. DOI=10.5120/ijca2017915417

@article{ 10.5120/ijca2017915417,
author = { Omkar Buchade, Nilesh Mehta, Vaibhav Suryawanshi },
title = { Effect of Explicit Constraint by Comparative Study of Techniques for Solving N-Queens Problem },
journal = { International Journal of Computer Applications },
issue_date = { Sep 2017 },
volume = { 174 },
number = { 6 },
month = { Sep },
year = { 2017 },
issn = { 0975-8887 },
pages = { 20-25 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume174/number6/28412-2017915417/ },
doi = { 10.5120/ijca2017915417 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-07T00:21:26.329573+05:30
%A Omkar Buchade
%A Nilesh Mehta
%A Vaibhav Suryawanshi
%T Effect of Explicit Constraint by Comparative Study of Techniques for Solving N-Queens Problem
%J International Journal of Computer Applications
%@ 0975-8887
%V 174
%N 6
%P 20-25
%D 2017
%I Foundation of Computer Science (FCS), NY, USA
Abstract

N-Queen is a well-known problem which states that for a given N x N chessboard, place N queens in such a way that no two queens can attack each other. Thus, two Queens should not lie in the same row, column or diagonal to each other. There are various approaches to solve this problem like Brute Force, Backtracking, Branch and Bound, Ant Colony Optimization, Particle Swarm Optimization, Genetic Algorithm, Dynamic Programming Solution, etc. [1]. In this paper, a comparative study and analysis of computation time required to solve N-Queen problem by Brute Force Search and Backtracking approach is done. The corresponding graph of computational time required by aforementioned two algorithms is plotted to analyze their performance. Further, a constraint is added to N-Queen problem where the position of the first queen in the first row is kept fixed. Backtracking approach is applied to the problem after addition of the constraint and its results are compared with Backtracking algorithm without any explicitly defined constraint. The graphical analysis gives insight into their performance. Thus, this paper would also provide the impact of an explicit constraint on Backtracking algorithm.

References
  1. S. Pothumani, “Solving N Queen Problem Using Various Algorithms – A Survey”, International Journal of Advanced Research in Computer Science and Software Engineering, Volume 3, Issue 2, February 2013
  2. F.W.M. Bezzel. Proposal of eight queens problem. Berliner Schachzeitung, 1848.
  3. Eight queens puzzle [Online] https://en.wikipedia.org/wiki/Eight_queens_puzzle
  4. C.Erbas and M.M. Tanik S. Sarkeshik. “Different perspectives of the n-queens problem”, Proceedings of the 1992 ACM Annual Conference on Communications, ACM Press, page 99108, 1992
  5. Brute-force search [Online] http://en.wikipedia.org/wiki/Brute-force_search.
  6. Backtracking [Online] http://en.wikipedia.org/wiki/ Backtracking.
  7. Soham Mukherjee, Santanu Datta, Pramit Brata Chanda and Pratik Pathak, “Comparative Study of Different Algorithms to Solve N Queens Problem”, International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
  8. Jordan Bell, Brett Stevens, “A survey of known results and research areas for n-queens”, Elsevier, Volume 309, Issue 1, 6 January 2009.
Index Terms

Computer Science
Information Sciences

Keywords

N-Queens Brute Force Search Backtracking Constraint Satisfaction Heuristic.