Lune

SODA2026Top-tier venue

A CSP approach to Graph Sandwich Problems

Manuel Bodirsky, Santiago Guzmán-Pro

Abstract

The Sandwich Problem (SP) for a graph class C\mathcal{C} is the following computational problem. The input is a pair of graphs (V,E1)(V,E_1) and (V,E2)(V,E_2) where E1⊆E2E_1 \subseteq E_2, and the task is to decide whether there is an edge set EE where E1⊆E⊆E2E_1 \subseteq E \subseteq E_2 such that the graph (V,E)(V,E) belongs to C\mathcal{C}. In this paper we show that many SPs correspond to the constraint satisfaction problem (CSP) of an infinite 2-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\mathrm{coNP}, but neither in P\mathrm{P} nor coNP\mathrm{coNP}-complete (unless P=coNP\mathrm{P}=\mathrm{coNP}).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. The sorrows of a smooth digraph: the first hardness criterion for infinite directed graph-colouring problemsJohanna Brunar, Marcin Kozik, Tomás Nagy, Michael PinskerLICS 2025

Related papers

  1. Counting and Finding Homomorphisms is Universal for Parameterized Complexity TheoryMarc Roth, Philip WellnitzSODA 2020 · 8 citations
  2. Hardness of 4-Colouring k-Colourable GraphsSergey Avvakumov, Marek Filakovský, Jakub Oprsal, Gianluca Tasinato et al.STOC 2025
  3. Efficient Algorithms and New Characterizations for CSP SparsificationSanjeev Khanna, Aaron Putterman, Madhu SudanSTOC 2025 · 12 citations
  4. On Classifying Continuous Constraint Satisfaction problemsTillmann Miltzow, Reinier F. SchmiermannFOCS 2021 · 10 citations
  5. QCSP monsters and the demise of the chen conjectureDmitriy Zhuk, Barnaby MartinSTOC 2020 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines