NP-Completeness of the Combinatorial Distance Matrix Realisation Problem
David L. Fairbairn, George B. Mertzios, Norbert Peyerimhoff
TL;DR
The paper studies the problem $k$-CombDMR: given an $n\times n$ distance matrix $D$, can one realise it with an unweighted graph on at most $n+k$ vertices? It provides polynomial-time algorithms for $k\in\{0,1,2\}$ using structured 2-SAT formulations and constructive realisations, and proves NP-completeness for every fixed $k\ge3$ via a gadget-based reduction from $k$-colourability. It also connects tree realisations to the minimum weighted tree realisation problem, yielding an $O(n^2)$ method to decide and construct tree realisations when possible. Together, these results delineate a clear boundary between tractable and intractable instances and offer practical procedures for small $k$ and tree cases.
Abstract
The $k$-CombDMR problem is that of determining whether an $n \times n$ distance matrix can be realised by $n$ vertices in some undirected graph with $n + k$ vertices. This problem has a simple solution in the case $k=0$. In this paper we show that this problem is polynomial time solvable for $k=1$ and $k=2$. Moreover, we provide algorithms to construct such graph realisations by solving appropriate 2-SAT instances. In the case where $k \geq 3$, this problem is NP-complete. We show this by a reduction of the $k$-colourability problem to the $k$-CombDMR problem. Finally, we discuss the simpler polynomial time solvable problem of tree realisability for a given distance matrix.
