A Parallel Simulated Annealing Algorithm in PC-Cluster Environments

Yue Zhao, Fei Qian, Jijun Wu, Hideki Aoi, Aiguo HeIEEJ 2000

Abstract

Parallel Simulated Annealing (PSA) is an effective method for some combinatorial optimization problems. In this letter, we apply PSA to the graph partitioning problem and the maximum clique problem in a PC-cluster environment and show the results of our simulations.

Introduction

Simulated Annealing (SA) is a powerful, nature-inspired algorithm used to find optimal solutions in massive, complex search spaces. However, SA's primary drawback is its computational intensity. Because it typically updates only one variable at a time to ensure convergence to a global optimum, large-scale problems can take an impractical amount of time to solve. This research addresses this bottleneck by transitioning from a sequential execution model to a parallel one, specifically designed for PC-cluster environments.

Methodology

The proposed Parallel Simulated Annealing (PSA) algorithm is based on the concept of partial synchronous processes. The methodology involves:

  1. Decomposition: The objective function is decomposed into "cliques" representing interacting variables.
  2. Partitioning: The set of variables is divided into $M$ subsets.
  3. Partial Synchronization: At each step, a subset is randomly selected, and all nodes within it are updated simultaneously.
  4. Transition Probability: Updates follow a specific probability function derived from the Gibbs distribution, ensuring parallel moves respect the system's overall energy.

The system was implemented on a 16-node PC cluster using MPI (Message Passing Interface) for communication.

Experimental Results

The PSA algorithm was evaluated against standard SA and Mean Field Annealing (MFA) on two NP-hard problems: the Graph Partitioning Problem (GPP) and the Maximum Clique Problem (MCP).

Graph Partitioning Problem (GPP)

For a random graph with 900 nodes, the performance gains were dramatic. As shown in the table below, for 100 partitions, standard SA required 139,597 seconds, while PSA completed the task in just 1,115 seconds—a speedup of approximately 125x.

Performance comparison of SA, MFA, and PSA on the Graph Partitioning Problem.

Maximum Clique Problem (MCP)

In tests on graphs ranging from 200 to 1600 nodes, PSA consistently outperformed MFA in speed while maintaining or improving solution quality.

Performance comparison on the Maximum Clique Problem across various graph sizes.

Discussion and Conclusion

The core innovation of this work is the "partial" balance: updating a subset of nodes synchronously provides the speed of parallel processing without compromising the stability required for effective annealing. Mathematically, if the objective function contains only 1-cliques and 2-cliques, the process is guaranteed to converge to a Gibbs distribution.

While the results are promising, future work should investigate the "sweet spot" of synchronization. Updating too many nodes simultaneously can lead to "solution chilling" or divergence, where quality degrades. Further research is needed to determine the optimal degree of synchronization for various problem classes.

Summary updated

BibTeX
@inproceedings{zhao2000parallel,
  author = {Yue Zhao and Fei Qian and Jijun Wu and Hideki Aoi and Aiguo He},
  title = {{A Parallel Simulated Annealing Algorithm in PC-Cluster Environments}},
  booktitle = {IEEJ},
  year = {2000},
  doi = {10.1541/ieejeiss1987.120.5\_771},
}
Adaptive Mean Field Approximation Algorithm for Graph Partitioning ProblemProceedings of the Iscie International Symposium on Stochastic Systems Theory and its Applications · 2000
Optimization by Parallel Quasi-Quantum Annealing with Gradient-Based SamplingarXiv · 2024
Optimization by Mean Field AnnealingNeurIPS · 1988
Optimization by Simulated AnnealingScience · 1983
A Parallel Learning Automata Method of the Graph Partitioning ProblemsProceedings of the Iscie International Symposium on Stochastic Systems Theory and its Applications · 2000
Parallel Tempering for Diffusion-Based Combinatorial OptimizationarXiv · 2026
Figure