Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

The time complexity of maximum matching by simulated annealing

Published: 01 April 1988 Publication History

Abstract

The random, heuristic search algorithm called simulated annealing is considered for the problem of finding the maximum cardinality matching in a graph. It is shown that neither a basic form of the algorithm, nor any other algorithm in a fairly large related class of algorithms, can find maximum cardinality matchings such that the average time required grows as a polynomial in the number of nodes of the graph. In contrast, it is also shown for arbitrary graphs that a degenerate form of the basic annealing algorithm (obtained by letting “temperature” be a suitably chosen constant) produces matchings with nearly maximum cardinality in polynomial average time.

References

[1]
ANILY, S., AND FEDERGRUEN, A. Simulated annealing methods with general acceptance probabilities. J. Appl. Prob. 24 (1987), 657-667.
[2]
CERNY, V. A thermodynamical approach to the traveling salesman problem: An efficient simulation algorithm. J. Optim. Theory Appl. 45 (1985), 41-5 I.
[3]
CHOW, Y. S. AND TEICHER, H. Probability Theory: Independence, lnterchangeability, Martingales. Spdnger-Verlag, New York, 1978.
[4]
GELFAND, S. B., AND MITTER, S. K. Analysis of simulated annealing for optimization. In Proceedings of the 24th Conference on Decision and Control. IEEE, New York, 1985, pp. 779-786.
[5]
GREENE, J. W., AND SUPOWIT, g.J. Simulated annealing without rejected moves. IEEE Trans. Comput. Aided Des. 5 (1986), 221-228.
[6]
HAJEK, B. Hitting time and occupation time bounds implied by drift analysis with applications. Adv. Appl. Probab. 14 (1982), 502-525.
[7]
HAJEK, B. Cooling schedules for optimal annealing. Math. Oper. Res. 13 (Feb. 1988).
[8]
HOPCROFT, J. E., AND KARP, R. M. An n5/2 algorithm for maximum matchings in bipartite graphs. SIAM J. Comput. 2 (1973), 225-231.
[9]
KmKPATRICK, S., GELETT, C. D., AND VECCHI, M. P. Optimization by simulated annealing. Science 220 (1983), 621-630.
[10]
MICALI, S. AND VAZIRANI, V.V. An O(',/i VI ~ I EI ) algorithm for finding maximum matching in general graphs. In Proceedings of the 21 st Annual Symposium on the Foundations of Computer Science. IEEE, New York, 1980, pp. 17-27.
[11]
MITRA, D., ROMEO, F. AND SANGIOVANNI-VINCENTELLI, A. Convergence and finite-time behavior of simulated annealing. Adv. Appl. Probab. 18 (1986), 747-771.
[12]
PAPADIMITRXOU, C. H., AND ST~mLITZ, K. Combinatorial Optimization: Algorithms and Complexity. Prentice Hall, Englewood Cliffs, N.J., 1982.
[13]
VECCHI, M. P. AND KtRKPATRICK, S. Global wiring by simulated annealing. IEEE Trans. Comput. Aided Des. 2 (1983), 215-222.

Cited By

View all
  • (2024)Benchmarking quantum annealing with maximum cardinality matching problemsFrontiers in Computer Science10.3389/fcomp.2024.12860576Online publication date: 5-Jun-2024
  • (2024)How to Use the Metropolis Algorithm for Multi-Objective Optimization?Proceedings of the Genetic and Evolutionary Computation Conference Companion10.1145/3638530.3664078(71-72)Online publication date: 14-Jul-2024
  • (2024)Choosing the right algorithm with hints from complexity theoryInformation and Computation10.1016/j.ic.2023.105125296(105125)Online publication date: Jan-2024
  • Show More Cited By

Recommendations

Reviews

Patrick J. Ryan

Simulated annealing has recently been introduced as a heuristic method for solving optimization problems. The authors remark that no analysis of the asymptotic complexity of this method has been done. The purpose of this paper is to study the application of a particular class of algorithms to the maximum matching problem in graph theory. The maximum matching problem is to find a matching (i.e., a set of edges such that no two share a vertex) of maximum cardinality for a given (undirected) graph. Deterministic algorithms exist that solve this problem in polynomial time. The authors consider an algorithm that generates a sequence of matchings, beginning with the empty set, by successive moves in which either one edge is added (probability p), one edge is removed (probability q), or the configuration remains unchanged (probability 1 ? p ? q). The probabilities are allowed to be functions of all previous states of the system, including the current state. For each type of move, all legal moves of that type are equally likely to be chosen. The performance of such an algorithm on a specific family of graphs G n is analyzed. The authors show that positive constants a and b exist such that, no matter how cleverly the functions p and q are chosen, the expected number of moves required to find a maximum matching is greater than a exp( bn). The graph G n, defined explicitly in the paper, has 2( n + 1) 2 vertices (most of which have degree n + 2) and a total number of edges ( n + 1) 3. A result is also obtained in the opposite direction for a slightly different algorithm and an arbitrary graph. The algorithm again starts from the empty set, but proceeds by choosing an edge of the original graph at random (all edges are equally likely). If the edge is not already in the current matching and can be added legally, this is done. If, on the other hand, the edge is already in the matching, either it is removed (probability p) or the matching remains unchanged (probability 1 ? p). In this algorithm, p depends on the original graph but is otherwise constant; in particular, p does not depend on the current or previous states. The authors also obtain an upper bound for such an algorithm on the expected number of moves required to find a matching whose cardinality comes within a prescribed tolerance factor of the maximum cardinality. They use a value of p that depends on the number of vertices, the maximum degree, and the tolerance factor itself. If the tolerance factor is fixed, the upper bound obtained is polynomial in the number of vertices. Further, if the maximum degree is bounded, the upper bound is O( v 5), where v is the number of vertices. The paper requires about 13 pages of calculations to obtain these two results. This seems to indicate that asymptotic analysis for even the most simple Monte Carlo algorithms is much more difficult than for many deterministic algorithms, and that at least for finding exact solutions the Monte Carlo algorithms tend to be less efficient. If approximate solutions are adequate, however, the Monte Carlo approach holds some promise.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 35, Issue 2
April 1988
205 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/42282
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 April 1988
Published in JACM Volume 35, Issue 2

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)130
  • Downloads (Last 6 weeks)25
Reflects downloads up to 01 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Benchmarking quantum annealing with maximum cardinality matching problemsFrontiers in Computer Science10.3389/fcomp.2024.12860576Online publication date: 5-Jun-2024
  • (2024)How to Use the Metropolis Algorithm for Multi-Objective Optimization?Proceedings of the Genetic and Evolutionary Computation Conference Companion10.1145/3638530.3664078(71-72)Online publication date: 14-Jul-2024
  • (2024)Choosing the right algorithm with hints from complexity theoryInformation and Computation10.1016/j.ic.2023.105125296(105125)Online publication date: Jan-2024
  • (2024)Simulated Annealing is a Polynomial-Time Approximation Scheme for the Minimum Spanning Tree ProblemAlgorithmica10.1007/s00453-023-01135-x86:1(64-89)Online publication date: 1-Jan-2024
  • (2023)Runtime analysis for the NSGA-IIProceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence and Thirty-Fifth Conference on Innovative Applications of Artificial Intelligence and Thirteenth Symposium on Educational Advances in Artificial Intelligence10.1609/aaai.v37i10.26461(12399-12407)Online publication date: 7-Feb-2023
  • (2023)How Well Does the Metropolis Algorithm Cope With Local Optima?Proceedings of the Genetic and Evolutionary Computation Conference10.1145/3583131.3590390(1000-1008)Online publication date: 15-Jul-2023
  • (2023)Dynamic Path Relinking for the Target Set Selection problemKnowledge-Based Systems10.1016/j.knosys.2023.110827278:COnline publication date: 25-Oct-2023
  • (2022)Simulated annealing is a polynomial-time approximation scheme for the minimum spanning tree problemProceedings of the Genetic and Evolutionary Computation Conference10.1145/3512290.3528812(1381-1389)Online publication date: 8-Jul-2022
  • (2022)Benchmarking D-Wave Quantum Annealers: Spectral Gap Scaling of Maximum Cardinality Matching ProblemsComputational Science – ICCS 202210.1007/978-3-031-08760-8_13(150-163)Online publication date: 21-Jun-2022
  • (2021)Runtime analysis of evolutionary algorithmsProceedings of the Genetic and Evolutionary Computation Conference Companion10.1145/3449726.3461422(399-425)Online publication date: 7-Jul-2021
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media