A CSP approach to Graph Sandwich Problems
Manuel Bodirsky, Santiago Guzmán-Pro
TL;DR
This work establishes a deep link between graph sandwich problems (SP) and (infinite-domain) constraint satisfaction problems (CSP) by showing that SP$(\mathcal{C})$ often equals CSP$(H^*)$ for an appropriate countable 2-edge-coloured graph $H$ when $\mathcal{C}$ is hereditary, has the joint embedding property, and is closed under split blow-ups. This unifies many known SP classifications and yields new results across graph classes (e.g., line graphs, $K_k$-free perfect graphs, $(p,q)$-split graphs, and permutation graphs) by invoking pp-constructions, polymorphisms, and reductions to finite-domain CSPs. The paper demonstrates NP-hardness, NP-completeness, and even coNP-intermediate phenomena (including a coNP-intermediate SP) within this CSP framework, highlighting both tractable and intractable regimes under a common methodology. Overall, the CSP lens provides a systematic approach to classifying SP complexity and suggests further avenues in infinite-domain CSP theory for graph-theoretic problems with structural restrictions.
Abstract
The \emph{Sandwich Problem} (SP) for a graph class $\calC$ is the following computational problem. The input is a pair of graphs $(V,E_1)$ and $(V,E_2)$ where $E_1\subseteq E_2$, and the task is to decide whether there is an edge set $E$ where $E_1\subseteq E \subseteq E_2$ such that the graph $(V,E)$ belongs to $\calC$. In this paper we show that many SPs correspond to the constraint satisfaction problem (CSP) of an infinite $2$-edge-coloured graph $H$. 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, $K_k$-free perfect graphs, and classes described by forbidding finitely many induced subgraphs, such as $\{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).
