A 2/3-approximation algorithm for vertex weighted matching in bipartite graphs

Florin Dobrian, Mahantesh Halappanavar, Alex Pothen, Ahmed Al-Herz

Research output: Contribution to journalArticlepeer-review

6 Scopus citations

Abstract

We consider the maximum vertex-weighted matching problem (MVM), in which nonnegative weights are assigned to the vertices of a graph, the weight of a matching is the sum of the weights of the matched vertices, and we are required to compute a matching of maximum weight. We describe an exact algorithm for MVM with O(| V | | E| ) time complexity, and then we design a 2/3- Approximation algorithm for MVM on bipartite graphs by restricting the length of augmenting paths to at most three. The latter algorithm has time complexity O(| E| +| V | log | V | ). The approximation algorithm solves two MVM problems on bipartite graphs, each with weights only on one vertex part, and then finds a matching from these two matchings using the Mendelsohn-Dulmage theorem. The approximation ratio of the algorithm is obtained by considering failed vertices, i.e., vertices that the approximation algorithm fails to match but the exact algorithm does. We show that at every step of the algorithm there are two distinct heavier vertices that we can charge each failed vertex to. We have implemented the 2/3-approximation algorithm for MVM and compare it with four other algorithms: An exact maximum edge-weighted matching (MEM) algorithm, the exact MVM algorithm, a 1/2-approximation algorithm for MVM, and a scaling-based (1 ϵ )-approximation algorithm for MEM. On a test set of nineteen problems with several millions of vertices, we show that the maximum time taken by the exact MEM algorithm is 15 hours, while it is 22 minutes for the exact MVM algorithm, and less than 5 seconds for the 2/3-approximation algorithm. The 2/3-approximation algorithm obtains more than 99.5\% of the weight and cardinality of an MVM, whereas the scaling-based approximation algorithms yield lower weights and cardinalities while taking an order of magnitude more time than the former algorithm. We also show that MVM problems should not be first transformed to MEM problems and solved using exact algorithms for the latter, since this transformation can increase runtimes by several orders of magnitude.

Original languageEnglish
Pages (from-to)A566-A591
JournalSIAM Journal on Scientific Computing
Volume41
Issue number1
DOIs
StatePublished - 2019
Externally publishedYes

Bibliographical note

Publisher Copyright:
©2019 Society for Industrial and Applied Mathematics.

Keywords

  • Approximation algorithms
  • Graph algorithms
  • Vertex weighted matching

ASJC Scopus subject areas

  • Computational Mathematics
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'A 2/3-approximation algorithm for vertex weighted matching in bipartite graphs'. Together they form a unique fingerprint.

Cite this