Algorithms and Hardness for Geodetic Set on Tree-like Digraphs
Abstract
In the GEODETIC SET problem, an input is a (di)graph and integer , and the objective is to decide whether there exists a vertex subset of size such that any vertex in lies on a shortest (directed) path between two vertices in . The problem has been studied on undirected and directed graphs from both algorithmic and graph-theoretical perspectives. We focus on directed graphs and prove that GEODETIC SET admits a polynomial-time algorithm on ditrees, that is, digraphs with possible 2-cycles when the underlying undirected graph is a tree (after deleting possible parallel edges). This positive result naturally leads us to investigate cases where the underlying undirected graph is "close to a tree". Towards this, we show that GEODETIC SET on digraphs without 2-cycles and whose underlying undirected graph has feedback edge set number , can be solved in time , where is the number of vertices. To complement this, we prove that the problem remains NP-hard on DAGs (which do not contain 2-cycles) even when the underlying undirected graph has constant feedback vertex set number and constant pathwidth. Our last result significantly strengthens the result of Ara\'ujo and Arraes [Discrete Applied Mathematics, 2022] that the problem is NP-hard on DAGs when the underlying undirected graph is either bipartite, cobipartite or split.
Cite
@article{arxiv.2603.23193,
title = {Algorithms and Hardness for Geodetic Set on Tree-like Digraphs},
author = {Florent Foucaud and Narges Ghareghani and Lucas Lorieau and Morteza Mohammad-Noori and Rasa Parvini Oskuei and Prafullkumar Tale},
journal= {arXiv preprint arXiv:2603.23193},
year = {2026}
}
Comments
27 pages, 4 figures