We report on experiments with a new hybrid graph coloring algorithm, which combines a parallel version of Morgenstern's S-Impasse algorithm 20], with exhaustive search. We contribute new test data arising in ve diierent application domains, including register allocation and class scheduling. We test our algorithms both on this test data and on several types of randomly generated graphs. We compare our parallel implementation, which is done on the CM-5, with two simple heuristics, the Saturation algorithm of Br elaz 4] and the Recursive Largest First (RLF) algorithm of Leighton 18]. We also compare our results with previous work reported by Morgenstern 20] and Johnson et al. 13]. Our main results are as follows. On the randomly generated graphs, the performance of Hybrid is consistently better than the sequential algorithms, both in terms of speed and number of colorings produced. However, on large random graphs, our algorithms do not come close to the best colorings found by other time-intensive algorithms such as the XRLF algorithm of Johnson et al. 13] and Morgenstern's tuned S-Impasse algorithm. Of the ve types of test data, three are easily colored even by the simple RLF and Saturation heuristics; one (the class scheduling data) is optimally colored by Hybrid but not by the simple heuristics, and one appears to be very hard. However, it should not be concluded that coloring is \easy" in most applications. In several cases, such as the class and exam scheduling graphs, nding an optimal coloring is not suucient to solve the problem at hand, but rather colorings satisfying additional restrictions are really needed. The Hybrid algorithm parallelizes well. This appears to be for three main reasons. First, the number of iterations needed by the S-impasse decreases as the number of processors increase. Second, in the exhaustive search algorithm the work involved in expanding the search tree is eeectively shared among the processors. Third, on some tests, the S-Impasse and Exhaustive-Search procedures progress in a symbiotic fashion, one using a good coloring obtained by the other as a basis for further improvement. Overall, we are satissed that our parallel algorithm eeectively exploits the processing power of the CM-5, and that further work on a hybrid algorithm can lead to even better results. Since the performance of all the implemented algorithms on random graphs does not correlate well with their performance on application data, we conclude that further eeort spent in collecting application …
[1]
Colin McDiarmid,et al.
Topics in Chromatic Graph Theory: Colouring random graphs
,
2015
.
[2]
David S. Johnson,et al.
An application of graph coloring to printed circuit testing
,
1975,
16th Annual Symposium on Foundations of Computer Science (sfcs 1975).
[3]
K. Appel,et al.
Every planar map is four colorable. Part I: Discharging
,
1977
.
[4]
John Cocke,et al.
Register Allocation Via Coloring
,
1981,
Comput. Lang..
[5]
Frank Thomson Leighton,et al.
A Graph Coloring Algorithm for Large Scheduling Problems.
,
1979,
Journal of research of the National Bureau of Standards.
[6]
Fred W. Glover,et al.
Tabu Search - Part I
,
1989,
INFORMS J. Comput..
[7]
D. de Werra,et al.
An introduction to timetabling
,
1985
.
[8]
M. Halldórsson.
A Still Better Performance Guarantee for Approximate Graph Coloring
,
1993,
Inf. Process. Lett..
[9]
Robert Azencott,et al.
Simulated annealing : parallelization techniques
,
1992
.
[10]
Kenneth J. Supowit,et al.
Simulated Annealing Without Rejected Moves
,
1986,
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.
[11]
Daniel Brélaz,et al.
New methods to color the vertices of a graph
,
1979,
CACM.
[12]
D. R. Lick,et al.
The Theory and Applications of Graphs.
,
1983
.
[13]
I. G. BONNER CLAPPISON.
Editor
,
1960,
The Electric Power Engineering Handbook - Five Volume Set.
[14]
A. Kempe.
On the Geographical Problem of the Four Colours
,
1879
.
[15]
Richard M. Karp,et al.
Reducibility among combinatorial problems" in complexity of computer computations
,
1972
.
[16]
B. Bollobás,et al.
Random Graphs of Small Order
,
1985
.
[17]
Cecilia R. Aragon,et al.
Optimization by Simulated Annealing: An Experimental Evaluation; Part II, Graph Coloring and Number Partitioning
,
1991,
Oper. Res..
[18]
E. L. Poole,et al.
Multicolor ICCG methods for vector computers
,
1987
.
[19]
Carsten Lund,et al.
On the hardness of approximating minimization problems
,
1994,
JACM.