A 2/3-approximation algorithm for vertex-weighted matching

被引:5
|
作者
Al-Herz, Ahmed [1 ]
Pothen, Alex [1 ]
机构
[1] Purdue Univ, Comp Sci Dept, W Lafayette, IN 47907 USA
基金
美国国家科学基金会;
关键词
Vertex-weighted matching; Approximation algorithm; Heaviest unmatched neighbor; Augmenting path; Weight-increasing path; APPROXIMATION ALGORITHMS;
D O I
10.1016/j.dam.2019.09.013
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We consider the maximum vertex-weighted matching problem (MVM) for non-bipartite graphs in which non-negative weights are assigned to the vertices of a graph and a matching that maximizes the sum of the weights of the matched vertices is desired. In earlier work we have described a 2/3-approximation algorithm for the MVM on bipartite graphs (Florin Dobrian et al., 2019). Here we show that a 2/3-approximation algorithm for MVM on non-bipartite graphs can be obtained by restricting the length of augmenting paths to at most three. The algorithm has time complexity O(m log + n log n), where n is the number of vertices, m is the number of edges, and is the maximum degree of a vertex. 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 there are two distinct heavier matched vertices that we can charge each failed vertex to. Our proof techniques characterize the structure of augmenting paths in a novel way. We have implemented the 2/3-approximation algorithm and show that it runs in under a minute on graphs with tens of millions of vertices and hundreds of millions of edges. We compare its performance with five other algorithms: an exact algorithm for MVM, an exact algorithm for the maximum edge-weighted matching (MEM) problem, as well as three approximation algorithms. The approximation algorithms include a 1/2 approximation algorithm for MVM, and (2/3 - E)-and (1 - E)-approximation algorithms for the MEM. In our test set of nineteen problems, there are graphs on which the exact algorithms fail to terminate in 100 hours. In addition, the new 2/3-approximation algorithm for MVM outperforms the other approximation algorithms by either being faster (often by orders of magnitude) or obtaining better weights. (c) 2019 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页码:46 / 67
页数:22
相关论文
共 50 条
  • [31] Max-Coloring of Vertex-Weighted Graphs
    Hsu, Hsiang-Chun
    Chang, Gerard Jennhwa
    GRAPHS AND COMBINATORICS, 2016, 32 (01) : 191 - 198
  • [32] Algorithms for Densest Subgraphs of Vertex-Weighted Graphs
    Liu, Zhongling
    Chen, Wenbin
    Li, Fufang
    Qi, Ke
    Wang, Jianxiong
    MATHEMATICS, 2024, 12 (14)
  • [33] Vertex-Weighted Wiener Polynomials for Composite Graphs
    Doslic, Tomislav
    ARS MATHEMATICA CONTEMPORANEA, 2008, 1 (01) : 66 - 80
  • [34] Clustering Vertex-Weighted Graphs by Spectral Methods
    Garcia-Zapata, Juan-Luis
    Gracio, Clara
    MATHEMATICS, 2021, 9 (22)
  • [35] Minimal invariant sets in a vertex-weighted graph
    Malvestuto, Francesco M.
    Mezzini, Mauro
    Moscarini, Marina
    THEORETICAL COMPUTER SCIENCE, 2006, 362 (1-3) : 140 - 161
  • [36] Vertex-Weighted Graphs and Freeness of -Graphical Arrangements
    Suyama, Daisuke
    Tsujie, Shuhei
    DISCRETE & COMPUTATIONAL GEOMETRY, 2019, 61 (01) : 185 - 197
  • [37] On vertex-weighted realizations of acyclic and general graphs
    Bar-Noy, Amotz
    Bohnlein, Toni
    Peleg, David
    Rawitz, Dror
    THEORETICAL COMPUTER SCIENCE, 2022, 922 : 81 - 95
  • [38] A 3-approximation algorithm for the subtree distance between phylogenies
    Bordewich, Magnus
    McCartin, Catherine
    Semple, Charles
    JOURNAL OF DISCRETE ALGORITHMS, 2008, 6 (03) : 458 - 471
  • [39] Online Vertex-Weighted Bipartite Matching: Beating 1-1/e with Random Arrivals
    Huang, Zhiyi
    Tang, Zhihao Gavin
    Wu, Xiaowei
    Zhang, Yuhao
    ACM TRANSACTIONS ON ALGORITHMS, 2019, 15 (03)
  • [40] ON THE VERTEX-WEIGHTED WIENER NUMBER OF CAPRA-DESIGNED PLANAR BENZENOIDS - VERTEX-WEIGHTED WIENER NUMBER OF Ca(C6)
    Wei, Gao
    Liang, Li
    Chen, Yuhua
    OXIDATION COMMUNICATIONS, 2016, 39 (2A): : 1796 - 1804