English

On the complexity of Sandwich Problems for $M$-partitions

Computational Complexity 2026-02-11 v1 Discrete Mathematics Combinatorics

Abstract

We present a structural classification of constraint satisfaction problems (CSP) described by reflexive complete 22-edge-coloured graphs. In particular, this classification extends the structural dichotomy for graph homomorphism problems known as the Hell--Ne\v{s}et\v{r}il theorem (1990). Our classification is also efficient: we can check in polynomial time whether the CSP of a reflexive complete 22-edge-coloured graph is in P or NP-complete, whereas for arbitrary 22-edge-coloured graphs, this task is NP-complete. We then apply our main result in the context of matrix partition problems and sandwich problems. Firstly, we obtain one of the few algorithmic solutions to general classes of matrix partition problems. And secondly, we present a P vs. NP-complete classification of sandwich problems for matrix partitions.

Keywords

Cite

@article{arxiv.2602.09576,
  title  = {On the complexity of Sandwich Problems for $M$-partitions},
  author = {Alexey Barsukov and Santiago Guzmán-Pro},
  journal= {arXiv preprint arXiv:2602.09576},
  year   = {2026}
}
R2 v1 2026-07-01T10:29:24.377Z