• DocumentCode
    3517116
  • Title

    Accelerating N-queens problem using OpenMP

  • Author

    Ayala, A. ; Osman, H. ; Shapiro, D. ; Desmarais, J.-M. ; Parri, J. ; Bolic, M. ; Groza, V.

  • Author_Institution
    Sch. of Inf. Technol. & Eng., Univ. of Ottawa, Ottawa, ON, Canada
  • fYear
    2011
  • fDate
    19-21 May 2011
  • Firstpage
    535
  • Lastpage
    539
  • Abstract
    Backtracking algorithms are used to methodically and exhaustively search a solution space for an optimal solution to a given problem. A classic example of a backtracking algorithm is illustrated by finding all solutions to the problem of placing N-queens on an N × N chess board such that no two queens attack each other. This paper demonstrates a methodology for rewriting this backtracking algorithm to take advantage of multi-core computing resources. We accelerated a sequential version of the N-queens problem on ×86 and PPC64 architectures. Using problem sizes between 13 and 17, we observed an average speedup of 3.24 for ×86 and 9.24 for the PPC64.
  • Keywords
    application program interfaces; multiprocessing systems; tree searching; OpenMP; backtracking algorithms; multi-core computing resources; n-queens problem; Acceleration; Arrays; Force; Program processors; Search problems; Supercomputers;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Applied Computational Intelligence and Informatics (SACI), 2011 6th IEEE International Symposium on
  • Conference_Location
    Timisoara
  • Print_ISBN
    978-1-4244-9108-7
  • Type

    conf

  • DOI
    10.1109/SACI.2011.5873061
  • Filename
    5873061