Finding large -colorable subgraphs in hereditary graph classes
arXiv:2004.09425
Abstract
We study the \textsc{Max Partial -Coloring} problem: given a graph , find the largest induced subgraph of that admits a homomorphism into , where is a fixed pattern graph without loops. Note that when is a complete graph on vertices, the problem reduces to finding the largest induced -colorable subgraph, which for is equivalent (by complementation) to \textsc{Odd Cycle Transversal}. We prove that for every fixed pattern graph without loops, \textsc{Max Partial -Coloring} can be solved: in -free graphs in polynomial time, whenever is a threshold graph; in -free graphs in polynomial time; in -free graphs in time ; in -free graphs in time . Here, is the number of vertices of the input graph and is the maximum size of a clique in~. Furthermore, combining the mentioned algorithms for -free and for -free graphs with a simple branching procedure, we obtain subexponential-time algorithms for \textsc{Max Partial -Coloring} in these classes of graphs. Finally, we show that even a restricted variant of \textsc{Max Partial -Coloring} is -hard in the considered subclasses of -free graphs, if we allow loops on .