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:
- Decomposition: The objective function is decomposed into "cliques" representing interacting variables.
- Partitioning: The set of variables is divided into $M$ subsets.
- Partial Synchronization: At each step, a subset is randomly selected, and all nodes within it are updated simultaneously.
- 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.
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.
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