English

Triangle-free 2-matchings

Data Structures and Algorithms 2025-05-16 v9 Discrete Mathematics

Abstract

We consider the problem of finding a maximum size triangle-free 22-matching in a graph G=(V,E)G=(V,E). A (simple) 22-matching is any subset of the edges such that each vertex is incident to at most two edges from the subset. The first polynomial time algorithm for this problem was given by Hartvigsen in 1984 in his PhD thesis and its improved version has been recently published in a journal. We present a different, significantly simpler algorithm with a relatively short proof of correctness. Our algorithm with running time O(VE)O(|V||E|) is additionally faster than the one by Hartvigsen having running time O(V3E2)O(|V|^3|E|^2). It has been proven before that for any triangle-free 22-matching MM which is not maximum the graph contains an MM-augmenting path, whose application to MM results in a bigger triangle-free 22-matching. A new observation is that the search for an augmenting path PP can be restricted to so-called {\em amenable} paths that go through any triangle tt contained in PMP\cup M a limited number of times. Amenable paths can be characterised with the aid of {\em half-edges}. A {\em half-edge} of edge ee is, informally speaking, a half of ee containing exactly one of its endpoints. Each half-edge serves also as a {\em hinge} - a connector between one pair of edges on an alternating path. To find an amenable augmenting path we thus dynamically remove and re-add half-edges to forbid or allow some edges to be followed by certain others. The existence of amenable augmenting paths follows from our decomposition theorem for triangle-free 22-matchings. This decomposition theorem is largely the same as the decomposition from versions 1-6 of this paper and is moreover simpler and stronger than the one given by Kobayashi and Noguchi.

Keywords

Cite

@article{arxiv.2311.13590,
  title  = {Triangle-free 2-matchings},
  author = {Katarzyna Paluch},
  journal= {arXiv preprint arXiv:2311.13590},
  year   = {2025}
}
R2 v1 2026-06-28T13:28:52.810Z