Metric Dimension is NP-complete on Graphs of Treewidth Two
Tristan Benoit
Key points
From the paper's conclusion- We show that deciding whether the metric dimension of a graph is at most a given integer is NP-complete on graphs of treewidth at most two.
Abstract
The metric dimension of a connected graph is the least number of vertices whose distance vectors distinguish all vertices. We show that deciding whether the metric dimension of a graph is at most a given integer is NP-complete on graphs of treewidth at most two. As the problem is polynomial on trees, the graphs of treewidth one, this settles the treewidth threshold of its hardness, which was known to lie between two and twenty-four. The reduction is from satisfiability of formulas in which every literal occurs at most twice. To such a formula with $n$ clauses and $r$ variables it associates a graph $G_\varphi$ of treewidth at most two with $O((n+r)^2)$ vertices, whose metric dimension is $2(n+r)+5$ if the formula is satisfiable and $2(n+r)+6$ otherwise.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Metric Dimension Parameterized by Bag-Connected Treewidth and Bag-Connected PathwidtharXiv · 2026
- An Almost-tight Size Lower Bound for Bounded Treewidth Homomorphism-DistinguishabilityarXiv · 2026
- Not All Degree Constraints Are Created Equal when Computing Spanning TreesarXiv · 2026
- Decomposition Profiles and Weisfeiler-Leman Dimension for Graphs of Bounded Rank WidtharXiv · 2026
- On the fault-tolerant metric dimension of maximal outerplanar graphsarXiv · 2026
- General bounds for metric dimension of diameter-two graphs with applicationsarXiv · 2026