English

Optimal General Matchings

Data Structures and Algorithms 2021-05-07 v3

Abstract

Given a graph G=(V,E)G=(V,E) and for each vertex vVv \in V a subset B(v)B(v) of the set {0,1,,dG(v)}\{0,1,\ldots, d_G(v)\} a BB-matching of GG is any set FEF \subseteq E such that dF(v)B(v)d_F(v) \in B(v) for each vertex vv. The general matching problem asks the existence of a BB-matching in a given graph. A set B(v)B(v) is said to have a {\em gap of length} pp if there exists a number kB(v)k \in B(v) such that k+1,,k+pB(v)k+1, \ldots, k+p \notin B(v) and k+p+1B(v)k+p+1 \in B(v). Without any restrictions the general matching problem is NP-complete. However, if no set B(v)B(v) contains a gap of length greater than 11, then the problem can be solved in polynomial time and Cornuejols \cite{Cor} presented an algorithm for finding a BB-matching, if it exists. In this paper we consider a version of the general matching problem, in which we are interested in finding a BB-matching having a maximum (or minimum) number of edges. We present the first polynomial time algorithm for the maximum weight BB-matching for the case when no set B(v)B(v) contains a gap of length greater than 11.

Keywords

Cite

@article{arxiv.1706.07418,
  title  = {Optimal General Matchings},
  author = {Szymon Dudycz and Katarzyna Paluch},
  journal= {arXiv preprint arXiv:1706.07418},
  year   = {2021}
}
R2 v1 2026-06-22T20:27:00.300Z