Skip to content
Preprint

Structural Complexity of Matching-Match: Dense and Sparse Graphs

Sep 2026 · 0 citations · 13 references
Computer Science

Abstract

The Matching-Match puzzle asks whether the vertices of a fixed graph can be colored so that the multiset of color pairs induced by its edges is exactly a prescribed multiset. We study how the complexity of this realization problem depends on the host graph. On the dense side, we give a polynomial-time algorithm for complete $k$-partite graphs for every fixed number $k$ of parts, with arbitrary precoloring and an arbitrary number of colors. We prove a sharp complement-degree threshold: the problem is polynomial-time solvable when $\Delta(\overline G)\le1$, but NP-complete on completely uncolored graphs already when $\Delta(\overline G)=2$. This yields a dichotomy for uniform complete multipartite graphs, and connected diameter two already suffices for NP-completeness. We also prove W[1]-hardness on cographs parameterized by the number of colors. On the sparse side, completely uncolored paths and cycles admit a linear-time characterization by Euler trails and circuits, while counting feasible colorings is $\#P$-complete on both classes. Counting is nevertheless polynomial-time solvable on stars and complete graphs, even with arbitrary precoloring. A decomposition-transfer theorem yields NP-completeness already at tree-depth two. A separate path-decomposition reduction gives a maximum-degree threshold between one and two for completely uncolored disconnected host graphs with unrestrictedly many colors. Components with at most two edges are tractable, while a disjoint union of $P_4$'s is NP-complete. Finally, precoloring restores tractability in several cases: star forests are polynomial when every center is precolored, and two broad precoloring regimes on length-two spiders are polynomial even when the number of colors is unbounded.

View source

Similar papers

Preprint Sep 2026

Vertex-Coloring Edge-Weighting: Kernelization and Generalization

This work shows that both pre-weighted problems have polynomial kernels when parameterized by $k, and shows that both problems are W[1]-hard parameterized by treedepth, answering another question from earlier work.

Shubhada Aute, Fahad Panolan, Geevarghese Philip · 0 citations
Preprint Aug 2026

Hitting Maximum Independent Sets in Dense and Highly Connected Graphs

For a graph $G$, let $h(G)$ be the minimum cardinality of a vertex set meeting every maximum independent set of $G$. We establish two complementary reduction principles for the Bollob\'as--Erd\H{o}s--Tuza conjecture: the conjecture for arbitrary graphs is equivalent to its restriction to regular graphs of any fixed pos...

Han-Zhi Bai, Yu-jeong Chang, Jin Yan · 0 citations
Preprint Sep 2026

Sub-quorum colorings of graphs

A sub-quorum coloring is a partial vertex coloring in which every colored vertex sees at least half of its colored closed neighborhood in its own color. Hedetniemi, Hedetniemi, Laskar and Mulder introduced its maximum number of colors, $\psq(G)$, as an open direction in their foundational work on quorum colorings. We e...

Hao Ma, Rafik Sahbi, Wen-Lin Zhang · 1 citation
#edge computing Preprint Aug 2026

An Integer Programming Approach to Compute Lower Bounds for Ramsey Numbers Using Circulant Graphs

The Ramsey number $R(m,n)$ is the smallest order at which every red-blue edge coloring of a complete graph must contain a blue clique (a complete subgraph) of size $m$ or a red clique of size $n$. Determining these numbers exactly is extremely hard, and even certifying a lower bound requires exhibiting an explicit colo...

Stefano Coniglio, Fabio Furini, I. Ljubić et al. · 0 citations
Preprint Sep 2026

Colored Interaction-Profile Realization: Complexity of Matching-Match on Spiders

Network motifs and colored local interaction patterns provide a useful way to describe the structure of complex networks. Motivated by an inverse realization perspective, we study the problem of assigning colors to the vertices of a fixed graph so that its edges realize a prescribed multiset of colored pairwise interac...

I. Dumitru, Adrian Miclaus, Alexandru Popa · 1 citation
Preprint Aug 2026

Ramsey-type results for threshold graphs and beyond

A {\it threshold graph} is a graph that can be constructed from the one-vertex graph by repeatedly adding either a dominating vertex or an isolated vertex. Motivated by an induced Ramsey-type problem for this class, we define $r'_2(s)$ to be the minimum integer $n$ such that every $n$-vertex graph contains an induced t...

Xi-He Li · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.