English

A CSP approach to Graph Sandwich Problems

Discrete Mathematics 2025-10-13 v1 Computational Complexity Combinatorics

Abstract

The \emph{Sandwich Problem} (SP) for a graph class \calC\calC is the following computational problem. The input is a pair of graphs (V,E1)(V,E_1) and (V,E2)(V,E_2) where E1E2E_1\subseteq E_2, and the task is to decide whether there is an edge set EE where E1EE2E_1\subseteq E \subseteq E_2 such that the graph (V,E)(V,E) belongs to \calC\calC. In this paper we show that many SPs correspond to the constraint satisfaction problem (CSP) of an infinite 22-edge-coloured graph HH. We then notice that several known complexity results for SPs also follow from general complexity classifications of infinite-domain CSPs, suggesting a fruitful application of the theory of CSPs to complexity classifications of SPs. We strengthen this evidence by using basic tools from constraint satisfaction theory to propose new complexity results of the SP for several graph classes including line graphs of multigraphs, line graphs of bipartite multigraphs, KkK_k-free perfect graphs, and classes described by forbidding finitely many induced subgraphs, such as {I4,P4}\{I_4,P_4\}-free graphs, settling an open problem of Alvarado, Dantas, and Rautenbach (2019). We also construct a graph sandwich problem which is in coNP, but neither in P nor coNP-complete (unless P = coNP).

Keywords

Cite

@article{arxiv.2510.09128,
  title  = {A CSP approach to Graph Sandwich Problems},
  author = {Manuel Bodirsky and Santiago Guzmán-Pro},
  journal= {arXiv preprint arXiv:2510.09128},
  year   = {2025}
}

Comments

31 pages; accepted for publication in the proceedings of SODA 2026

R2 v1 2026-07-01T06:28:54.437Z