Abstract
For a set \(\mathcal{F}\) of graphs, an instance of the \(\mathcal{F}\)-free Sandwich Problem is a pair \((G_1,G_2)\) consisting of two graphs \(G_1\) and \(G_2\) with the same vertex set such that \(G_1\) is a subgraph of \(G_2\), and the task is to determine an \(\mathcal{F}\)-free graph G containing \(G_1\) and contained in \(G_2\), or to decide that such a graph does not exist. Initially motivated by the graph sandwich problem for trivially perfect graphs, which are the \(\{ P_4,C_4\}\)-free graphs, we study the complexity of the \(\mathcal{F}\)-free Sandwich Problem for sets \(\mathcal{F}\) containing two non-isomorphic graphs of order four. We show that if \(\mathcal{F}\) is one of the sets \(\left\{ \mathrm{diamond},K_4\right\} \), \(\left\{ \mathrm{diamond},C_4\right\} \), \(\left\{ \mathrm{diamond},\mathrm{paw}\right\} \), \(\left\{ K_4,\overline{K_4}\right\} \), \(\left\{ P_4,C_4\right\} \), \(\left\{ P_4,\overline{\mathrm{claw}}\right\} \), \(\left\{ P_4,\overline{\mathrm{paw}}\right\} \), \(\left\{ P_4,\overline{\mathrm{diamond}}\right\} \), \(\left\{ \mathrm{paw},C_4\right\} \), \(\left\{ \mathrm{paw},\mathrm{claw}\right\} \), \(\left\{ \mathrm{paw},\overline{\mathrm{claw}}\right\} \), \(\left\{ \mathrm{paw},\overline{\mathrm{paw}}\right\} \), \(\left\{ C_4,\overline{C_4}\right\} \), \(\left\{ \mathrm{claw},\overline{\mathrm{claw}}\right\} \), and \(\left\{ \mathrm{claw},\overline{C_4}\right\} \), then the \(\mathcal{F}\)-free Sandwich Problem can be solved in polynomial time, and, if \(\mathcal{F}\) is one of the sets \(\left\{ C_4,K_4\right\} \), \(\left\{ \mathrm{paw},K_4\right\} \), \(\left\{ \mathrm{paw},\overline{K_4}\right\} \), \(\left\{ \mathrm{paw},\overline{C_4}\right\} \), \(\left\{ \mathrm{diamond},\overline{C_4}\right\} \), \(\left\{ \mathrm{paw},\overline{\mathrm{diamond}}\right\} \), and \(\left\{ \mathrm{diamond},\overline{\mathrm{diamond}}\right\} \), then the decision version of the \(\mathcal{F}\)-free Sandwich Problem is NP-complete.
Similar content being viewed by others
References
Brandstädt, A. (2004). \((P_5,{\rm diamond})\)-free graphs revisited: Structure and linear time optimization. Discrete Applied Mathematics, 138, 13–27.
Brandstädt, A., Engelfriet, J., Le, H.-O., & Lozin, V. V. (2006). Clique-width for 4-vertex forbidden subgraphs. Theory of Computing Systems, 39, 561–590.
Brandstädt, A., Le, V. B., & Spinrad, J. P. (1999). Graph classes: A survey. Philadelphia: SIAM.
Brandstädt, A., & Mahfud, S. (2002). Maximum weight stable set on graphs without claw and co-claw (and similar graph classes) can be solved in linear time. Information Processing Letters, 84, 251–259.
Cerioli, M., Everett, H., de Figueiredo, C. M. H., & Klein, S. (1998). The homogeneous set sandwich problem. Information Processessing Letters, 67, 31–35.
Dabrowski, K. K., & Paulusma, D. (2016). Clique-width of graph classes defined by two forbidden induced subgraphs. The Computer Journal, 59, 650–666.
Dantas, S., de Figueiredo, C. M. H., da Silva, M. V. G., & Teixeira, R. B. (2011a). On the forbidden induced subgraph sandwich problem. Discrete Applied Mathematics, 159, 1717–1725.
Dantas, S., de Figueiredo, C. M. H., Golumbic, M. C., Klein, S., & Maffray, F. (2011b). The chain graph sandwich problem. Annals of Operations Research, 188, 133–139.
Dantas, S., de Figueiredo, C. M. H., Maffray, F., & Teixeira, R. B. (2015). The complexity of forbidden subgraph sandwich problems and the skew partition sandwich problem. Discrete Applied Mathematics, 182, 15–24.
Dantas, S., Klein, S., de Mello, C. P., & Morgana, A. (2009). The graph sandwich problem for \(P_4\)-sparse graphs. Discrete Mathematics, 309, 3664–3673.
Garey, M. R., & Johnson, D. S. (1979). Computers and intractability: A guide to the theory of NP-completeness. New York: W.H. Freeman & Co.
Golumbic, M. C. (1998). Matrix sandwich problems. Linear Algebra and Applcations, 277, 239–251.
Golumbic, M. C., Kaplan, H., & Shamir, R. (1995). Graph sandwich problems. Journal of Algorithms, 19, 449–473.
Korpelainen, N., & Lozin, V. (2011). Two forbidden induced subgraphs and well-quasi-ordering. Discrete Mathematics, 311, 1813–1822.
Maffray, F., & Preissmann, M. (1994). Linear recognition of pseudo-split graphs. Discrete Applied Mathematics, 52, 307–312.
Mahadev, N. V. R., & Peled, U. N. (1995). Threshold graphs and related topics, Annals of Discrete Mathematics 56. Amsterdam: Elsevier.
Olariu, S. (1988). Paw-free graphs. Information Processing Letters, 28, 53–54.
Teixeira, R. B., Dantas, S., & de Figueiredo, C. M. H. (2010). The polynomial dichotomy for three nonempty part sandwich problems. Discrete Applied Mathematics, 158, 1286–1304.
Teixeira, R. B., Dantas, S., & de Figueiredo, C. M. H. (2011). The external constraint \(4\) nonempty part sandwich problem. Discrete Applied Mathematics, 159, 661–673.
Acknowledgements
This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001, FAPERJ and CNPq.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Alvarado, J.D., Dantas, S. & Rautenbach, D. Sandwiches missing two ingredients of order four. Ann Oper Res 280, 47–63 (2019). https://doi.org/10.1007/s10479-019-03174-6
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10479-019-03174-6