Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2616498.2616521acmotherconferencesArticle/Chapter ViewAbstractPublication PagesxsedeConference Proceedingsconference-collections
research-article

A SIMD Solution for the Quadratic Assignment Problem with GPU Acceleration

Published: 13 July 2014 Publication History

Abstract

In the Quadratic Assignment Problem (QAP), n units (usually departments, machines, or electronic components) must be assigned to n locations given the distance between the locations and the flow between the units. The goal is to find the assignment that minimizes the sum of the products of distance traveled and flow between units. The QAP is a combinatorial problem difficult to solve to optimality even for problems where n is relatively small (e.g., n = 30). In this paper, we solve the QAP problem using a parallel algorithm that employs a 2-opt heuristic and leverages the compute capabilities of current GPUs. The algorithm is implemented on the Stampede cluster hosted by the Texas Advanced Computing Center (TACC) at the University of Texas at Austin and on a GPU-equipped server housed at Texas State University. We enhance our implementation by fine tuning the occupancy levels and by exploiting inter-thread data locality through improved shared memory allocation. On a series of experiments on the well-known QAPLIB data sets, our algorithm, on average, outperforms an OpenMP implementation by a factor of 16.31 and a Tabu search based GPU implementation by a factor of 58.61. Given the wide applicability of QAP, the algorithm we propose has very good potential to accelerate the discovery in scholarly research in Engineering, particularly in the fields of Operations Research and design of electronic devices.

References

[1]
K. Anstreicher, N. Brixius, J. P. Goux, and L. Linderoth. Solving large quadratic assignment problems on computational grids. Mathematical Programming Series B, 91:563--588, 2002.
[2]
M. Bashiri and H. Karimi. Effective heuristics and meta-heuristics for the quadratic assignment problem with tuned parameters and analytical comparisons. Journal of Industrial Engineering International, 8(6):1--9, 2012.
[3]
V. Boyer and D. El Baz. Recent advances on GPU computing in operations research. In 2013 IEEE 27th International Symposium on Parallel & Distributed Processing Workshops and PhD Forum (IPDPSW), pages 1778--1787. IEEE, May 2013.
[4]
R. Burkard. Quadratic assignment problems. European Journal of Operational Research, 15(3):283--289, 1984.
[5]
R. Burkard and F. Rendl. A thermodynamically motivated simulation procedure for combinatorial optimization problems. European Journal of Operational Research, 17(2):169--174, 1984.
[6]
R. E. Burkard, S. E. Karisch, and F. Rendl. QAPLIB-A quadratic assignment problem library. European Journal of Operational Research, 55(1):115--119, 1991.
[7]
J. Chakrapani and J. Skorin-Kapov. Massively parallel tabu search for the quadratic assignment problem. Annals of Operations Research, 41(4):327--341, 1993.
[8]
W. C. Chiang and P. Kouvelis. An improved tabu search heuristic for solving facility layout design problems. International Journal of Production Research, 34(9):2565--2585, 1996.
[9]
C. Commander. A survey of the quadratic assignment problem, with applications. Morehead Electronic Journal of Applicable Mathematics, 4:1--15, 2005.
[10]
G. Croes. A method for solving traveling salesman problems. Operations Research, 6:791--812, 1958.
[11]
M. Czapinski. An effective parallel multistart tabu search for quadratic assignment problem on CUDA platform. Journal of Parallel and Distributed Computing, 73:1461--1468, 2013.
[12]
J. Dickey and J. Hopkins. Campus building arrangement using topaz. Transportation Research, 6:59--68, 1972.
[13]
A. Elshafei. Hospital layout as a quadratic assignment problem. Operations Research Quarterly, 28:167--179, 1977.
[14]
A. Geoffrion and G. Graves. Scheduling parallel production lines with changeover costs: Practical applications of a quadratic assignment/lp approach. Operations Research, 24:595--610, 1957.
[15]
D. B. Kirk and W. W. Hwu. Programming massively parallel processors. Morgan Kaufmann, Burlington, Massachussetts, 2010.
[16]
T. Koopmans and M. Beckmann. Assignment problems and the location of economic activities. Econometrica, 15:53--76, 1957.
[17]
Y. Li and P. Pardalos. Generating quadratic assignment test problems with known optimal permutations. Computational Optimization and Applications, 1:163--184, 1992.
[18]
E. M. Loiola, N. de Abreu, P. Boaventura Netto, P. Hahn, and T. Querido. A survey for the quadratic assignment problem. European Journal of Operational Research, 176(2):657--690, 2007.
[19]
T. Luong, L. Loukil, N. Melab, and E. Talbi. A GPU-based iterated tabu search for solving the quadratic 3-dimensional assignment problem. In 2010 IEE/ACS international Conference on Computer Systems and Applications (AICCSSA), pages 1--8. AICCSA, May 2010.
[20]
G. Miranda, H. Luna, G. Mateus, and R. Ferreira. A performance guarantee heuristic for electronic components placement problems including thermal effects. Computers and Operations Research, 32:2937--2957, 2005.
[21]
M. Pollatschek, N. Greshoni, and Y. Raddday. Optimization of the typewriter keyboard by simulation. Angewandte Informatik, 17:438--439, 1976.
[22]
S. Sahni and T. Gonzalez. P-complete approximation problems. Journal of Association for Computing Machinery, 23(3):555--565, 1976.
[23]
L. Steinberg. The blackboard wiring problem: A placement algorithm. SIAM Review, 3:37--50, 1961.
[24]
E. Taillard. Robust taboo search for the quadratic assignment problem. Parallel Computing, 17(3-4):443--455, 1991.
[25]
E. D. Taillard. Comparison of iterative searches for the quadratic assignment problem. Location Science, 3(2):87--105, 1995.
[26]
S. Tsutsui and N. Fujimoto. Solving quadratic assignment problems by genetic algorithms with GPU computation: A case study. In Proceedings of the 11th Annual Conference Companion on Genetic and Evolutionary Computation Conference: Late Breaking Papers, pages 2523--2530. ACM, July 2009.
[27]
S. Tsutsui and N. Fujimoto. Fast QAP solver with ACO and taboo search on GPU using move-cost adjusted thread assignment. In Genetic and Evolutionary Computation Conference, pages 1--2, 2011.
[28]
S. Unkule, C. Shaltz, and A. Qasem. Automatic restructuring of GPU kernels for exploiting inter-thread data locality. In Proc. Int'l. Conf. on Compiler Construction (CC12), pages 21--40, 2012.
[29]
V. Volkov and J. W. Demmel. Benchmarking GPUs to tune dense linear algebra. In SC '08: Proceedings of the 2008 ACM/IEEE conference on Supercomputing, 2008.
[30]
B. Wess and T. Zeitlhofer. On the phase coupling problem between data memory layout generation and address pointer assignment. Lecture Notes in Computer Science, 3199:152--166, 2004.
[31]
W. Zhu, J. Curry, and A. Marquez. SIMD tabu search for the quadratic assignment problem with graphics hardware acceleration. International Journal of Production Research, 48(4):1035--1047, 2010.

Cited By

View all
  • (2022)Systematic Literature Review on Parallel Trajectory-based MetaheuristicsACM Computing Surveys10.1145/355048455:8(1-34)Online publication date: 23-Dec-2022
  • (2018)A cooperative GPU-based Parallel Multistart Simulated Annealing algorithm for Quadratic Assignment ProblemEngineering Science and Technology, an International Journal10.1016/j.jestch.2018.08.00221:5(843-849)Online publication date: Oct-2018
  • (2015)A SIMD tabu search implementation for solving the quadratic assignment problem with GPU accelerationProceedings of the 2015 XSEDE Conference: Scientific Advancements Enabled by Enhanced Cyberinfrastructure10.1145/2792745.2792758(1-8)Online publication date: 26-Jul-2015
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
XSEDE '14: Proceedings of the 2014 Annual Conference on Extreme Science and Engineering Discovery Environment
July 2014
445 pages
ISBN:9781450328937
DOI:10.1145/2616498
  • General Chair:
  • Scott Lathrop,
  • Program Chair:
  • Jay Alameda
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • NSF: National Science Foundation
  • Drexel University
  • Indiana University: Indiana University

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 July 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. 2-Opt heuristic
  2. GPU computing
  3. Parallel computing
  4. Quadratic Assignment Problem
  5. Random search

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

XSEDE '14

Acceptance Rates

XSEDE '14 Paper Acceptance Rate 80 of 120 submissions, 67%;
Overall Acceptance Rate 129 of 190 submissions, 68%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Systematic Literature Review on Parallel Trajectory-based MetaheuristicsACM Computing Surveys10.1145/355048455:8(1-34)Online publication date: 23-Dec-2022
  • (2018)A cooperative GPU-based Parallel Multistart Simulated Annealing algorithm for Quadratic Assignment ProblemEngineering Science and Technology, an International Journal10.1016/j.jestch.2018.08.00221:5(843-849)Online publication date: Oct-2018
  • (2015)A SIMD tabu search implementation for solving the quadratic assignment problem with GPU accelerationProceedings of the 2015 XSEDE Conference: Scientific Advancements Enabled by Enhanced Cyberinfrastructure10.1145/2792745.2792758(1-8)Online publication date: 26-Jul-2015
  • (2015)Power-performance analysis of metaheuristic search algorithms on the GPUProceedings of the 2015 Sixth International Green and Sustainable Computing Conference (IGSC)10.1109/IGCC.2015.7393736(1-6)Online publication date: 14-Dec-2015
  • (2015)Autotuning GPU-Accelerated QAP Solvers for Power and PerformanceProceedings of the 2015 IEEE 17th International Conference on High Performance Computing and Communications, 2015 IEEE 7th International Symposium on Cyberspace Safety and Security, and 2015 IEEE 12th International Conf on Embedded Software and Systems10.1109/HPCC-CSS-ICESS.2015.121(78-83)Online publication date: 24-Aug-2015

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media