Next Article in Journal
A Quartically Convergent Jarratt-Type Method for Nonlinear System of Equations
Next Article in Special Issue
A Data Analytic Algorithm for Managing, Querying, and Processing Uncertain Big Data in Cloud Environments
Previous Article in Journal
Algorithms for Computerized Fetal Heart Rate Diagnosis with Direct Reporting
Previous Article in Special Issue
Multiobjective Cloud Particle Optimization Algorithm Based on Decomposition
Article Menu

Export Article

Open AccessArticle
Algorithms 2015, 8(3), 407-414;

Implementation of a Parallel Algorithm Based on a Spark Cloud Computing Platform

1,2,* and 1,2
School of Mechanical Engineering, Shandong University, Jinan 250061, China
Key Laboratory of High-efficiency and Clean Mechanical Manufacture, Shandong University, Ministry of Education, Jinan 250061, China
Author to whom correspondence should be addressed.
Academic Editor: Henning Fernau
Received: 19 March 2015 / Revised: 1 June 2015 / Accepted: 23 June 2015 / Published: 3 July 2015
View Full-Text   |   Download PDF [741 KB, uploaded 3 July 2015]   |  


Parallel algorithms, such as the ant colony algorithm, take a long time when solving large-scale problems. In this paper, the MAX-MIN Ant System algorithm (MMAS) is parallelized to solve Traveling Salesman Problem (TSP) based on a Spark cloud computing platform. We combine MMAS with Spark MapReduce to execute the path building and the pheromone operation in a distributed computer cluster. To improve the precision of the solution, local optimization strategy 2-opt is adapted in MMAS. The experimental results show that Spark has a very great accelerating effect on the ant colony algorithm when the city scale of TSP or the number of ants is relatively large. View Full-Text
Keywords: cloud computing; MAX-MIN Ant System; TSP; MapReduce; Spark platform cloud computing; MAX-MIN Ant System; TSP; MapReduce; Spark platform

Figure 1

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. (CC BY 4.0).

Share & Cite This Article

MDPI and ACS Style

Wang, L.; Wang, Y.; Xie, Y. Implementation of a Parallel Algorithm Based on a Spark Cloud Computing Platform. Algorithms 2015, 8, 407-414.

Show more citation formats Show less citations formats

Related Articles

Article Metrics

Article Access Statistics



[Return to top]
Algorithms EISSN 1999-4893 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top