• No results found

10ExcludedGridMinorsandE SAKETSAURABH FEDORV.FOMINandDANIELLOKSHTANOV ff icientPolynomial-TimeApproximationSchemes

N/A
N/A
Protected

Academic year: 2022

Share "10ExcludedGridMinorsandE SAKETSAURABH FEDORV.FOMINandDANIELLOKSHTANOV ff icientPolynomial-TimeApproximationSchemes"

Copied!
44
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

10 Approximation Schemes

FEDOR V. FOMIN and DANIEL LOKSHTANOV,University of Bergen

SAKET SAURABH,University of Bergen and the Institute of Mathematical Sciences

Two of the most widely used approaches to obtain polynomial-time approximation schemes (PTASs) on pla- nar graphs are the Lipton-Tarjan separator-based approach and Baker’s approach. In 2005, Demaine and Hajiaghayi strengthened both approaches using bidimensionality and obtained efficient polynomial-time ap- proximation schemes (EPTASs) for several problems, including ConnectedDominatingSetand Feedback VertexSet. In this work, we unify the two strengthened approaches to combine the best of both worlds. We develop a framework allowing the design of EPTAS on classes of graphs with the subquadratic grid minor (SQGM) property. Roughly speaking, a class of graphs has the SQGM property if, for every graphGfrom the class, the fact thatGcontains not×tgrid as a minor guarantees that the treewidth ofGis subquadratic in t. For example, the class of planar graphs and, more generally, classes of graphs excluding somefixed graph as a minor, have the SQGM property. At the heart of our framework is a decomposition lemma stating that for “most” bidimensional problems on a graph classGwith the SQGM property, there is a polynomial-time algorithm that, given a graphG∈Gas input and anϵ>0, outputs a vertex setX of sizeϵ·OPT such that the treewidth ofG−Xisf(ϵ). Here, OPT is the objective function value of the problem in question andf is a function depending only onϵ. This allows us to obtain EPTASs on (apex)-minor-free graphs for all problems covered by the previous framework as well as for a wide range of packing problems, partial covering problems and problems that are neither closed under taking minors nor contractions. To the best of our knowledge, for many of these problems—including CyclePacking,F-Packing,F-Deletion, MaxLeafSpanningTree, or Partialr-DominatingSet—no EPTASs, even on planar graphs, were previously known.

We also prove novel excluded grid theorems in unit disk and map graphs without large cliques. Using these theorems, we show that these classes of graphs have the SQGM property. Based on the developed framework, we design EPTASs and subexponential time parameterized algorithms for various classes of problems on unit disk and map graphs.

Categories and Subject Descriptors: F.2.2 [Analysis of Algorithms and Problem Complexity]: Nonnu- merical Algorithms and Problems; G.2.2 [Graph Theory]: Graph Algorithms

General Terms: Algorithms, Design, Theory

Additional Key Words and Phrases: Polynomial-time approximation scheme, monadic second-order logic, parameterized complexity, embedded graph, bidimensionality, treewidth, unit disk graph

Preliminary versions of this work appeared in the proceedings of SODA’11 (Fomin et al.2011a) and SODA’12 (Fomin et al.2012a).

Authors’ addresses: F. V. Fomin and D. Lokshtanov, Department of Informatics, University of Bergen, N-5020 Bergen, Norway; emails: {fomin, daniello}@ii.uib.no; S. Saurabh, Department of Informatics, University of Bergen, N-5020 Bergen, Norway and The Institute of Mathematical Sciences, Chennai - 600113, India; email: [email protected].

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on thefirst page. Copyrights for components of this work owned by others than ACM must be honored.

Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from[email protected].

© 2018 ACM 0004-5411/2018/01-ART10 $15.00 https://doi.org/10.1145/3154833

(2)

ACM Reference format:

Fedor V. Fomin, Daniel Lokshtanov, and Saket Saurabh. 2018. Excluded Grid Minors and Efficient Polynomial- Time Approximation Schemes.J. ACM65, 2, Article 10 (January 2018), 44 pages.

https://doi.org/10.1145/3154833

1 INTRODUCTION

While many interesting graph problems remain NP-complete even when restricted to planar graphs, the restriction of a problem to planar graphs is usually considerably more tractable al- gorithmically than the problem on general graphs. Over the last four decades, it has been proved that many graph problems on planar graphs admit subexponential time algorithms (Dorn et al.

2008; Fomin and Thilikos2006; Lipton and Tarjan1980), subexponential time parameterized al- gorithms (Alber et al.2002; Klein and Marx2014; Marx2013), (Efficient) Polynomial Time Ap- proximation Schemes ((E)PTAS) (Baker1994; Grohe2003; Dawar et al.2006; Eisenstat et al.2012;

Eppstein2000; Gandhi et al.2004; Khanna and Motwani1996) and linear kernels (Alber et al.2004;

Bodlaender et al.2016; Chen et al.2007). The theory of bidimensionality developed by Demaine and Hajiaghayi (2008a,2008b) and Demaine et al. (2005b) is able to simultaneously explain the tractabil- ity of many planar graphs problems within the paradigms of parameterized algorithms (Demaine et al.2005a), approximation (Demaine and Hajiaghayi2005), and kernelization (Fomin et al.2010).

The theory is built on cornerstone theorems from the Graph Minor Theory of Robertson and Seymour, allowing not only the ability to explain the tractability of many problems but also to generalize the results from planar graphs and graphs of bounded genus to graphs excluding a fixed minor. Roughly speaking, a problem is bidimensional if the solution value for the problem on ak×k grid is Ω(k2) and the contraction or removal of an edge does not increase solution value. Many natural problems are bidimensional, including DominatingSet, FeedbackVertex Set, EdgeDominatingSet, VertexCover,r-DominatingSet, ConnectedDominatingSet, CyclePacking, ConnectedVertexCover, and GraphMetricTSP.

A PTAS is an algorithm that takes an instanceI of an optimization problem and a parameter ϵ >0, runs in timenO(f(1/ϵ)), and produces a solution that is within a factor 1+ϵof being optimal.

A PTAS with runtime f(1/ϵ)·nO(1) is called an efficient PTAS (EPTAS). Prior to bidimensional- ity (Demaine and Hajiaghayi2005), there were two main approaches to design (E)PTASs on planar graphs. Thefirst one was based on the classic Lipton-Tarjan planar separator theorem (Lipton and Tarjan1979). In the approach of Lipton and Tarjan, we split the inputn-vertex graph into two pieces of approximately equal size using a separator of sizeO(√n). Then, we recursively approximate the problem on the two smaller instances and glue the approximate solutions at the separator. This approach was applicable only to problems in which the size of the optimal solutions was at least a constant fraction ofn. Recently, the separator-based approach was also used to prove that certain local optimization algorithms are PTASs on minor-free graphs and intersection graphs of various geometric objects (Cabello and Gajser2015; Chan and Har-Peled2012; Har-Peled and Quanrud 2015; Mustafa and Ray2010).

The second, more widely used approach is found in Baker (1994); see also Hochbaum and Maass (1985). The approach is widely used in approximation algorithms and is called the shifting tech- nique, or simply Baker’s technique. The main idea is to decompose the planar graph into subgraphs of bounded outerplanarity and then solve the problem optimally in each of these subgraphs using dynamic programming. Later, Eppstein (2000) generalized this approach to work for a larger class of graphs, namely, apex-minor-free graphs. Khanna and Motwani (1996) used Baker’s approach in an attempt to syntactically characterize the complexity class of problems admitting PTASs, es- tablishing a family of problems on planar graphs to which it applies. The same kind of approach

(3)

is also used by Dawar et al. (2006) to obtain EPTASs for every minimization problem definable in first-order logic on every class of graphs excluding afixed minor. The shifting technique seemed to be limited to “local” graph problems, for which one is interested infinding a vertex/edge set satisfying a property that can be checked by looking at a constant-size neighborhood around each vertex.

Demaine and Hajiaghayi (2005) used bidimensionality theory to strengthen and generalize both approaches. In particular, they strengthened the Lipton-Tarjan approach significantly by showing that for a multitude of problems one canfind a separator of size O(√

OPT) that splits the opti- mum solution evenly into two pieces. Here, OPT is the size of an optimum solution. This allowed them to give EPTASs for several problems on planar graphs and, more generally, on apex-minor- free graphs orH-minor-free graphs. Two important problems to which their approach applies are FeedbackVertexSetand Connected Dominating Set. Earlier, only a PTAS and no EPTAS for FeedbackVertexSeton planar graphs was known in Kleinberg and Kumar (2001). In addi- tion, they also generalize Baker’s approach by allowing more interaction between the overlapping subgraphs.

Comparing the generalized versions of the two approaches, it seems that each has its strengths and weaknesses. In the generalized Lipton-Tarjan approach of Demaine and Hajiaghayi (2005), one splits the graph into two pieces recursively. To ensure that the repeated application does not

“increase” the approximation factor, in each recursive step, one needs to carefully reconstruct the solution from the smaller ones. Additionally, to ensure that the separator splits the optimum solu- tion evenly, the framework of Demaine and Hajiaghayi (2005) requires a constant factor approx- imation for the problem in question. On the other hand, their generalization of Baker’s approach essentially identifies a setX of vertices or edges that interacts in a limited way with the optimum solution, such that the removal ofX from the input graph leaves a graph on which the problem can be solved optimally in polynomial time. The setX could be as large asO(n),which makes it difficult to bound the amount of interaction between the setX and the optimum solution in some cases.

In this article, we propose a framework that combines the best of both worlds—the generalized Lipton-Tarjan and generalized Baker’s approaches. In particular, we show that for most bidimen- sional problems, there is a polynomial-time algorithm that, given a graphGand anϵ >0, outputs a vertex setX of sizeϵ·OPT such that the treewidth ofG−X is f(ϵ). Because thesizeofX is bounded, the interaction betweenX and the optimum solution is bounded trivially. SinceX is re- moved only once, the difficulty faced by a recursive approach vanishes. In our framework to obtain EPTASs, we demand that the problem in question is “reducible,” which is nothing else than that the setX can be removed from the graph, disturbing the optimum solution by at mostO(ϵ·OPT).

Finally, our algorithm to computeX does not require an approximation algorithm for the problem in question, relying only on a sublinear treewidth bound. For most problems, such a bound can be obtained via bidimensionality, whereas for other problems that are not bidimensional, one can obtain the sublinear treewidth bound directly. Our framework allows one to obtain EPTASs for a broader set of problems, including several packing problems, partial covering problems, and prob- lems that are neither closed under taking minors nor contractions. For many of these problems, no approximation schemes were known prior to our work.

Furthermore, we extend our framework to classes of geometric graphs. (E)PTASs have been studied for various classes of geometric graphs; most of these algorithms use a variation of the shifting techniques. In particular, Hunt et al. (1998) used the shifting technique to give PTASs for a number of problems such as the IndependentSetand DominatingSeton unit disk graphs andλ-precision disk graphs. Independently, Erlebach et al. (2005) and Chan (2003) generalized the shifting technique and gave PTASs for the IndependentSetand VertexCoveron disk graphs

(4)

and on intersection graphs of fat objects. Marx (2008) obtained an EPTAS for VertexCoveron unit disk graphs. Chen (2001) and Demaine et al. (2005b) used similar approaches to obtain a PTAS for the IndependentSetandr-DominatingSeton map graphs. The thesis (van Leeuwen2009) contains an overview of approximation algorithms on different geometric graphs. As in the case with planar graphs, the limitations of the shifting technique are that it generally applies to only local problems, such as VertexCoverand variants of DominatingSet, and fails for nonlocal problems such as FeedbackVertexSetand CyclePacking.

Main results and organization of the article.In Section2, we collect technical definitions and notations. We start building the framework in Section3, where we formally define optimization problems that are reducible, bidimensional, separable, and define treewidth-η-modulators. We also define in Section3the SQGM and SQGC properties of graph classes. Basically, a graph classG has the subquadratic grid minor property (SQGM) if, for every graphG ∈G, the fact thatGdoes not contain at×tgrid as a minor yields that the treewidth ofGis bounded by a subquadratic function oft. By the theorem of Robertson et al. (1994), planar graphs have the SQGM property.

More generally, as it was shown in Demaine and Hajiaghayi (2008c), for every graphH, the class of graphs, excludingHas a minor, has the SQGM property. We are also able to obtain similar results for a more general class of problems on more restricted graph classes. In Section4, we provide several examples of reducible bidimensional and separable problems.

In Section5, we prove the technical lemma (Lemma7) that is at the heart of our main algorithmic result. It allows us to achieve the following “scaling.” LetGbe a graph from a graph class with the SQGM property. LetXbe a vertex set ofGsuch that the treewidth ofG−Xdoes not exceed some constantη. Then, in polynomial time, it is possible to scale downX to a setXof sizeϵ|X|such that the treewidth ofG−Xis also bounded by a constant, depending only onϵandη. Moreover, every connected componentCof graphG−Xhas a constant number of neighbors inG. In the terminology of Bodlaender et al. (2016),Cis a protrusion.

Lemma7allows us to establish algorithmic results for treewidth-η-modulated problems. Basi- cally, for a constantη, an optimization problemΠis treewidth-η-modulated or justη-modulated if, for every graphG, there is a vertex setX such that|X|=O(OPT(Π))and the treewidth ofG−X does not exceedη. In Section6, we prove a meta-theorem (Theorem1), which basically says that everyη-modulated and sufficiently “well-behaved” graph optimization problemΠhas an EPTAS on every hereditary graph classGwith the SQGM property.

In order to apply Theorem1, we need to establish which optimization problems areη-modulated.

Toward this goal, we also prove in Section6, that for every minor-bidimensional linear-separable problemΠ on a graph class with the SQGM property, there exists a constantη such thatΠ is η-modulated. By our theorem, this immediately implies the existence of EPTAS for many interest- ing problems, including VertexCover, FeedbackVertexSet, Treewidth-ηModulator, and CyclePacking.

In Section7, we provide further nontrivial applications of Theorem1. In particular, we obtain EPTASs for various maximum induced subgraph and packing problems, partial domination and vertex cover problems, where the task is to optimally cover a certain number of vertices or edges.

In Section8, we show that the SQGM property, and therefore the applicability of Theorem1, extends beyond minor-closed classes of graphs. We establish two combinatorial theorems showing that unit disk graphs and map graphs that exclude a clique of sizetas a subgraph also admit the SQGM property. This immediately transfers all algorithmic results about EPTASs to problems on these classes as well. With some additional work, for several problems including VertexCover, FeedbackVertexSet, and Treewidth-η Modulator, we eliminate theKt-free condition and obtain approximation schemes for unit disk graphs and map graphs. We also prove that Cycle Packingadmits a PTAS on unit disk graphs.

(5)

As a by-product of the grid exclusion theorems obtained in Section8, we also obtain subexpo- nential parameterized algorithms on unit disk graphs and map graphs for various problems.

An interesting feature of our algorithms is that they do not require geometric representations of the input graphs. Since recognition of unit disk graphs isNP-hard (Clark et al.1990) and the best- known exponent of the polynomial bounding the runtime of the map graph recognition algorithm is about 120 (Thorup1998), the robustness of our algorithms is a serious advantage.

Finally, we explore to which degree our approach can be lifted to other classes of graphs. Our investigations show that it is unlikely that the full power of our approach can be generalized to disk graphs or to unit ball graphs inRd—intersection graphs of unit-balls inRd,d ≥3. Specifically, we prove that FeedbackVertexSeton unit-ball graphs inR3neither admits a PTAS unless P=NP nor a subexponential time algorithm unless the Exponential Time Hypothesis (ETH) fails.

2 DEFINITIONS AND NOTATIONS

In this section, we give various definitions that we make use of in the article. We start from graph theory definitions.

LetGbe a graph with vertex setV(G)and edge setE(G). A graphGis asubgraphofGifV(G)⊆ V(G)andE(G) ⊆E(G). For vertex setX ⊆V(G), the subgraphG[X] is a subgraph ofGinduced by X or justinduced subgraphofGifE(G[X])={uv ∈E(G) |u,v∈X}. For vertex setS ⊆V(G),we denote byG−Sthe graph obtained fromGby removing the vertices ofS,i.e.,G−S=G[V(G)\S].

For vertexv ∈V(G), we also useG−vforG−{v}. Similarly, for edge setE ⊆E(G),we useG−E to denote the subgraph ofGwith edge setE(G)\E. Fore ∈E(G), we useG−eforG−{e}. For a setS ⊆V(G), we defineNG(S)to be theopen neighborhoodofSinG, which is the set of vertices fromV(G)\Sadjacent to vertices ofS. Theclosed neighborhoodofSisNG[S] :=N(S)∪S. Given a setS⊆V(G), we denote by∂G(S)the set of all vertices inSthat are adjacent inGwith vertices not inS. Thus,NG(S) =∂G(V(G)\S). ThedistancedG(u,v)between two verticesuandvofGis the length of the shortest path inGfromutov. We defineBGr (v)to be the set of vertices within distance at mostrfromv, includingvitself. For a vertex setS, defineBrG(S)=!

v∈SBrG(v).

A graph class Gishereditary if, for any graphG ∈G, all induced subgraphs ofG are in G. Throughout this article,Kt denotes a complete graph ontvertices and we say that a graphGis Kt-freeifGdoes not containKtas an induced subgraph.

Planar,H-minor-free, unit disk and map graphs.In this article, we use the expressionplane graphfor any planar graph drawn in the Euclidean planeR2without any edge crossing. We do not distinguish between a vertex of a plane graph and the point ofR2used in the drawing to represent the vertex or between an edge and the curve representing it. We also consider plane graphG as the union of the points corresponding to its vertices and edges. We call afaceofGany connected component ofR2\(E(G)∪V(G)). Theboundaryof a face is the set of edges incident to it. If the boundary of a face f forms a cycle, then we call it acyclic face. A graph isplanarif it admits a planar drawing.

Given an edgee=xyof a graphG,the graphG/e is obtained fromG by contractinge. That means that the endpointsxandyare replaced by a new vertexvx,y, which is adjacent to the old neighbors ofxandy(except forxandy). A graphHobtained by a sequence of edge contractions is said to be acontraction ofG.A graph H is a minorof a graphG ifH is the contraction of some subgraph ofG. LetG,H be two graphs. A subgraphGofG is said to be a minor model ofH inGifGcontainsH as a minor. We say that a graphG isH-minor-freewhen it does not containHas a minor. We also say that a graph classGisH-minor-free(or excludesHas a minor) when all its members areH-minor-free. A graphG is anapex graph if there exists a vertexv such thatG−v is planar. A graph class G isapex-minor-free if there exists an apex graph H

(6)

such thatGisH-minor-free. A graph classGis said to beminor closed/contraction closedif every minor/contraction of a graph inGalso belongs toG.

Adisk graphis the intersection graph of a family of (closed) disks inR2. Aunit disk graphis the intersection graph of a family of unit disks inR2. It is easy to see that any (unit) disk graph is the intersection graph of a family of (unit) disks inR2with the additional property that every two disks that share a point also share an interior point. That is, no two disks touch only on the boundary. Whenever we consider the geometric model of a (unit) disk graph, we will assume that it has this property.

The notion of a map graph is due to Chen et al. (1998). AmapM is a pair(E,ω), whereE is a plane graph and each connected component ofE is biconnected, andω is a function that maps each face f ofE to 0 or 1 in a way that wheneverω(f)=1, f is a cyclic face. A face f ofE is called nationifω(f)=1; otherwise, it is calledlake.The graph associated withM is a simple graphG, whereV(G)consists of the nations ofMandE(G)consists of allf1f2such thatf1andf2

are adjacent (i.e., they share at least one vertex). We callGamap graph. ByN(E), we denote the set of nations ofE.

Treewidth.Atree decompositionof a graphGis a pair(X,T), whereT is a tree andX={Xi |i ∈ V(T)}is a collection of subsets ofV such that the following conditions are satisfied.

(1) !

i∈V(T)Xi =V(G).

(2) For each edgexy∈(G),{x,y}⊆Xi for somei ∈V(T).

(3) For eachx ∈V(G), the set{i |x∈Xi}induces a connected subtree ofT.

Thewidthof the tree decomposition is maxi∈V(T) |Xi|−1. Thetreewidthof a graphG,tw(G), is the minimum width over all tree decompositions ofG.

We will use the following easy fact about treewidth.

Proposition1. The treewidth of a graph is the maximum treewidth of its connected components.

Separators and separations.LetGbe a graph,Q ⊆V(G), and letA1,A2 ⊆V(G)such thatA1∪ A2=V(G). We say that the pair(A1,A2)is aseparationofGif there is no edge with one endpoint inA1\A2and the other inA2\A1. Theorderof a separation (A1,A2)is |A1∩A2|. For a vertex subsetQ ⊆V(G), we say that a separation(A1,A2)is a 2/3-balanced separationof(G,Q)if each of the partsA1\A2andA2\A1contains at most 23|Q|vertices ofQ.

The following separation property of graphs of small treewidth is well known (see, e.g., Cygan et al. (2015, Lemma 7.20)).

Proposition2. LetGbe a graph and letS ⊆V(G).There is a2/3-balanced separation(A1,A2) of(G,S)of order at mosttw(G)+1.

Grids and triangulated grids.Given a positive integert, we denote by!tthet×tgrid. Formally, for a positive integert, at×tgrid!t is a graph with vertex set{(x,y) :x,y∈{1, . . . ,t}}. Thus,

!t has exactlyt2 vertices. Two different vertices (x,y) and (x,y) are adjacent if and only if

|x−x|+|y−y|=1.

For an integert>0, the graphΓtis obtained from the grid!tby adding, for all 1≤x,y≤t−1, the edge(x+1,y),(x,y+1), and making vertex(t,t)adjacent to all the other vertices(x,y)with x ∈{1,t}ory∈{1,t}, i.e., to the whole border of!t. GraphΓ9is shown in Figure1.

We also need the following result of Robertson and Seymour (1984).

Proposition3. For everyt>1,tw(!t)=t.

(7)

Fig. 1. GraphΓ9.

3 OPTIMIZATION PROBLEMS AND BIDIMENSIONALITY

Our results concern graph optimization problems in which the objective is tofind a vertex or edge set of minimum or maximum size that satisfies a feasibility constraint. The problems for which the task is tofind a set of minimum size we callminimization; the problems for which the task is to find a set of maximum size we callmaximization. A problemΠon graphs is defined by a predicate ϕΠ(G,S)(also often called aproperty), which for a graphGand a vertex (edge) subsetSofGreturns trueifSis feasible andfalseotherwise. The interpretation is thatϕdefines the space offeasible solutionsSfor a graphG by returning whetherSis feasible forG. Depending on whetherSis a vertex or edge subset ofG, we refer toΠas a vertex or edge subset problem correspondingly.

For an example, VertexCoveris the problem offinding a minimum vertex cover in a graph.

Then,ϕΠ(G,S)is true if and only ifSis a vertex cover ofG, i.e., every edge has at least one endpoint inS. For the DominatingSetproblem, we putϕ(G,S)=trueif and only ifN[S]=V(G). Both problems are vertex subset problems.

Let us remark that there are many vertex/edge subset problems that atfirst glance do not look as if they could be captured by this definition. For example, the MaxLeafSpanningTreeproblem, in which we are given a connected graphG and asked tofind a spanning treeT ofG with the maximum number of leaves, is a vertex subset problem. The reason is thatGhas a spanning tree withk leaves if and only if there is a setS ⊆V(G) of size at leastk andϕ(G,S) is true, where ϕ(G,S)is defined as follows:

ϕ(G,S)=∃spanning subgraphT ofGsuch that

•every vertex ofSis of degree 1 inT.

Another example is the CyclePackingproblem. Here, input is a graphG and the task is to find the maximum number of pairwise vertex-disjoint cyclesC1,C2, . . . ,Ck. This is again a vertex subset problem becauseGhaskvertex-disjoint cycles if and only if there exists a setS ⊆V(G)of size at leastkandϕ(G,S)is true, whereϕ(G,S)is defined as follows:

ϕ(G,S)=∃subgraphGofGsuch that

•each connected component ofGis a cycle,

•and each connected component ofGcontains exactly one vertex ofS.

(8)

Let us remark that, as in the last example, it can be that checking whetherϕ(G,S)is true for a given graphGand setSis NP-complete. Nevertheless, defining CyclePackingas a vertex subset problem will allow us to obtain an EPTAS for this problem on various graph classes.

Definition 1 (OPTΠandSOLΠ). For a vertex/edge subset minimization problemΠ, we define OPTΠ(G)=min"|S|:ϕ(G,S)=true#.

If noS such thatϕ(G,S)=trueexists, OPTΠ(G) is+∞. For a vertex/edge subset maximization problemΠ,

OPTΠ(G)=max"|S|:ϕ(G,S)=true#.

In this case, if noSsuch thatϕ(G,S) =trueexists, OPTΠ(G)returns−∞. We define SOLΠ(G)to be a function that, given as an input, a graphGreturns a setSof size OPTΠ(G)such thatϕ(G,S)=true and returnsnullif no such setSexists.

Bidimensional problems.For many problems, it holds that contracting an edge cannot increase the size of the optimal solution. We will say that such problems are contraction closed. For ex- ample, DominatingSet, which is the problem offinding a minimum vertex setSin a graph that dominates all vertices ofV(G)\S, is contraction closed because contracting an edge in a graph does not increase the minimum size of its dominating set. MaxLeafSpanningTree, which is a maximization problem, is also contraction closed: ifG/ehas a spanning tree with at leastkleaves, so doesG. Formally, we have the following definition.

Definition 2 (Contraction-closed problem). A vertex/edge subset problemΠiscontraction closed if, for anyGande ∈E(G), OPTΠ(G/e) ≤OPTΠ(G).

If contracting edges, deleting edges, and deleting vertices cannot increase the size of the optimal solution, we say that the problem is minor closed. For example, VertexCoverand CyclePacking are minor closed.

Definition 3 (Minor-closed problem). A vertex/edge subset problemΠisminor closedif, for any G, edgee ∈E(G) and vertexw ∈V(G), OPTΠ(G/e)≤OPTΠ(G), OPTΠ(G−e) ≤OPTΠ(G), and OPTΠ(G−w) ≤OPTΠ(G).

The notion of a bidimensional problem was introduced by Demaine et al. (2005a). Our definition of contraction-bidimensional problems follows Fomin et al. (2011); see also Cygan et al. (2015, Chapter 7) for an introduction to bidimensionality theory.

Definition 4 (Bidimensional problem). A vertex/edge subset problemΠis

—contraction bidimensionalif it is contraction closed and there exists a constantβ >0 such that OPTΠk)≥βk2.

—minor bidimensional if it is minor closed and there exists a constant β >0 such that OPTΠ(!k) ≥βk2.

It is usually quite easy to determine whether a problem is contraction (or minor) bidimensional.

Take for an example IndependentSet. Contracting an edge may never increase the size of the maximum independent set; thus, the problem is contraction closed. Furthermore, inΓk, the vertex set

{(x,y):x≡k+1 mod 2andy≡k+1 mod 2}

forms an independent set of size (k−41)2. Thus, IndependentSetis contraction bidimensional. On the other hand, deleting edges may increase the size of a maximum size independent set inG.

Thus, IndependentSetis not minor bidimensional.

(9)

Separability. The notion of separable problems was introduced by Demaine and Hajiaghayi (2005). Informally, separable problemsΠ are well behaved in the sense that whenever we have a small separator in the graph that splits the graph in two partsLandR, the intersection|X ∩L|of Lwith any optimal solutionX to the entire graph is a good estimate ofOPTΠ(G[L]). We provide many examples of separable problems in Section4.

Separability allows us to prove decomposition theorems that are very useful for deriving EPTASs. Similar decomposition theorems may also be used to obtain polynomial kernels (see Fomin et al. (2010)).

Definition 5 (Separability) (Demaine and Hajiaghayi 2005). Let f :Z+→Z+be a function. We say that a vertex/edge subset problemΠisf separableif, for any graphG, subsetL⊆V(G),and function SOLΠ, it holds that

|SOLΠ(G)∩L|−f(t) ≤OPTΠ(G[L]) ≤|SOLΠ(G)∩L|+f(t),

wheret =|∂G(L)|.Πis calledseparableif there exists a functionf such thatΠisf separable.Πis calledlinear separableif there exists a constantcsuch thatΠisc·tseparable.

CMSO-definable problems.The syntax of Monadic Second Order Logic (MSO) of graphs in- cludes the logical connectives∨,∧,¬,⇔,⇒,variables for vertices, edges, sets of vertices, and sets of edges, the quantifiers∀,∃that can be applied to these variables, and the followingfive binary relations:

(1) u ∈U, whereuis a vertex variable andU is a vertex set variable;

(2) d∈D, wheredis an edge variable andDis an edge set variable;

(3) inc(d,u),wheredis an edge variable,uis a vertex variable, and the interpretation is that the edgedis incident with the vertexu;

(4) adj(u,v),whereu andv are vertex variables and the interpretation is thatu andv are adjacent;

(5) equality of variables representing vertices, edges, sets of vertices, and sets of edges.

In addition to the usual features of MSO, if we have atomic sentences testing whether the car- dinality of a set is equal toqmodulor,whereqandr are integers such that 0≤q<r andr ≥2, then this extension of MSO is calledcounting monadic second-order logic (CMSO). Thus, CMSO is MSO enriched with the following atomic sentence for a setS:

cardq,r(S) =trueif and only if|S|≡q (modr).

Refer to Arnborg et al. (1991) and Courcelle (1990,1997) for a detailed introduction on CMSO.

We consider CMSO sentences evaluated either on graphs or on annotated graphs. Byannotated graph, we mean a pair(G,S), whereSis a subset of the vertices or edges of a graphG,i.e.,Scontains theannotatedvertices or edges ofG.In optimization problems on annotated graphs, annotated set Sis used to specify additional constraints or relaxations of the solution. For example, a solution can be a subset or a superset of annotated setSor, as in annotated DominatingSet, annotated vertices are not required to be dominated by the solution, and so on. We say that a CMSO-formula φexpressesan (annotated) graph propertyϕΠ(G,S)ifϕΠ(G,S)is true if and only if(G,S)models φ(i.e., the formulaφis true exactly on (annotated) graphsGand vertex/edge subsetsSsuch that ϕΠ(G,S)is true).

Min-CMSO and Max-CMSO problems are graph optimization problems for which the objective is tofind a maximum- or minimum-sized vertex or edge set satisfying a CMSO-expressible prop- erty. In other words, a vertex/edge subset minimization (or maximization) problem with feasibility functionϕis a Min-CMSO problem (or Max-CMSO problem) if there exists a CMSO sentenceψ

(10)

such thatϕ(G,S) =trueif and only if(G,S) |=ψ. Thus, in a Min/Max-CMSO graph problemΠ, we are given a graphGas input. The objective is tofind a minimum/maximum cardinality vertex vertex/edge setSsuch that the CMSO-expressible predicateϕΠ(G,S)is satisfied.

Reducibility andη-modulated problems.Reducibility is the central notion of this article. The intuition behind the notion of reducibility is the following. Being reducible allows us to “sacrifice”

a set of verticesX (e.g., deleting them or putting in a solution) by creating a new problem whose solution and treewidth are “approximated” by the original solution and treewidth, and such that from the solution of the new problem, one can in polynomial time reconstruct an approximate solution of the original problem.

Definition 6 (Reducibility). A graph optimization problemΠdefined by a predicateϕΠ(G,S)is reducible if there exists a Min/Max-CMSO problemΠwith CMSO-expressible propertyϕΠ, a function f :N→N, and a constantρΠsuch that

(1) there is a polynomial-time algorithm that, given graphGand setX ⊆V(G), outputs graph Gsuch thattw(G) ≤f(tw(G−X))and|OPTΠ(G)−OPTΠ(G)|≤ρΠ· |X|; and (2) there is a polynomial-time algorithm that, given graphG andX ⊆V(G), graphG and

a vertex (edge) setS⊆V(G)(S⊆E(G)) such thatϕΠ(G,S)holds, outputsS⊆V(G) such thatϕΠ(G,S) =trueand||S|−|S||≤ρΠ· |X|.

In most of the cases, problemΠwill be an “annotated” version of the optimization problem, in which for a set of annotated vertices or edges, we require special conditions. For example, to show that DominatingSetis reducible, for vertex setX ofG, we putG=G−X. Then, problem Πdefined onGis the variant of domination in which we annotate the vertices ofGadjacent (in G) toX as not required to be dominated by a solution inG. In other words, we are looking for a set of vertices inGthat dominates all but the annotated vertices. Such an annotated domination is a Min/Max-CMSO problem and it is easy to check that both properties of the definition hold.

Thus,Πis reducible. In Section4, we give more examples of reducible problems.

Definition 7 (Treewidthη-modulated). For a nonnegative integerη, a graph optimization problem Πis calledtreewidthη-modulated, or simply,η-modulated, if there is a polynomial-time algorithm that, given a graphG, outputs a setX of sizeO(OPTΠ(G))such thattw(G−X) ≤η.

For example, VertexCoverisη-modulated forη=0: there is a polynomial time algorithm com- puting a vertex coverX of size at most 2·OPTΠ(G) (Nemhauser and Trotter1974). Since graph G−X has no edges, its treewidth is 0.

Subquadratic grid minor property.We will build EPTASs on graphs with specific properties.

In general, it is known that there exists a constantcsuch that any graphGthat excludes!t as a minor has treewidth at mostO(tc). The exact value ofcremains unknown, but it is at least 2 and at most 19 (Chuzhoy2016; Chekuri and Chuzhoy2016). We will restrict our attention to graph classes withc <2.

Definition 8 (SQGM property). We say that a graph classG has thesubquadratic grid minor (SQGM) propertyif there exist constantsα >0 and 1≤c<2 such that, for anyt>0, every graph G∈G, excluding!t as a minor, has treewidth at mostα·tc. In the cases for which we need to specify the parameterc, we say that graph classGhas the SQGM property with parameterc.

Problems that are contraction closed but not minor closed are considered on more restricted classes of graphs.

(11)

Definition 9 (SQGC property). We say that a graph classGhas thesubquadratic gamma contrac- tion (SQGC) propertyif there exist constantsα>0 and 1≤c <2 such that for anyt>0, every connected graphG ∈G, excludingΓtas a contraction, has treewidth at mostα·tc.

SinceΓtcontains!t as a minor (in fact, as a subgraph), we obtain the following observation.

Observation1. Every graph classGwith the SQGC property has the SQGM property.

The following proposition follows directly from the theorem on the linearity of excluded grid- minor inH-minor-free graphs proven by Demaine and Hajiaghayi (2008c) and its analogue for Γ-contractions from Fomin et al. (2011).

Proposition4. For every graphH, anyH-minor-free graph classGhas the SQGM property with parameterc=1. IfH is an apex graph, thenGhas the SQGC property withc=1.

Since every planar graph excludes graphsK5orK3,3as a minor, the class of planar graphs has the SQGM property. More generally, the class of graphs of bounded genus also has the SQGM property. By the result of Eppstein (2000), every minor-closed class of graphs of bounded local treewidth (like the classes of planar graphs or graphs of bounded genus) exclude somefixed apex graph as a minor. Thus, these classes of graphs have SQGC property.

The bidimensionality properties of problems and SQGM properties of graph classes allow us to establishparameter-treewidth bounds—a tight dependence between the size of the optimal solution and the treewidth of the input graph. This relationship wasfirst observed by Demaine et al. (2005a).

The bound for contraction-bidimensional problems presented here is essentially identical to the one presented in Fomin et al. (2011). We reprove the lemmata here because of slight differences in definitions.

Lemma1. For any minor-bidimensional problemΠon a graph classGwith the SQGM property with the parameterc<2, there exists constantγ >0such that, for any graphG ∈G,tw(G) ≤γ· (OPTΠ(G))ϵ, whereϵ =c/2.

Proof. Letαandcbe the constants from the definition of the SQGM property. Then, any graph G∈Gthat excludes a!t as a minor has treewidth at mostαtc. Letβ be the constant from the definition of minor bidimensionality ofΠ, i.e, OPTΠ(!t)≥βt2. Consider now a graphG∈G. Let tbe the maximum integer such thatGcontains!t as a minor. We have thattw(G)<α(t+1)c. Rearranging terms yields that(tw(G)α )1/c <t+1, implying thatt ≥(tw(G)α )1/c. SinceΠis minor closed, it follows that OPTΠ(G) ≥OPTΠ(!t), and sinceΠis minor bidimensional, we have that

OPTΠ(G)≥OPTΠ(!t)≥βt2 ≥β

$tw(G) α

%2/c

. Hence,

tw(G)≤ α

βc2 ·OPTΠ(G)c2.

Sincec<2 in the definition of the SQGM property, the statement of the lemma follows. ! Lemma2. For any contraction-bidimensional problemΠon a graph classGwith the SQGC prop- erty with the parameterc<2, there exists constantγ >0such that, for any connected graphG∈G, tw(G) ≤γ·(OPTΠ(G))ϵ, whereϵ =c/2.

The proof of Lemma2 is almost identical to the proof of Lemma1 except for the following difference. Lemma1is for minor-closed problems, on graph classesGwith the SQGM property and works foreveryG ∈G. Lemma2is for contraction-closed problems, on graph classesGwith the SQGC property and works forconnectedgraphsG ∈G.

(12)

However, when a problem is contraction bidimensional andseparable, then it is possible to ex- tend Lemma2to disconnected graphs, since the issue of different connected components influ- encing the value of the optimal solution disappears.

Lemma3. For any contraction-bidimensional separable problem Πon a graph class Gwith the SQGC property, there exist constants0<γ,0<ϵ <1such that, for any graphG ∈G,tw(G) ≤γ· (OPTΠ(G))ϵ.

Proof. SinceΠis separable, there exists a constantdsuch that, for any graphGand connected componentCofG, it holds that

OPTΠ(G[C]) ≤|SOLΠ(G)∩C|+d ≤OPTΠ(G)+d.

By Lemma2, there exist constantsγ andϵ <1 such thattw(G[C]) ≤γ ·OPTΠ(G[C])ϵ for every componentC. Since the treewidth ofGis at most the maximum of the treewidth of its connected components, the lemma follows by increasingγby a factord. ! Treewidth modulator.We say that a setS ⊆V(G)is atreewidth-η-modulatoriftw(G−S)≤η.

For everyη≥0, we define the following problem.

Treewidth-ηModulator Instance: A graphG.

Objective: Find a treewidth-η-modulator of minimum size.

Since the graph is of treewidth 0 if and only if it has no edges, the VertexCoverproblem is Treewidth-ηModulatorforη=0. The treewidth of a graphGis at most 1 if and only ifGis a forest. Hence, the FeedbackVertexSetproblem is Treewidth-ηModulatorforη=1.

It is easy to see that the Treewidth-ηModulatorproblem is minor closed. By Proposition3, every(η+1)×(η+1)subgrid of!tmust contain at least one vertex of any solution. Therefore,

OPTΠ(!t)≥ !& t

η+1 '"2

. Thus, Treewidth-ηModulatoris minor bidimensional.

By Lemma1, the bidimensionality of Treewidth-ηModulatoryields the following lemma.

Lemma4. For every graph classGwith the SQGM property and everyη≥0, there exist constants β ≥0and0≤λ<1such that any graphG∈Gwith a treewidth-η-modulatorS has treewidth at mostβ· |S|λ.

Note that whenGhas the SQGM property with the parameterc, then in Lemma4,λ=c/2.

4 REDUCIBLE BIDIMENSIONAL LINEAR-SEPARABLE PROBLEMS

In this section, we give examples of problems that are reducible, bidimensional, and linear sepa- rable. As we will see later in Lemma8, the combination of these conditions with SQGM or SQGC properties yields that these problems are treewidthη-modulated. This, in turn, by Theorem 2, guarantees an EPTAS for these problems.

4.1 Domination, Independence, and Connectivity Problems

In ther-DominatingSetproblem, we are given a graphG; the objective is tofind a minimum-size subsetS⊆V(G)such that every vertex outsideSis within distance at mostr from some vertex of S. In other words,BrG(S)=V(G). Forr =1, this is the classical DominatingSetproblem. If we also demandG[S∩C] to be connected for every connected componentCof graphG, we obtain the ConnectedDominatingSetproblem. In the ConnectedVertexCoverproblem, we are given

(13)

a graphG and the objective is to find a minimum-size subsetS ⊆V(G) such thatS is a vertex cover ofG, that is, every edge inE(G)has at least one endpoint inSand such that for every con- nected componentCofG,G[S∩C] is connected. It is known thatr-DominatingSet, Connected DominatingSet, and ConnectedVertexCoverare contraction bidimensional (Demaine et al.

2005a).

We show that Π=r-DominatingSet is linear separable. For graphG, let L⊆V(G) with

|∂(L)|≤t. Observe that the set(SOLΠ(G)∩L)∪∂(L)isr-dominating inG[L]. Indeed, every ver- tex ofv ∈Lis either within distance at mostr from some vertex from SOLΠ(G)∩L, or from a vertex SOLΠ(G)\L. In each of the cases, each of the paths of length at mostr from SOLΠ(G)tov is either entirely inLor contains a vertex of∂(L). Thus,

OPTΠ(G[L])≤|SOLΠ(G)∩L|+t.

On the other hand, if|SOLΠ(G)∩L|−t >OPTΠ(G[L]),then set SOLΠ(G[L])∪∂(L)∪SOLΠ(G− L)isr-dominating inGand is of size less than OPTΠ(G),which is a contradiction. Hence,

|SOLΠ(G)∩L|−t ≤OPTΠ(G[L]), andr-DominatingSetis linear separable.

We now show thatr-DominatingSetis reducible. For a given graphGand setX, letG=G−X and letR=BrG(X)\X. Then,tw(G)=tw(G−X). ProblemΠis the following annotated version ofr-DominatingSet. In graphG, we annotate the vertex setR. We want tofind a setS⊆V(G) of minimum cardinality such that every vertex inV(G)\(S∪R)is within distance at mostrfrom a vertex inS. In other words, the setSr-dominates all vertices ofGexcept annotated vertices R. It is easy to show thatΠis a Min-CMSO problem. Note that, for anyr-dominating setSofG, S\X is a feasible solution toΠonG. Conversely, for any feasible solutionSofΠonG, we have thatS∪X is anr-dominating set ofG. Hence,r-DominatingSetis reducible.

Proofs that ConnectedDominatingSetand ConnectedVertexCoverare linear separable are similar to the proof forr-DominatingSet. For example, for ConnectedDominatingSet, letLbe a vertex subset ofG. Let us assumefirst thatG[L] is connected. If ∂(L) =∅, then sepa- rability follows trivially. If∂(L)!∅, wefirst augmentSOLΠ(G)∩Lby adding∂(L) to it. The set Q=(SOLΠ(G)∩L)∪∂(L) is a dominating set ofG[L]. Since∂(L) !∅, we have that every con- nected component ofG[Q] contains at least one vertex of∂(L). (Otherwise,SOLΠ(G)is either not connected or not dominating inG.) Hence, setQcontains at most|∂L|connected components and can be turned into a connected set by adding at most 2|∂L|−1 vertices. WhenG[L] is not con- nected, we apply the same construction for each of its connected componentsC and for each of the setsC∩(SOLΠ(G)∪∂(L)).

We now prove that ConnectedDominatingSetis reducible. Given a graphGand setX, let G=G−Xand letR=N(X). The annotated problemΠis tofind a minimum-sized setS⊆V(G) such that every vertex inV(G)\(S∪R)has a neighbor inSand every connected component of G[S] contains a vertex inR. Note that for every connected dominating setSofG,S\Xis a feasible solution toΠonG. Conversely, for any feasible solutionSofΠonG, we have thatS=S∪X is a dominating set ofGand has at most|X|connected components. SinceS is a dominating set, it is sufficient to add 2(|X|−1)vertices toSin order to turn it into a connected dominating set of G. Hence, ConnectedDominatingSetis reducible. The proof that ConnectedVertexCover is reducible is identical.

In ther-ScatteredSetproblem, the task is for a given graphGtofind a maximum set of vertices S ⊆V(G)such that the distance between any two vertices ofSinGis more thanr. Forr =1, this is the IndependentSetproblem. The proof thatr-ScatteredSetis contraction bidimensional,

(14)

linear separable, and reducible is similar to the one forr-Dominating Setand is omitted. We collect all of the above observations in the following lemma.

Lemma5. r-DominatingSet, ConnectedDominatingSet, ConnectedVertexCover, and r-ScatteredSetare contraction bidimensional, linear separable, and reducible.

4.2 Covering and Packing Problems

Minor covering and packing.This section presents a few generic problems. Each of the problems subsumes many problems in itself andfits in our framework. LetF be afinite set of connected graphs containing at least one planar graph. We define the following problem.

F-Deletion

Instance: A graphG.

Objective: Find a setS⊆V(G)of minimum size such thatG−S contains no graph fromF as a minor.

We consider the situation when setF contains at least one planar graph because, as we will see later, in this case,F-Deletionis bidimensional. However, even in this special scenario,F- Deletiongeneralizes many interesting problems. For example,

—VertexCoveris the case whenF ={K2}. Here,Ki is a complete graph onivertices.

—WhenF ={K3}, this is the FeedbackVertexSetproblem.

—DiamondHittingSetis the case whenF ={K4}.

—Other choices forF lead to vertex deletion into outerplanar graphs, series-parallel graphs, and graphs of constant treewidth (Treewidth-ηModulator) or pathwidth.

F-Deletioncan be seen as a variant of the HittingSetproblem, in which the task is to “hit”

all forbidden minors. The dual maximization problem is the following.

F-Packing

Instance: A graphG.

Objective: Find a maximum size collection of vertex disjoint subgraphs such that each of them contains a graph fromF as a minor.

In particular,F-Packingcontains problems such as CyclePackingas a special case.

It is easy to see that both F-DeletionandF-Packingare minor-closed problems. Since we assume that setF contains at least one planar graph, we can select a smallest planar graphFinF. By the result of Robertson et al. (1994),Fis a minor of thet×tgrid!t, wheret=14|V(F)|−24.

Grid !r containsr2/t2 disjoint subgrids, each containingF as a minor. Since every solution of F-Deletionshould contain at least one vertex of each of ther2/t2 subgrids, we have thatF- Deletionis minor bidimensional. Similarly,!r contains at leastr2/t2vertex-disjoint subgraphs, each containingFas a minor; hence,F-Packingis minor bidimensional.

We now prove thatΠ=F-Deletionis linear separable. For graphG, letL⊆V(G)with|∂(L)|≤ t. Then, (SOLΠ(G)∩L)∪∂(L) “hits” every subgraph ofG[L] containing a graph from F as a minor. Thus, OPTΠ(G[L]) ≤|SOLΠ(G)∩L|+t.To prove that|SOLΠ(G)∩L|−t ≤OPTΠ(G[L]), observe that if|SOLΠ(G)∩L|−t>OPTΠ(G[L]),then set SOLΠ(G[L])∪∂(L)∪SOLΠ(G−L)is a set hitting all minors fromF inGof size smaller than OPTΠ(G), which is a contradiction. Hence, F-Deletionis linear separable.

The proof of separability ofF-Packinggoes along the same lines as the proof forF-Deletion, but with a few notable differences. We viewF-Packingas a problem offinding a maximum vertex

(15)

setSsuch that there is a subgraphH ofG, such that every connected component ofH contains exactly one vertex ofSand contains some graph fromF as a minor. Then, the main observation implying linear separability is that by deletingt vertices fromG, we cannot touch more thant components fromH.

Finally, it is easy to see that bothF-DeletionandF-Packingare reducible. GivenGandX, we letG=G−X. ForF-Deletion,X can be added to an optimal solution inGat the cost of|X|. ForF-Packing, at most|X|of the minors of graphs inH contain a vertex inX and got removed whenX was deleted. Expressing both problems as Min/Max-CMSO problems is routine.

Lemma6. LetF be afinite set of graphs containing a planar graph. Then,F-DeletionandF- Packingare minor bidimensional, linear separable, and reducible.

5 SCALING LEMMA

In this section, we prove the following lemma, which is crucial in our analysis. Informally, the lemma says the following. LetXbe a treewidth-η-modulator of a graphGfrom graph classGwith the SQGM property. Then, for anyϵ >0, one can scale down in polynomial time setX to setX of sizeϵ· |X|such that every connected componentCofG−Xis separated from the remaining graph by a constant number of vertices and contains only a constant number of vertices fromX. SinceX is also a treewidth-η-modulator inG[C], this implies, in particular, that the treewidth of C—and thus oftw(G−X)—is bounded by a constant depending onϵ,η, and classGonly. Thus, the lemma allows us to obtain a smaller treewidth-modulator from a given one.

Lemma7 (ScalingLemma). LetGbe a hereditary graph class with the SQGM property. For any 1>ε>0andη >0, there isγ such that for anyG∈Gand treewidth-η-modulatorX ofG, there is X⊆V(G)such that

—|X|≤ε|X|, and

—for every connected componentCofG−X, we have that|C∩X|≤γand|N(C)| ≤γ. Moreover, such a setXcan be computed fromGandX in polynomial time, where the polynomial is independent ofεandη.

Proof. SinceGis a hereditary graph class with the SQGM property, by Lemma4, there exist constantsβ and 0<λ<1 such that, for everyG∈Gsuch thatGhas a treewidth-η-modulator of size at mostk, we have thattw(G)≤β·kλ. We select the constantγ based onλ,β,η, andε. Let

ρ= min

1/3≤α2/3αλ+(1−α)λ.

Observe that since 0<λ <1, for anya>0,b >0, we have thataλ+bλ>(a+b)λ. Hence, ρ>1. We also define

δ= (2ε+1)(β+η+1) ρ−1 , andfinally

γ =

$3δ ε

%1−λ1 .

The choice of these constants will become clear during the course of the proof. Let us also note thatρ<2. Thus,δ ≥ε; hence,γ ≥1.

To prove thatγ is the required constant, we define the valueTγ(k)as the minimum size of a set Xsatisfying conditions of the lemma. That is,Tγ(k)is the smallest integer such that ifG∈Gand

(16)

there isX ⊆V(G)withtw(G−X) ≤ηand|X| ≤k, then there isX⊆V(G)of size at mostTγ(k) such that, for every connected componentCofG−X, we have that|C∩X| ≤γand|N(C)|≤γ. In other words,Tγ(k)is the minimum size of a vertex setXsuch that every connected component CofG−Xhas at mostγ neighbors inXand contains at mostγvertices ofX.

Then, to prove the combinatorial statement of the lemma, we have to show that for everyk ≥1,

Tγ(k) ≤εk. (1)

Let us observe that Equation (1) trivially holds for k ≤γ. Indeed, let X be a treewidth-η- modulator ofGof sizek(ifGhas no modulator of sizek, there is nothing to prove). In this case, we putX=∅. Then, 0=|X|≤εkand for every connected componentCofG−X=G, we have that|C∩X|≤k ≤γ and|N(C)|=0≤γ. Thus, fork ≤γ,Tγ(k) =0 and (1) holds.

In order to prove Equation (1) fork>γ, we prove a slightly stronger statement: fork ≥γ/3,

Tγ(k) ≤εk−δkλ. (2)

We prove Equation (2) by induction onk. For the base case, we chooseγ/3≤k ≤γ. Then, the choice ofγ implies that

εk−δkλ ≥εγ

3 −δγλ ≥0.

On the other hand, we already have proved that, fork ≤γ,Tγ(k)=0. Thus, forγ/3≤k ≤γ, Tγ(k) ≤εk−δkλ,

which concludes the base case of the induction.

For the inductive step, letk >γ. LetG∈Gbe a graph with a treewidth-η-modulator of size at mostk. By Lemma4, the treewidth ofGis at mostβkλ. By Proposition2, there is a 2/3-balanced separation of (G,X) of order at mosttw(G)+1. Hence, there is a partition ofV(G) intoL, S, andRsuch that|S|≤βkλ+1,N(L) ⊆S,N(R) ⊆S,|L∩X|≤2k/3, and|R∩X|≤2k/3. Deleting Sfrom the graphGyields two graphsG[L] andG[R] with no edges between them. SinceGis a hereditary class of graphs, we can proceed recursively. For that, we putSintoXand then proceed recursively inG[L∪S] andG[R∪S],starting from the setsS∪(X ∩L)andS∪(X∩R)inG[L∪S]

andG[R∪S],respectively. This yields the following recurrence forTγ: Tγ(k) ≤ max

1/3α2/3T(αk+βkλ+1)+T((1−α)k+βkλ+1)+βkλ+1.

Observe that sincek >γ and 1/3≤α ≤2/3, we have thatαk≥γ/3 and(1−αk) ≥γ/3. On the other hand, max{αk,(1−α)k}≤2k/3 and 2k/3+βkλ+1<kfork >γ. The last inequality can be proved by observing that the functionk/3−βkλ−1 is monotonically increasing fork >(3λβ)1−λ1 and thatγ >(3β)1−λ1 >(3λβ)1−λ1 . Then, the induction hypothesis yields the following.

Tγ(k)≤ max

1/3α2/3T(αk+βkλ+1)+T((1−α)k+βkλ+1)+βkλ+1

≤ max

1/3α2/3ε(k+2βkλ+2)−δ(αk+βkλ+1)λ−δ(1−α)k+βkλ+1)λ+βkλ+1

≤ max

1/3≤α2/3εk−δ(αk)λ−δ((1−α)k)λ+(2ε+1)(βkλ+1)

≤ max

1/3≤α2/3εk−δkλλ+(1−α)λ)+(2ε+1)(βkλ+1)

≤εk−δkλ−δ(ρ−1)kλ+(2ε+1)(βkλ+1)≤εk−δkλ.

The last inequality holds wheneverδ(ρ−1)kλ ≥(2ε+1)(βkλ+1), which is ensured by the choice ofδand the fact thatkλ ≥1. This concludes the proof of Equation (2), and thus of Equation (1).

(17)

By the definition ofTγ(k), Equation (1) implies that there exists a setXof size at mostεksuch that, for every componentCofG−X, we have that|C∩X|≤γ and|N(C)|≤γ.

What remains is to show thatXcan be computed fromGandX in polynomial time. The in- ductive proof can be converted into a recursive algorithm. The only computationally hard step of the proof is the construction of a tree-decomposition ofGin each inductive step. Instead of com- puting the treewidth exactly, we use thed(

logtw(G)-approximation algorithm by Feige et al.

(2008), wheredis afixed constant. Thus, when we partitionV(G)intoL,S, andRusing Propo- sition2, the upper bound on the size ofSwill bed(βkλ))

log(βkλ)instead ofβkλ. However, for anyλ <λ<1, there is aβsuch thatd(βkλ)

)log(βkλ) <βkλ. Now, we can apply the above analysis withβinstead ofβ andλinstead ofλ to bound the size of the setXoutput by the

algorithm. This concludes the proof of the lemma. !

The following corollary is a direct consequence of Lemma7. Nevertheless, wefind it worthwhile to be mentioned separately.

Corollary1. LetGbe a hereditary graph class with the SQGM property with parameter2λ. For anyϵ >1andτ =O((ϵ1)1−λλ ), we have that, for anyG∈GandX ⊆V(G)withtw(G−X) ≤η, there isX⊆V(G)satisfying|X|≤ϵ|X|such thattw(G−X) ≤τ.

Proof. We apply Lemma7onGandX to obtain the setXof sizeϵ|X|. Observe that, in the proof of Lemma7,γ =O((1ϵ)1−λ1 ). The treewidth ofG−Xequals the maximum treewidth of a connected componentCofG−X. However,|C∩X|≤γ; thus,tw(G[C])=O(γλ), concluding the

proof. !

6 APPROXIMATION SCHEME: PUTTING IT ALL TOGETHER We are ready to state ourfirst meta-theorem.

Theorem1. LetΠbe anη-modulated and reducible graph optimization problem. Then,Πhas an EPTAS on every hereditary graph classGwith the SQGM property.

Proof. Letϕ(G,S) be a predicate defining anη-modulated and reducible graph optimization problemΠ. LetGbe the input toΠandϵ >0 be a constant.

SinceΠisη-modulated, there is a constantρ1 >0 and a polynomial time algorithm that outputs a setXsuch that|X|≤ρ1OPTΠ(G)andtw(G−X) ≤η. Furthermore, sinceGis a hereditary graph class with the SQGM property andtw(G−X)≤η, by Lemma4, there exist constantsβandλ<1 such thattw(G)≤β|X|λ. Since problemΠdefined by a predicateϕ(G,S)is reducible, there exist a Min/Max-CMSO problemΠdefined by a CMSO-expressible predicateϕ(G,S), a constantρΠ, and a functionf :N→Nsuch that:

(R1) there is a polynomial-time algorithm that, givenGandX⊆V(G), outputsGsuch that

|OPTΠ(G)−OPTΠ(G)|≤ρΠ|X|andtw(G) ≤f(τ); and

(R2) there is a polynomial-time algorithm that, givenGandX⊆V(G),G, and a vertex (edge) setSsuch thatϕ(G,S)holds, outputsSsuch thatϕ(G,S)holds, and||S|−|S|| ≤ρΠ|X|. We putρ=max{ρ1Π}and selectϵ=ϵ2. By Lemma7(we are not using its full power yet), there existsγ such that, givenGandX, a setX with the following properties can be found in polynomial time

—|X|≤ϵ|X|, and

—for every connected componentCofG−X, we have that|C∩X|≤γ.

(18)

SinceGis a hereditary graph class, for every connected componentCofG−X, we have that C∩Xis a treewidth-η-modulator in graphG[C]. By Lemma4and Proposition1, there existλ<1 andβ(depending onϵ,λ,η, andβ) such thattw(G−X) ≤βγλ =τ. We constructGfromGand Xby making use of the polynomial-time algorithm described in (R1). Sincetw(G) ≤f(τ)andΠ is Min/Max-CMSO, we can use the extended version of Courcelle’s theorem (Courcelle1990,1997) given by Borie et al. (1992) tofind an optimal solutionStoΠinд(ϵ)|V(G)|time. By the proper- ties of the polynomial-time algorithm (R1),||S|−OPTΠ(G)|≤ρ|X|. We now call the polynomial- time algorithm described in (R2) to construct a solutionStoΠfromG,X,G, andS. The conditions on the second algorithm ensure thatϕ(G,S)holds and that||S|−|S||≤ρ|X|. Hence,

||S|−OPTΠ(G)|≤2ρ|X| ≤2ρ2ϵOPTΠ(G)=ϵOPTΠ(G).

Thus, for everyϵ >0, we construct an algorithm that in timeд(ϵ)|V(G)|O(1), whereдis some function ofϵ, computes a(1+ϵ)-approximate solution toΠ. This concludes the proof of the the-

orem. !

6.1 Approximation Schemes for Bidimensional Problems In this section, we prove that

—every minor-bidimensional, linear-separable problemΠon a hereditary graph classGwith the SQGM property, and

—every contraction-bidimensional, linear-separable problemΠon a hereditary graph classG with the SQGC property

isη-modulated. By Theorem1, this implies the existence of EPTASs for reducible problems with these properties on the corresponding graph classes.

We needfirst the following lemma, whose proof is an adaptation of the proof of Fomin et al.

(2010, Lemma 3.2) for our purposes. We provide the proof here for completeness.

Lemma 8. For anyϵ >0and minor-bidimensional, linear-separable problemΠ on a hereditary graph classGwith the SQGM property, there exists an integerη≥0such that every graphG ∈Ghas a treewidth-η-modulatorSof size at mostϵ·OPTΠ(G).

Proof. Letβbe a constant such thatΠis(β·t)separable. Letαand 0≤λ<1 be the constants from Lemma1, in particular,tw(G) ≤α·(OPTΠ(G))λ. Setα=max{α,1}. Let us note that, for any β>β,Πis also(β·t)separable; thus, we can assume thatβ ≥1.

We now define a few constants. The reason that these constants are defined the way they are will become clear during the course of the proof. Finally, we setηbased onα,β,λ, andϵ.

—Setρ= 1λ+23λλ3λ and note thatρ>0.

—Setγ =4α β,

—setδ=γ(2ϵ+1)ρ , and

—setk0=(3+3γ)1−λ1 +13·(δϵ)1−λ1 . It is easy to verify thatk0satisfies 2

3k0+γk0λ ≤k0−1 (3)

and

0≤ϵ·k0

3 −δ

$k0

3

%λ

. (4)

Referanser

RELATERTE DOKUMENTER

The Directed Maximum Leaf Out-Branching problem is to find an out-branching (i.e., a rooted oriented spanning tree) in a given digraph with the maximum number of leaves.. In this

Defined from the function mim ( A ) ∶= the size of a maximum induced matching in the bipartite graph between A and

Subset Feedback Vertex Set , Restricted Edge-Subset Feed- back Edge Set , and Node Multiway Cut , and their weighted variants can be solved in time 2 O(tw log tw) n 3 on n-vertex

As a result, we prove that for any fixed dimension d ≥ 2 on intersection graphs of similarly-sized fat objects many well-known graph problems including Independent Set , r-

• A vertex spanning tree formed by selecting the minimum number of edges of the polyhedron that connect all the vertices, but do not create loops, cuts the boundary of a single

At maximum, both the large and small scale forest fire simulation will run in parallel, but the small scale simula- tion and tree rendering will only run for the nearest region

A minimum weight spanning tree connects all the vertices in a weighted and connected graph, and the sum of the weights of all of the edges of the tree yield the minimum

Using a reachability graph and a k- dominating set, Corcoran and Gagarin (2018) allocated charging stations such that any non- charging station vertex is within a specific range