HAL Id: inria-00331747
https://hal.inria.fr/inria-00331747
Submitted on 17 Oct 2008
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of
sci-entific research documents, whether they are
pub-L’archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
Approximation Results
Omid Amini, David Peleg, Stéphane Pérennes, Saket Saurabh
To cite this version:
Omid Amini, David Peleg, Stéphane Pérennes, Saket Saurabh. Degree-Constrained Subgraph
Prob-lems: Hardness and Approximation Results.
[Research Report] RR-6690, INRIA. 2008.
�inria-00331747�
a p p o r t
d e r e c h e r c h e
9
-6
3
9
9
IS
R
N
IN
R
IA
/R
R
--6
6
9
0
--F
R
+
E
N
G
Thème COM
Sous-graphes avec contraintes sur le degré :
difficulté et approximation
Omid Amini — David Peleg — Stéphane Pérennes — Ignasi Sau — Saket Saurabh
N° 6690
Omid Amini
†
, DavidPeleg‡
, Stéphane Pérennes§
,Ignasi Sau¶k
, Saket Saurabh∗∗
ThèmeCOMSystèmes ommuni ants ProjetMASCOTTE
Rapportdere her he n°6690September200829pages
Résumé:Ageneralinstan eofaDegree-Constrained Subgraphproblem onsistsof anedge-weightedorvertex-weightedgraph
G
andtheobje tiveistondanoptimalweighted subgraph,subje tto ertaindegree onstraintsontheverti esof thesubgraph.This lass of ombinatorialproblemshasbeenextensivelystudiedduetoitsnumerousappli ationsin network design. If the input graph is bipartite, these problems are equivalent to lassi al transportationandassignmentproblemsin operationsresear h. Thispaper onsidersthree naturalDegree-ConstrainedSubgraphproblemsandstudiestheirbehaviorintermsof approximationalgorithms. These problemstakeas inputanundire ted graphG = (V, E)
, with|V | = n
and|E| = m
. Ourresults,togetherwith thedenitionofthethree problems, arelistedbelow.∗
This workhas been partially supported byEuropean proje t IST FETAEOLUS, PACAregion of Fran e,MinisteriodeEdu a iónyCien iaofSpain,EuropeanRegionalDevelopmentFundunder proje t TEC2005-03575,CatalanResear h Coun ilunder proje t2005SGR00256 andCOSTa tion293GRAAL, andhasbeendoneinthe ontextofthe r CorsowithFran eTele om.
†
Max-Plan k-InstitutfürInformatik,Saarbrü ken,GERMANY.aminimpi-inf.mpg.de
‡
WeizmannInstituteofS ien e,Rehovot,ISRAEL.david.pelegweizmann.a .i l
§
Mas otte joint proje t - INRIA/CNRS-I3S/UNSA, Sophia-Antipolis, FRANCE. Stephane.Perennessophia. inri a.f r
¶
Mas otte joint proje t - INRIA/CNRS-I3S/UNSA, Sophia-Antipolis, FRANCE. Ignasi.Sausophia.inria.f r
k
GraphTheoryandCombinatori sgroupatAppliedMathemati sIVDepartmentofUPC,Bar elona, SPAIN.
∗∗
The Maximum Degree-Bounded Conne ted Subgraph (MDBCS
d
) problem takes as input a weight fun tionω : E
→ R
+
and an integer
d
≥ 2
, and asks for a subsetE
′
⊆ E
su h that the subgraph
G
′
= (V, E
′
)
is onne ted, has maximum degreeat most
d
,andP
e∈E
′
ω(e)
ismaximized. This problemis one ofthe lassi al NP-hard problems listed by Garey and Johnson in (Computers and Intra tability, W.H.Freeman,1979), buttherewerenoresultsintheliteratureex eptford = 2
.We provethatMDBCSd
isnotinApxforanyd
≥ 2
(thiswasknownonlyford = 2
)and weprovide a(min
{m/ log n, nd/(2 log n)})
-approximationalgorithm for unweighted graphs,anda(min
{n/2, m/d})
-approximationalgorithmforweightedgraphs.Wealso provethat whenG
a eptsalow-degreespanningtree,in termsofd
,then MDBCSd
anbeapproximatedwithin asmall onstantfa torinunweightedgraphs.The Minimum Subgraph of Minimum Degree
≥d
(MSMDd
) problem onsists in ndingasmallestsubgraphofG
(intermsofnumberofverti es)withminimumdegree at leastd
. We prove that MSMDd
is not in Apx for anyd
≥ 3
and we provideanO(n/ log n)
-approximationalgorithmforthe lassesofgraphsex ludingaxedgraph asaminor,usingdynami programmingte hniques andaknownstru turalresulton graph minors. In parti ular, this approximation algorithm applies to planar graphs andgraphsofboundedgenus.The Dual Degree-Dense
k
-Subgraph (DDDk
S) problem onsists in nding a subgraphH
ofG
su h that|V (H)| ≤ k
andδ
H
is maximized, whereδ
H
is the minimum degree inH
. We present a deterministiO(n
δ
)
-approximation algorithm in generalgraphs,forsomeuniversal onstant
δ < 1/3
.Mots- lés: ApproximationAlgorithms,Degree-ConstrainedSubgraphs,HardnessofApproximation, Apx,PTAS,DenseSubgraphs,GraphMinors,Ex ludedMinor.
Abstra t: Ageneralinstan eofaDegree-Constrained Subgraphproblem onsistsof anedge-weightedorvertex-weightedgraph
G
andtheobje tiveistondanoptimalweighted subgraph,subje tto ertaindegree onstraintsontheverti esof thesubgraph.This lass of ombinatorialproblemshasbeenextensivelystudiedduetoitsnumerousappli ationsin network design. If the input graph is bipartite, these problems are equivalent to lassi al transportationandassignmentproblemsin operationsresear h. Thispaper onsidersthree naturalDegree-ConstrainedSubgraphproblemsandstudiestheirbehaviorintermsof approximationalgorithms. These problemstakeas inputanundire ted graphG = (V, E)
, with|V | = n
and|E| = m
. Ourresults,togetherwith thedenitionofthethree problems, arelistedbelow.The Maximum Degree-Bounded Conne ted Subgraph (MDBCS
d
) problem takes as input a weight fun tionω : E
→ R
+
and an integer
d
≥ 2
, and asks for a subsetE
′
⊆ E
su h that the subgraph
G
′
= (V, E
′
)
is onne ted, has maximum degree at most
d
, andP
e∈E
′
ω(e)
is maximized. This problem is one of the lassi- alNP-hardproblemslistedbyGareyandJohnsonin(Computers andIntra tability, W.H.Freeman,1979), buttherewerenoresultsintheliteratureex eptford = 2
.We provethatMDBCSd
isnotinApxforanyd
≥ 2
(thiswasknownonlyford = 2
)and weprovide a(min
{m/ log n, nd/(2 log n)})
-approximationalgorithm for unweighted graphs,anda(min
{n/2, m/d})
-approximationalgorithmforweightedgraphs.Wealso provethat whenG
a eptsalow-degreespanningtree,in termsofd
,then MDBCSd
anbeapproximatedwithin asmall onstantfa torinunweightedgraphs.The Minimum Subgraph of Minimum Degree
≥d
(MSMDd
) problem onsists in ndingasmallestsubgraphofG
(intermsofnumberofverti es)withminimumdegree at leastd
. We prove that MSMDd
is not in Apx for anyd
≥ 3
and we provideanO(n/ log n)
-approximationalgorithmforthe lassesofgraphsex ludingaxedgraph asaminor,usingdynami programmingte hniques andaknownstru turalresulton graph minors. In parti ular, this approximation algorithm applies to planar graphs andgraphsofboundedgenus.TheDualDegree-Dense
k
-Subgraph(DDDk
S)problem onsistsinndinga sub-graphH
ofG
su h that|V (H)| ≤ k
andδ
H
ismaximized, whereδ
H
istheminimum degree inH
. We present a deterministiO(n
δ
)
-approximation algorithm in general graphs,forsomeuniversal onstant
δ < 1/3
.Key-words: ApproximationAlgorithms,Degree-ConstrainedSubgraphs,Hardnessof Ap-proximation,Apx,PTAS,DenseSubgraphs,GraphMinors,Ex ludedMinor.
1 Introdu tion
In this paper we onsider three natural Degree-Constrained Subgraph problems and study them in termsof approximation algorithms. A general instan e of a Degree-ConstrainedSubgraphproblem[1,5,24℄ onsistsofanedge-weightedorvertex-weighted graph
G
andtheobje tiveistondanoptimalweightedsubgraph,subje tto ertaindegree onstraintsontheverti esofthesubgraph.Theseproblemshaveattra tedalotofattention inthelastde adesandhaveresultedinalargebodyofliterature[1,5,10,1214,16,19,22,24℄. Themostwell-studied onesareprobablytheMinimum-Degree SpanningTree [12℄and theMinimum-DegreeSteiner Tree [13℄problems.Beyondtheestheti andtheoreti alappealofDegree-Constrained Subgraph prob-lems,thereasonsforsu hintensivestudyarerootedintheirwideappli abilityintheareas of inter onne tion networks and routingalgorithms, among others. For instan e, givenan inter onne tionnetworkmodeledbyanundire tedgraph,onemaybeinterestedinnding asmallsubsetofnodeshavinghighdegreeof onne tivityforea hnode.Thistranslatesto ndingasmallsubgraphwithalowerboundonthedegreeofitsverti es,i.e.totheMSMD
d
problem.Notethatiftheinputgraphisbipartite,theseproblemsareequivalentto lassi al transportationandassignmentproblemsin operationresear h.The rst problem studied in the paper is a lassi al NP-hard problem listed in [15℄ ( f. Problem[GT26℄fortheunweightedversion):
Maximum Degree-Bounded Conne tedSubgraph (MDBCS
d
) Input : A graphG = (V, E)
, a weight fun tionω : E
→ R
+
and an integer
d
≥ 2
.Output : Asubset
E
′
⊆ E
su h that thesubgraph
G
′
= (V, E
′
)
is onne ted, hasmaximumdegreeatmost
d
,andP
e∈E
′
ω(E)
ismaximized.For
d = 2
,theunweightedMDBCSd
problem orrespondstotheLongest Pathproblem. Indeed, given the input graphG
(whi h an be assumed to be onne ted), letP
andG
′
be optimal solutions of Longest Path and MDBCS
2
inG
, respe tively. Then observe that|E(G
′
)
| = |E(P )|
unless
G
is Hamiltonian, in whi h ase|E(G
′
)
| = |E(P )| + 1
.One ould also ask the question : what happens when
G
′
is not required to be onne ted in the denition of MDBCS
d
? It turns out that without the onne tivity onstraint, both the edge version and the vertex version(where the goal is to maximize the total weight of theverti esof a subgraphrespe ting the degree onstraints) of theMDBCSd
problem areknownto besolvablein polynomialtime using mat hingte hniques [7,15,18℄.In fa t, without onne tivity onstraints,evenamoregeneralversionwhere theinput ontainsan intervalofalloweddegreesforea hnodeisknownto besolvableinpolynomialtime.The most generalversionof Degree-Constrained Subgraph problems is to nd a subgraphunder onstraintsgivenbylowerandupperboundsonthedegreeofea hvertex,the obje tivebeingtominimizeormaximizesomeparameter(usuallythesizeofthesubgraph). A ommon variantignoresthelowerboundon thedegreeandjust requiresthe verti esof thesubgraphstohaveagivenmaximumdegree[22℄,in whi h asethetypi aloptimization riterionistomaximizethesizeofasubgraphsatisfyingthedegree onstraints.Theresulting
problem is also alled an Upper Degree-Constrained Subgraph problem in [14℄.In ontrast,weare unawareof existing results onsideringjust alowerbound onthe degrees oftheverti esofthesubgraph,ex eptfor ombinatorial onditionsontheexisten eofsu h a subgraph [10℄. In an attempt to ll this void in the literature, the last two problems onsideredinthispaperaimatminimizingthesizeofasubgraphandmaximizingthelower bound on the minimum degree, respe tively. For a graph
H
, letδ
H
denote the minimum degreeoftheverti esinH
.Minimum Subgraph of Minimum Degree
≥d
(MSMDd
) Input:An undire tedgraphG = (V, E)
andanintegerd
≥ 2
.Output:Asubset
S
⊆ V
su hthatforH = G[S]
,δ
H
≥ d
and|S|
isminimized. DualDegree-Densek
-Subgraph(DDDk
S)Input:An undire tedgraph
G = (V, E)
andapositiveintegerk
.Output:Anindu edsubgraph
H
ofsize|V (H)| ≤ k
,su hthatδ
H
ismaximized. MSMDd
is losely related to MDBCSd
. Indeed, MSMDd
orresponds exa tly to the dual(unweighted)node-minimizationversionofMDBCSd
.MSMSd
isalsoageneralization oftheGirthproblem(ndingashortest y le),whi h orrespondsexa tlytothe ased = 2
. InAmini et al.[4℄, the MSMDd
problem was introdu ed and studied in the realmof the parameterized omplexity. It was shown that MSMDd
is W[1℄-hardford
≥ 3
andexpli it FPT algorithmswere givenforthe lassof graphsex ludingaxedgraphas aminorand graphsof bounded lo al-treewidth. Besidesthe abovedis ussion, our main motivation for studyingMSMDd
isits loserelationtothewellstudiedDensek
-Subgraph(Dk
S)[11,17℄ andTraffi Grooming[3℄problems.Indeed,ifgoodapproximatesolutions ouldbefound for the MSMSd
problem, then one ould also nd good approximate solutions (up to a onstantfa tor)fortheDk
SandTraffi Groomingproblems.Roughly,theideaisthat asmall subgraphwithminimumdegreeatleastd
hasdensityatleastd
2
,and thisprovides anapproximationforthedensestsubgraph (infa t,Traffi Grooming an beredu ed, essentially,to ndingdensesubgraphs).See[3,4℄forfurtherdetails.Theabovedis ussionillustratesthat thestudyoftheabovementionedproblemsisvery naturalandthat theresultsobtainedfor them an reverberatein several otherimportant optimizationproblems, omingfromboththeoreti alandpra ti aldomains.
Our Results : In this paper we obtain both approximation algorithms and results on hardnessof approximation.All thehardnessresultsare basedonthe hypothesis P
6=
NP. Morepre isely,ourresultsarethefollowing:We prove that the MDBCS
d
problem is not in Apx for anyd
≥ 2
. On the other hand, wegivean approximationalgorithm for generalunweightedgraphswith ratiomin
{m/ log n, nd/(2 log n)}
, and an approximation algorithm for general weighted graphswith ratiomin
{n/2, m/d}
.The rstalgorithm usesan algorithmintrodu ed in [2℄, that is based on the olor- oding method. We also present a onstant-fa tor approximation in Appendix D when the input grapha epts alow-degreespanning tree,in termsoftheintegerd
.WeprovethattheMSMD
d
problemisnotinApxforalld
≥ 3
.Theproofisobtained bythefollowingtwosteps.First,byaredu tionfromVertex Cover,weprovethat MSMDd
doesnotadmitaPTAS.Inparti ular,thisimpliesthatMSMDd
isNP-hard foranyd
≥ 3
.Then,weusetheerrorampli ation te hniquetoprovethatMSMDd
is notinApxforanyd
≥ 3
.Onthepositiveside,wegiveanO(n/ log n)
-approximation algorithmforthe lassofgraphsex ludingaxedgraphH
asaminor,usingaknown stru turalresultongraphminorsanddynami programmingovergraphsofbounded treewidth.Inparti ular,thisgivesanO(n/ log n)
-approximationalgorithmforplanar graphsand graphsofboundedgenus.We givea deterministi
O(n
δ
)
-approximationalgorithm for theDDD
k
S problem in general graphs,for someuniversal onstantδ < 1/3
. We also provide a randomizedO(
√
n log n)
-approximationalgorithmin AppendixI,whi h is ompletelydierentin nature.Althoughtheapproximationratiois signi antlyworse,theideaoftheproof isquitesimpleand ni e.Organization of the paper : In Se tion 2 we establishthat MDBCS
d
is not in Apx for anyd
≥ 2
, and in Se tion 3 we present twoapproximation algorithms for unweighted andweightedgeneralgraphs,respe tively.The onstant-fa torapproximationforMDBCSd
when the input grapha epts a low-degreespanning tree is provided in Appendix D for unweightedgraphs.InSe tion4weprovethatMSMDd
isnotinApxforanyd
≥ 3
,andin Se tion5wegiveanO(n/ log n)
-approximationalgorithmforthe lassofgraphsex luding a xed graphH
as a minor. In Se tion 6 we give two approximation algorithms for the DDDk
Sproblem.Finally,we on ludewithsomeremarksandopenproblemsinSe tion7. Theomittedproofsandsomebasi denitions an befoundintheappendi es.2 Hardness of Approximating MDBCS
d
As mentionedinSe tion 1,MDBCS
2
isexa tlytheLongest Pathproblem, whi his knowntonota eptany onstant-fa torapproximation[16℄,unlessP=
NP.Inthisse tion we extend this result and prove that, under the assumption P6=
NP, MDBCSd
is not in Apxforanyd
≥ 2
,provingrstthatMDBCSd
isnotinPTASforanyd
≥ 2
.Wereferto Appendix A.1forthedenitions of the omplexity lassesApx,PTAS andforthe notion ofgap-preserving redu tion, whi hwill beusedfreelythroughoutthepaper.Theorem 2.1 MDBCS
d
does notadmit a PTAS for anyd
≥ 2
,unless P=
NP.Proof: We prove the result for the ase when
d
≥ 3
. The result for the ased = 2
followsfrom [16℄.Wegiveourredu tionfromTSP(1, 2)
,whi hdoesnothavePTASunless P=
NP[21℄.Aninstan eofTSP(1, 2)
onsistsofa ompletegraphG = (V, E)
onn
verti es and aweight fun tionf : E
→ {1, 2}
on itsedges, and theobje tiveis to ndatraveling salesmantourof minimumedgeweightinG
.WeshowthatifwehaveaPTASforMDBCS
d
,d
≥ 3
,thenwe an onstru taPTAS forTSP(1, 2)
. Towardsthis, we transformthe graphG
into anewgraphG
′
with a mod-ied weight fun tion
g
on its edges. For every vertexv
∈ V
we addd
− 2
new verti es{v
1
,
· · · , v
d−2
}
andweaddanedgefromv
toeveryvertexv
i
,1
≤ i ≤ d − 2
.This on ludes thedes riptionofG
′
.Let
V
′
=
{{v
1
,
· · · , v
d−2
} | v ∈ V }
bethesetofnewverti es,and letE
′
=
{(v
i
, v)
| 1 ≤ i ≤ d − 2, v ∈ V }
bethesetofnewedges.Wedene theweightfun tiong
ofG
′
as follows :
g(e) = 3
− f(e)
ife
∈ E
(weightsof original edges get ipped), andg(e) = 3
ife
∈ E
′
.
Next weprovea laim showingthestru ture ofthemaximal solutionsof MDBCS
d
inG
′
. Essentially,weshow that givenanysolution
G
1
of MDBCSd
inG
′
with value
W
, we an transformit into anothersolutionG
2
of MDBCSd
inG
′
withvalue at least
W
,su h thatG
2
ontainsallthenewlyaddededgesandindu esahamiltonian y leinG
.Theproof hasbeenmovedtoAppendixBduetola kofspa e.Claim1 Given a solution
G
1
= (V
∪ V
′
, E
1
)
to MDBCSd
inG
′
, we an transform it in polynomial time into a solution
G
2
= (V
∪ V
′
, E
2
)
of MDBCSd
inG
′
su h that (a)
G
3
= (V, E
∩ E
2
)
isahamiltonian y leinG
and; (b)P
e∈E
2
g(e)
≥
P
e
′
∈E
1
g(e
′
)
.Supposethat there exists aPTAS forMDBCS
d
realizedby anapproximations hemeA
δ
.ThisfamilyofalgorithmstakesasinputagraphG
′′
andaparameter
δ > 0
,andreturns asolutionof MDBCSd
ofweightat least(1
− δ)OP T
G
′′
,whereOP T
G
′′
isthevalueofan optimumsolutionofMDBCSd
inG
′′
.Nowwepro eedto onstru taPTASforTSP
(1, 2)
. GivenagraphG
,aninstan eof TSP(1, 2)
,andε > 0
,wedoas follows:1. Fix
δ = h(ε, d)
(to bespe iedlater)and runA
δ
onG
′
(the graphobtainedfrom
G
withthetransformationdes ribedabove).2. Apply thepolynomial time transformationdes ribed in Claim 1 onthe solution ob-tainedby
A
δ
onG
′
.Letthenewsolutionbe
G
∗
= (V
∪ V
1
, E
∗
)
. 3. Return
E
∗
∩ E
as thesolutionof TSP
(1, 2)
.Now we prove that the solution returned by our algorithm is of desired kind, that is
P
e∈E
∗
∩E
f (e)
≤ (1 + ε)O
T
,whereO
T
istheweightofanoptimumtourinG
. Letsu han optimumtour ontaina
edgesofweight1
andb
edgesofweight2
.ThenO
T
= a + 2b
anda + b = n
.Equivalentlya = 2n
− O
T
andb = O
T
− n
.LetO
D
bethevalueofanoptimum solutionof MDBCSd
inG
′
.
ThenbyClaim 1andtheippingnature ofthefun tion
g
, wehavethatO
D
= (d
− 2)3n + 2a + b.
(1)Let
3(d
− 2)n + O
∗
D
bethevalueofthesolutionreturnedbyA
δ
,whereO
∗
D
isthesumofthe weightsoftheedgesofthehamiltonian y leinG
,thatisO
∗
D
=
P
e∈E
∗
∩E
g(e)
.Sin eA
δ
is aPTAS,3(d
− 2)n + O
∗
D
≥ (1 − δ)O
D
.
(2)CombiningEquation(1)andInequality(2)gives
Ontheotherhand,thevalueofthesolutionreturnedbyouralgorithmforTSP
(1, 2)
isO
∗
T
= 3n
− O
D
∗
(sin eifO
∗
D
= 2x + y
,x
beingthenumberofedgesofweight2
andy
being thenumberofedgesofweight1
,withx + y = n
,thenthevalueofthesolutionforTSP(1, 2)
isx + 2y
).SubstitutingO
∗
D
= 3n
− O
∗
T
in Inequality(3)andusingthatO
T
≥ n
yieldsO
∗
T
≤ O
T
− δO
T
+ n(3d
− 3)δ ≤ O
T
− δn + n(3d − 3)δ.
(4) ToshowthatO
∗
T
≤ (1 + ε)O
T
,by(4)itisenoughtobound−δn + n(3d − 3)δ ≤ ε · O
T
. Ratherwewillshowthat−δn+n(3d−3)δ ≤ εn
,whi hwillautomati allyimplytherequired bound. This an bedone by settingδ = h(ε, d) =
ε
3d−4
, yielding a PTAS for TSP(1, 2)
. Sin eTSP(1, 2)
doesnotadmitaPTAS[21℄,thelastassertionalsorulesouttheexisten e ofaPTASforMDBCSd
foranyd
≥ 3
,unlessP=
NP.2
We are now ready to statethe main result ofthis se tion. The proof onsists in using theinnaproximability onstant givenbyTheorem 2.1and applyingtheerror ampli ation te hniqueto ruleouttheexisten eofa onstant-fa torapproximation.Thewhole proofof Theorem2.2hasbeenmovedtoAppendix Cdue tola kofspa e.Theorem 2.2 MDBCS
d
,d
≥ 2
, doesnotadmitany onstant-fa torapproximation,unless P=
NP.3 Approximating MDBCS
d
Inthisse tionwefo usonapproximatingMDBCS
d
.AsseeninSe tion2,MDBCSd
does notadmitany onstant-fa torapproximationingeneralgraphs.InAppendixDweshowthat whentheinputgraphhasalow-degreespanningtree(in termsofd
),theproblem be omes easytoapproximate.Spe i ally,PropositionD.1providesa onstant-fa torapproximation forsu hgraphs.In this se tion we deal with general graphs. Con erning the Longest Path problem (whi h orresponds to the ase
d = 2
of MDBCSd
as dis ussed in the introdu tion) the bestapproximationalgorithm[6℄hasapproximationratioO(n(log log n/ log n)
2
)
,whi h im-provedthe ratio
O(n/ log n)
of[2℄. Using theresultsof [2℄, we provide in Theorem3.2 an approximationalgorithmforMDBCSd
ingeneralunweightedgraphsforanyd
≥ 2
.Thenwe turn to weighted graphs,providing a ompletely newapproximationalgorithm forgeneral weightedgraphsinTheorem3.3.Finallywe omparebothalgorithmsforunweightedgraphs. Tothebest ofourknowledge,thesearetherstapproximationalgorithmsforMDBCSd
in generalgraphs.Weneedapreliminary lemma,thatusesthefollowingresult:
Proposition 3.1( [20℄) Anyunorderedtreeon
n
nodes anberepresentedusing2n + o(n)
bits withadja en y beingsupportedinO(n)
time.Let
T
n,d
betheset ofnon-isomorphi unlabeledtreesonn
nodeswithmaximumdegreeat mostd
.Lemma3.1 The set
T
log n,d
anbe generatedinpolynomial timeonn
. Proof: It is well known [23℄ that|T
n,n−1
| ∼ Cα
n
n
−5/2
as
n
→ ∞
, whereC
andα
are positive onstants.Hen e, thesetT
log n,log n−1
hasanumberofelementspolynomialonn
. Inaddition, one an e iently generateall theelements ofT
log n,log n−1
, sin eby Proposi-tion3.1 anyunlabeled tree onlog n
nodes an berepresentedusing2 log n + o(log n)
bits with adja en ybeingsupported inO(log n)
time. Finally, the setT
log n,d
is obtainedfromT
log n,log n−1
byremoving alltheelementsT
with∆(T ) > d
, where∆(T )
is themaximumdegreeofthetree
T
.2
Themain ingredientof therstalgorithm isapowerfulresultof[2℄, whi h usesthe olor- oding method.
Theorem 3.1( [2℄) If a graph
G = (V, E)
ontains a subgraph isomorphi to a graphH = (V
H
, E
H
)
whose treewidth isatmostt
, thensu hasubgraph anbefound in2
O(|V
H
|)
·
|V |
t+1
· log |V |
time.
Inparti ular,treeson
log
|V |
verti es anbefoundintime|V |
O(1)
· log |V |
.Wearereadyto des ribeouralgorithmforunweightedgraphs.
Algorithm
A
:(1) Generatealltheelementsof
T
log n,d
.DenethesetF := {}
.(2) For ea h
T
∈ T
log n,d
, test ifG
ontains a subgraph isomorphi toT
. If su h a subgraphisfound,addittoF
.(3) If
F = ∅
ord > log n
,outputanarbitrary onne tedsubgraphofG
withd
edges. Otherwise,outputanyelementinF
.Theorem 3.2 Forall
d
≥ 2
,algorithmA
providesaρ
-approximationalgorithmfor MDBCSd
inunweightedgraphs, withρ =
min{m,nd/2}
log n
.Proof: Letus rstsee that therunning timeof algorithm
A
is polynomialonn
.Indeed, steps (1) and (2) an be exe uted in polynomial time by Lemma 3.1 and Theorem 3.1, respe tively.Step(3)takes onstanttime.AlgorithmA
is learly orre t,sin ebydenition ofthesetT
log n,d
theoutputgraphisasolutionof MDBCSd
inG
.Finally,letus onsidertheapproximationratioofalgorithm
A
.LetOP T
bethenumber ofedgesofanoptimalsolutionof MDBCSd
inG
, andletALG
bethenumberofedgesof thesolutionfoundbyalgorithmA
.Wedistinguishtwo ases:•
IfOP T
≥
d·log n
2
,thenanyoptimalsolutionH
ˆ
hasatleastlog n
verti es.Inparti ular,ˆ
H
ontains a tree onlog n
verti es, and so doesG
. Hen e, this tree will be found in step (2), and thereforeALG
≥ log n − 1
. (We an assume thatALG = log n
by repla ing everywhereT
log n,d
withT
log n+1,d
.) On the other hand, we know thatOP T
≤ min{m, nd/2}
.•
Otherwise, ifOP T <
d·log n
2
, thenALG
≥ d
. Note that su h a onne ted subgraph withd
edges anbegreedilyfoundstartingfrom anynodeofG
.In both ases,
OP T
ALG
≤ max
min
{
m,
nd
2
}
log n
,
log n
2
=
min{m,nd/2}
log n
(sin elog n =
O(
√
n)
), as
laimed.
2
Inparti ular,if
d = 2
,algorithmA
redu esto theLongest Pathalgorithmof[2℄. Theorem 3.3 The MDBCSd
problem admits aρ
-approximation algorithm in weighted graphs, withρ = min
{n/2, m/d}
.Proof: Letusdes ribethealgorithm.Let
F
bethesetofd
heaviestedgesintheinputgraphG
,andletW
bethesetofendpointsofthoseedges.Wedistinguishtwo asesa ordingto the onne tivityofthesubgraphH = (W, F )
.Letω(F )
denotethetotalweightoftheedges inF
.If
H
is onne ted,thealgorithmreturnsH
.We laimthatthisyieldsaρ
-approximation. Indeed,ifanoptimalsolution onsistsofm
∗
edgesoftotalweight
ω
∗
,then
ALG = ω(F )
≥
ω
∗
m
∗
· d
,sin ebythe hoi eofF
theaverageweightoftheedgesinF
annotbesmallerthan theaverageweightoftheedgesofanoptimalsolution.Asm
∗
≤ m
andm
∗
≤ dn/2
,weget thatALG
≥
ω
∗
m
· d
andALG
≥
ω
∗
dn/2
· d =
ω
∗
n/2
.Nowsuppose
H = (W, F )
onsistsof a olle tionF
ofk
onne ted omponents. Then wegluethese omponentstogetherink
− 1
phases.Inea hphase,wepi ktwo omponentsC, C
′
∈ F
,and ombine theminto anew onne ted omponent
C
ˆ
byaddinga onne ting path,withouttou hinganyother onne ted omponentofF
.WethensetF ← F \{C, C
′
}∪
{ ˆ
C
}
.Ea h phase operates as follows. For every two omponents
C, C
′
∈ F
, ompute their distan e, dened asd(C, C
′
) = min
{dist(u, u
′
, G)
| u ∈ C, u
′
∈ C
′
}
. TakeapairC, C
′
∈ F
attaining thesmallest distan e
d(C, C
′
)
. Let
u
∈ C
andu
′
∈ C
′
be twoverti esrealizing thisdistan e,i.e.su hthat
dist(u, u
′
, G) = d(C, C
′
)
.Let
p(u, u
′
)
beashortestpathbetween
u
andu
′
in
G
.LetC
ˆ
bethe onne ted omponentobtainedbymergingC
,C
′
andthepath
p(u, u
′
)
.
Forthe orre tnessproof,weneedthefollowingtwoobservations: First,observethatineveryphase,thepath
p(u, u
′
)
usedtomergethe omponents
C
andC
′
does notgo through any other luster
C
′′
, sin e otherwise,d(C, C
′′
)
would be stri tly smallerthand(C, C
′
)
, ontradi ting the hoi e of thepair
(C, C
′
)
. Moreover,
p(u, u
′
)
does notgothroughanyothervertex
v
inthe lusterC
ex eptforitsendpointu
,sin eotherwise,dist(v, u
′
, G) < dist(u, u
′
, G)
, ontradi ting the hoi e of the pair
u, u
′
. Similarly,
p(u, u
′
)
doesnotgothroughanyothervertex
v
′
in
C
′
.
Wenow laimthatafter
i
phases,themaximumdegreeofH
satises∆
H
≤ d − k + i + 1
. This is proved by indu tion oni
. Fori = 0
, i.e. for the initial graphH = (W, F )
, we observe that asF
onsists ofd
edges arranged ink
separate omponents, the largest omponentwill haveno more thand
− k + 1
edges, hen e∆
H
≤ d − k + 1
, as required. Nowsupposethe laimholdsafteri
− 1
phases,and onsiderphasei
.Allnodesotherthan thoseof thepathp(u, u
′
)
maintaintheirdegreefrom thepreviousphase.Thenodes
u
andu
′
(d
− k + (i − 1)+ 1)+ 1 = d − k + i + 1
,asrequired.Finally,theintermediatenodesofp(u, u
′
)
havedegree
2
≤ d − k + i + 1
(sin ei
≥ 1
andk
≤ d
).Itfollowsthatbytheendofphase
k
− 1
,∆
H
≤ d − k + k − 1 + 1 = d
.Also,atthatpointH
is onne ted.Hen eH
isavalidsolution.Finally, the approximation ratio of the algorithm is still at most
ρ = min
{n/2, m/d}
, sin ethisratiowasguaranteedfortheoriginallysele tedF
,andthenalsubgraph ontainstheset
F
.2
Let us now ompare the algorithm of Theorem 3.2 (algorithm
A
) and the algorithm of Theorem3.3(namely,algorithmB
)forunweightedgraphs.Comparingbothapproximation ratios,we on ludethatalgorithmA
performsbetterwhend < 2 log n
, whilealgorithmB
isbetterwhend
≥ 2 log n
.Runningbothalgorithmsandsele tingthebestsolutionweget thefollowingCorollary3.1 TheMDBCS
d
problem admitsaρ
-approximation algorithm in unweighted graphs, withρ = min
{n/2, nd/(2 log n), m/d, m/ log n}
.4 Hardness of Approximating MSMD
d
Themain theorem ofthis se tion,Theorem 4.2,showsthatMSMD
d
doesnotadmit a onstant-fa torapproximation ongeneral graphs,ford
≥ 3
. Werst provein Se tion 4.1 that MSMDd
does notadmit aPTAS and then, using the errorampli ation te hnique, weprovethemainresult.Our redu tionis obtainedfrom thewell knownVertex Cover (VC)problem(seeAppendixA.1).4.1 MSMD
d
does not admit a PTAS for anyd
≥ 3
WeproveTheorem4.1for
d = 3
,movingtheproofford
≥ 4
toAppendixEduetola k ofspa e.Theorem 4.1 MSMD
d
,d
≥ 3
, isnot in PTAS,unlessP=
NP.Proof: Wegiveagap-preservingredu tionfromVertex Cover.Let
H
beaninstan eof Vertex Cover onn
verti es. We onstru t aninstan eG = f (H)
of MSMD3
. Without lossofgenerality,we ansupposethatH
ontains3
· 2
m
edgesforsomeinteger
m
,andalso thateveryvertexofH
hasdegreeatleastthree.Let
T
bethe ompleteternaryrootedtreewithrootr
andheightm + 1
.Thenumberof leavesofT
is3
· 2
m
,and
T
ontains3
· 2
m+1
− 2
verti es.LetusidentifytheleavesofT
with edgesofH
,and allthissetE
(notethatE
⊆ V (T )
).Weaddanother opyofE
, alledF
, andaHamiltonian y leonE
∪ F
indu ingabipartitegraphwith partition lassesE
andF
asshowninFigure??.Letusalsoidentifytheverti esofF
withedgesinH
.Nowweaddn
new verti esA
identiedwith verti es ofH
,and join them tothe leavesofT
a ording to the adja en y relations between the edges and verti es inH
, i.e. an elementℓ
∈ T
isT
E(H)
E(H)
V(H)
E
A
F
onne tedto
v
∈ A
iftheedge orrespondingtoℓ
inH
isadja enttothevertexv
ofV (H)
. ThegraphG
builtin thiswayisdepi tedinFigure??.We laimthatminimumsubgraphsof
G
ofminimumdegreeatleastthree orrespondto minimumvertex oversofH
andvi e versa.Toseethis, rstnote thatifsu hasubgraphU
ofG
ontainsavertexofT
∪ F
,thenitshould ontainalltheverti esofT
∪ F
,be ause of thedegree onstraints. ObviouslyU
annot onsist just of verti esofA
, hen eU
must ontainalltheverti esofT
∪ F
.Notethatalltheverti esofF
havedegreetwoinG[T
∪ F ]
. Therefore,the problem redu es to ndingthe smallestsubsetof verti esinA
overingall theverti esinF
.Thisisexa tlytheVertex Cover problemforH
.Thus,wehavethatOP T
MSMD3
(G) = OP T
VC(H) +
|V (T )| + |V (F )| = OP T
VC(H) + 9
· 2
m
− 2 .
Usingthisformula,itisstraightforwardto he kthat
f
is agap-preservingredu tion[25℄. To ompletetheproof,notethatVertex CoverisApx-hard,evenrestri tedtographsH
ofsize linear inOP T
VC
(H)
. Theexisten eof aPTAS forMSMD
3
provides aPTAS for Vertex Cover,whi hisa ontradi tion(underassumptionApx6=
PTAS).2
4.2 MSMD
d
is not in APX for anyd
≥ 3
Wearenowreadytoprovethefollowingtheorem:Theorem 4.2 MSMD
d
,d
≥ 3
, does notadmit any onstant-fa tor approximation, unless P=
NP.Proof: We give again the details for
d = 3
, and prove the result for the ased
≥ 4
in Appendix F. The proof is by appropriately applying the standard error ampli ationte hnique.Let
G
1
=
{G}
bethefamilyofgraphswe onstru tedabove(Figure??)fromthe instan esH
ofvertex over,G
beingatypi almemberofthis family,andletα > 1
bethe fa torofinapproximabilityof MSMD3
,thatexists byTheorem 4.1.We onstru t a sequen e of families of graphs
G
k
, su h that MSMD3
is hard to ap-proximate withinafa torθ(α
k
)
in thefamily
G
k
.ThisprovesthatMSMD3
doesnothave any onstant-fa torapproximation.InthefollowingG
k
willdenoteatypi alelementofG
k
onstru tedusing theelementG
ofG
1
.Wedes ribethe onstru tionofG
2
,andobtainthe resultbyrepeatingthesame onstru tionindu tivelytoobtainG
k
.Foreveryvertexv
inG
(denotingitsdegreebyd
v
),we onstru tagraphG
v
asfollows.First,takea opyofG
,and hoosed
v
other arbitraryverti esx
1
, . . . , x
d
v
of degree three inT
⊂ G
. Then, werepla e ea h of these verti esx
i
with a y le of length four, and join three of the verti esof the y letothethree neighborsofx
i
,i = 1, . . . , d
v
.LetG
v
bethegraphobtainedin thisway. Notethatit ontainsexa tlyd
v
verti esofdegreetwoinG
v
.Nowwetakea opyof
G
,andrepla eea hvertexv
withG
v
.Then,wejointhed
v
edges in identtov
tothed
v
verti esofdegreetwoinG
v
.This ompletesthe onstru tionofthe graphG
2
,illustratedin FigureGofAppendixG.Wehavethat
|V (G
2
)
| = |V (G)|
2
+ o(
|V (G)|
2
)
,be auseea hvertexof
G
isrepla edwith a opyofG
wherewehadrepla edsomeof theverti eswitha y leoflengthfour.Tondasolutionof MSMD
3
inG
2
,note that foranyv
∈ V (G)
, on e avertexinG
v
is hosen,wehaveto look forMSMD3
inG
, whi h ishardupto a onstantfa torα
.But approximatingthenumberofv
'sforwhi hweshouldtou hG
v
isalsoMSMD3
inG
,whi h isharduptothesamefa torα
.Thisprovesthat approximatingMSMD3
inG
2
ishardup toafa torα
2
.Theproofofthetheoremis ompletedbyrepeatingthispro edure,applying thesame onstru tiontoobtain
G
3
,andindu tivelyG
k
.2
5 Approximating MSMD
d
Inthisse tion,itisshownthatforxed
d
,MSMDd
isinPforgraphswhosetreewidth isO(log n)
.Thisisdonebygivingapolynomialtimealgorithmbasedondynami program-ming.WerefertoAppendixA.2forthedenitionsoftree-de ompositionandtreewidth.Thisdynami programmingalgorithmisthenusedinSe tion5.2toprovidean
O(n/ log n)
-approximationalgorithm of MSMDd
forall lassesof graphsex ludingaxed graphas a minor. This algorithm relies on a partitioning result for minor-ex luded lass of graphs, provedbyDemaineet al.in [8℄.5.1 MSMD
d
is in P for Graphs with Small TreewidthIn order to proveour resultsweneed the following lemma, whi h givesthe time om-plexity of nding a smallest indu ed subgraph of degree at least
d
in graphs of bounded treewidth. The proof is based on standarddynami programmingte hniques,and an be foundinAppendix H.Lemma5.1 Let
G
be a graph onn
verti es with a tree-de omposition of width atmostt
, andletd
beapositiveinteger.ThenintimeO((d+1)
t
(t+1)
d
2
n)
we aneitherndasmallest indu edsubgraphofminimumdegreeatleastd
inG
,oridentifythatnosu hsubgraphexists. A graphG
isq
-degenerated if everyindu ed subgraph ofG
hasa vertex of degree at mostq
.Itiswellknownthatthereisa onstantc
su hthatforeveryh
,everygraphwithnoK
h
minorisch
√
log h
-degenerated[9℄.Thisimpliesthat
M
-minor-freegraphswith|M| = h
arech
√
log h
-degeneratedandhen ethelargestvalueofd
forwhi hMSMDd
isnon-empty isch
√
log h
,a onstant.Theabovedis ussion, ombinedwiththetime omplexityanalysis mentionedin Lemma5.1,implythefollowingCorollary5.1 Let
G
be ann
-vertex graph ex luding a xed graphM
as minor, with a tree-de omposition of widthO(log n)
, and letd
be apositive integer (a onstant). Then in polynomialtimeone aneithernd asmallestindu edsubgraphofminimum degreeatleastd
inG
, or on lude thatno su hsubgraphexists.5.2 Approximation Algorithm for
M
-minor-Free GraphsThefollowingresultofDemaineetal.[8℄providesawayforpartitioningtheverti esof agraphex ludingaxedgraphas aminorinto subsetswithsmall treewidth.
Theorem 5.1( [8℄) Foraxedgraph
M
, thereisa onstantc
M
su hthatfor anyintegerk
≥ 1
and for everyM
-minor-free graphG
, the verti es ofG
(or the edges ofG
) an be partitionedintok + 1
sets su hthat anyk
of the sets indu e a graph of treewidth atmostc
M
k
. Furthermore, su hapartition anbe foundin polynomial time.Onemayassumewithoutlossofgeneralitythattheminimumdegreeoftheminor-freeinput graph
G = (V, E)
is at leastd
(by removing all the verti es of lower degree), and also that|V (G)| = n = 2
p
forsome integer
p
≥ 0
(otherwise,repla elog n
with⌈log n⌉
in the des riptionofthealgorithm).Des riptionof thealgorithm:
(1) Relying on Theorem 5.1, partition
V (G)
in polynomial time intolog n + 1
setsV
0
, . . . , V
log n
su h that anylog n
of the sets indu e a graph of treewidth at mostc
M
log n
,wherec
M
isa onstantdepending onlyontheex ludedgraphM
.(2) Runthedynami programmingalgorithmofSe tion5.1onallthesubgraphs
G
i
=
G[V
\ V
i
]
oflog n
sets,i = 0, . . . , log n
.(3) Thispro edure ndsall thesolutionsofsize at most
log n
. Ifno solutionisfound, outputthewholegraphG
.This algorithm learly provides an
O(n/ log n)
-approximation for MSMDd
in minor-free graphs,for alld
≥ 3
. The runningtime of thealgorithm is polynomial inn
, sin ein step (2),forea hG
i
,thedynami programmingalgorithmrunsinO((d + 1)
t
i
(t
i
+ 1)
d
2
n)
time, wheret
i
isthetreewidthofG
i
,whi hisatmostc
M
log n
.6 Approximating DDD
k
SWeprovideadeterministi approximationalgorithmfortheDDD
k
SprobleminTheorem 6.1 (strongly based on the algorithm for Dk
S of [11℄), and a randomized approximation algorithminAppendixI.Eveniftheperforman eoftherandomizedalgorithmisworse,we in ludeitbe ausetheideabehindthealgorithmisquitesimple.Theorem 6.1 TheDDD
k
SproblemadmitsadeterministiO(n
δ
)
-approximationalgorithm, for someuniversal onstant
δ < 1/3
.Proof: Givenaninputgraph
G
,letρ
OP T
k
betheoptimalaveragedegreeofasubgraphofG
onexa tlyk
verti es(i.e.theoptimumof Dk
S),andletδ
OP T
k
betheoptimalminimum degreeofasubgraphofG
withat mostk
verti es(i.e.theoptimumofDDDk
S).LetC
be theapproximationratioofthealgorithmforDk
Sof[11℄,i.e.C = O(n
δ
)
forsomeuniversal onstant
δ < 1/3
.GivenagraphH
,letρ(H)
denotetheaveragedegreeofH
,andletδ(H)
denotetheminimumdegreeofH
.Weknow,by[11℄,thatwe anndasubgraph
H
k
ofG
onk
verti essu hthatρ(H
k
)
≥
ρ
OP T
k
/C
.Removingre ursivelytheverti esofH
k
withdegreestri tlysmallerthatρ(H
k
)/2
we obtain a subgraphH
′
k
ofH
k
on at mostk
verti es su h thatδ(H
′
k
)
≥ ρ(H
k
)/2
≥
ρ
OP T
k
/(2C)
.Thenextstep onsistsin provingthatthere existsaninteger
k
0
,1
≤ k
0
≤ k
, su h thatρ
OP T
k
0
≥ δ
OP T
k
,sowe anruntheDk
Salgorithmforea hk
′
≤ k
,removelow-degreeverti es ea h time,andtakethebest solutionofDDD
k
SamongH
′
2
, H
3
′
, . . . , H
k−1
′
, H
k
′
.Finally, letusprovethat
k
0
exists. LetH
bethe optimalsolutionof DDDk
S,δ(H) =
δ
OP T
k
.Letk
0
=
|V (H)|
(k
0
≤ k
).Thisisthek
0
wearelookingfor,be auseρ
OP T
k
0
≥ ρ(H) ≥
δ(H) = δ
OP T
k
.Theabovepro edure learly onstitutesa
(2C)
-approximationforDDDk
S.2
7 Con lusions
This paper onsideredthree Degree-Constrained Subgraphproblems and studied their behavior in terms of approximation algorithms and hardnessof approximation.Our mainresultsandseveralinterestingquestions thatremainopenaredis ussedbelow.
We proved that the MDBCS
d
problem is not in Apx for anyd
≥ 2
, and we pro-videdadeterministi approximationalgorithmwithratiomin
{m/ log n, nd/(2 log n)}
(resp.min
{n/2, m/d}
)forgeneralunweighted(resp.weighted)graphs.Finally,wegavea onstant-fa torapproximationwhentheinputgrapha eptsalow-degreespanningtree.Closingthe hugegap betweenthehardnessbound andthe approximationratioofouralgorithm looks likeapromising resear hdire tion.Itwas provedin[16℄ that ifanypolynomialtime algo-rithm anapproximatetheLongest Pathproblemtoaratioof2
O(log
1−ε
n)
,forany
ε > 0
, thenNPhasaquasi-polynomialdeterministi timesimulation.Nevertheless,thisresultdoesnotapplydire tly totheMDBCS
d
problemforalld
≥ 2
,soadierentstrategyshould be devised.WeprovedthattheMSMD
d
problemisnotinApxforanyd
≥ 3
.Itwouldbeinteresting tostrengthenthishardnessresultusingthepowerofthePCPtheorem.Onthepositiveside, we gave anO(n/ log n)
-approximation algorithm for the lass of graphsex luding a xed graphH
as a minor. Finally, nding an approximation algorithm for MSMDd
in general graphsseemsto bea hallengingopenproblem. Itseemsthat MSMDd
remainshardeven forproperminor- losed lassesofgraphs.Weprovideda
O(n
δ
)
-approximationalgorithmforthe DDD
k
S problem,for some uni-versal onstantδ < 1/3
.Itwould beinterestingtoprovidehardnessresults omplementing this approximation algorithm. Anotheravenuefor further resear h ould be to onsider a mixedversionbetweenDDDk
SandMSMDd
,that wouldresultin atwo- riteria optimiza-tionproblem.Namely,givenagraphG
,thegoalwouldbetomaximizetheminimumdegree whileminimizingthesizeofthesubgraph,bothparametersbeingsubje ttoalowerandan upperbound,respe tively.Référen es
[1℄ L.Addario-Berry,K.Dalal,andB.Reed.Degree onstrainedsubgraphs.Dis reteAppl. Math., 156(7):11681174,2008.
[2℄ N. Alon, R. Yuster, and U. Zwi k. Color- oding : a new method for nding simple paths, y lesandothersmallsubgraphswithinlargegraphs.InPro eedings ofthe26th annual ACM symposium on Theory of Computing, pages 326335, New York, USA, 1994.
[3℄ O.Amini, S.Pérennes,andI.Sau. HardnessandApproximationofTra Grooming. In Pro eedings of the 18th International Symposiumon Algorithms and Computation, volume4835ofLNCS,pages561573,volume4835ofLNCSseries,2007.
[4℄ O. Amini,I.Sau, andS. Saurabh. ParameterizedComplexityoftheSmallest Degree-Constrained SubgraphProblem. InPro eedings ofthe International Workshop on Pa-rameterizedandExa tComputation, volume5008ofLNCS,pages1329,volume5008 of LNCSseries,2008.
[5℄ R.P.Anstee.Minimumvertexweightedde ien yof
(g, f )
-fa tors:agreedyalgorithm. Dis reteAppl.Math.,44(1-3):247260,1993.[6℄ A. Björklundand T.Husfeldt. Finding aPathof Superlogarithmi Length. SIAM J. Comput.,32(6):13951402,2003.
[7℄ W. Cook, W. Cunningham, W. Pulleyblank, and A. S hrijver. Combinatorial Opti-mization. JohnWileyandSons,NewYork,1998.
[8℄ E.Demaine,M.Hajiaghayi,andK.C.Kawarabayashi.Algorithmi GraphMinor The-ory : De omposition,ApproximationandColoring. In46th Annual IEEE Symposium on FoundationsofComputer S ien e (FOCS),pages637646,O tober2005.
[9℄ R. Diestel. GraphTheory. Springer-Verlag,2005.
[10℄ P.Erd®s,R.Faudree,C.C.Rousseau,andR.H.S help. Subgraphsofminimaldegree
k
. Dis reteMath.,85(1):5358,1990.[11℄ U. Feige, D. Peleg, and G. Kortsarz. The Dense
k
-Subgraph Problem. Algorithmi a, 29(3) :410421,2001.[12℄ M. Fürerand B.Raghava hari. Approximatingtheminimum-degree spanning treeto within one from the optimal degree. In Pro eedings of the 3rd annual ACM-SIAM Symposiumon Dis reteAlgorithms,pages317324,USA,1992.
[13℄ M. Fürer and B. Raghava hari. Approximating the minimum-degree steiner tree to within one of optimal. InSODA : sele ted papers from the third annual ACM-SIAM symposiumonDis retealgorithms,pages409423,USA,1994.
[14℄ H. Gabow. An e ientredu tionte hniquefordegree- onstrainedsubgraphand bidi-re ted networkowproblems. InPro eedings of the 15th annual ACMsymposiumon Theory ofComputing,pages448456,USA,1983.ACM Press.
[15℄ M.GareyandD.Johnson.ComputersandIntra tability.W.H.Freeman,SanFran is o, 1979.
[16℄ D. Karger,R. Motwani, andG. Ramkumar. Onapproximatingthe longestpath in a graph. Algorithmi a,18(1):8298,1997.
[17℄ S. Khot. Ruling out PTAS for graph min-bise tion, densest subgraph and bipartite lique.In45thAnnualIEEESymposiumonFoundationsofComputerS ien e(FOCS), pages136145,2004.
[18℄ L. Lovász and M. Plummer. Mat hing Theory. Annals of Dis rete Math. 29, North-Holland, 1986.
[19℄ C. Lund and M. Yannakakis. The Approximation of Maximum Subgraph Problems. Automata, Languages and Programming : 20th International Colloquium, ICALP 93, Lund, Sweden, July5-9, 1993 : Pro eedings,1993.
[20℄ J.MunroandV.Raman. Su in tRepresentationofBalan edParenthesesandStati Trees. SIAMJournalonComputing,31(3):762776,2001.
[21℄ C. Papadimitriouand M.Yannakakis. Thetravelingsalesmanproblem withdistan es one andtwo. Mathemati sof OperationsResear h,18(1):111,1993.
[22℄ R.Ravi,M.Marathe,S.Ravi,D.Rosenkrantz,andH.H.III.Approximationalgorithms fordegree- onstrainedminimum- ostnetwork-designproblems.Algorithmi a,31(1):58 78, 2001.
[23℄ O. Ri hard. TheNumberofTrees. Annals of Mathemati s,Se ondSeries49(3):583 599,1948.
[24℄ Y. Shiloa h. Anotherlook at thedegree onstrained subgraphproblem. Inf. Pro ess. Lett.,12(2):8992,1981.
[25℄ V. Vazirani. Approximation Algorithms. Springer-Verlag,2003.
[26℄ S. Win. On a Conne tion Betweenthe Existen e of
k
-Trees and the Toughness of a Graph. GraphsandCombinatori s, 5(1):201205,1989.A Basi Denitions
A.1 Approximation Algorithms and Gap-preserving Redu tions GivenanNP-hardminimization(resp.maximization)problem
Π
andapolynomialtime algorithmA
, letOP T
Π
(I)
bethe optimal valueof the problemΠ
for theinstan eI
, and letALG(I)
be the value given by algorithmA
for the instan eI
. We say thatA
is anα
-approximationalgorithmforΠ
ifforanyinstan eI
ofΠ
,OP T
Π
(I)/ALG(I)
≥ α
(resp.OP T
Π
(I)/ALG(I)
≤ α
).The lassApx onsistsofallNP-hardoptimizationproblemsthat anbeapproximated within a onstant fa tor. The sub lass PTAS (Polynomial Time Approximation S heme) ontainstheproblemsthat anbeapproximatedinpolynomialtimewithinaratio
1 + ε
for any onstantε > 0
. Assuming P6=
NP, there is a stri t in lusion of PTAS in Apx(for instan e,Vertex CoverisinApx\
PTAS),hen eanApx-hardnessresultforaproblem impliesthenon-existen eofaPTAS.Forourinapproximabilityresults,wemakeuseof thefollowingredu tions ( f.[25℄). DenitionA.1 (Gap-preserving redu tion) For two minimization problems
Π
1
andΠ
2
, a gap-preserving redu tion fromΠ
1
toΠ
2
, parameterized by (f
1
,α
) and (f
2
,β
), is a pro edure thatgiven aninstan ex
ofΠ
1
, omputes inpolynomial timeaninstan ey
ofΠ
2
su hthat:if
OP T (x)
≤ f
1
(x)
, thenOP T (y)
≤ f
2
(x)
.if
OP T (x) > α(
|x|)f
1
(x)
, thenOP T (y) > β(
|x|)f
2
(x)
.Theusefulnessofgap-preservingredu tions stemsfrom thefollowingknownfa t:
LemmaA.1 If there is a gap-preserving redu tion from
Π
1
toΠ
2
and it is NP-hard to approximateΠ
1
within afa torstri tlylessthanα
,then itisalso NP-hardtoapproximateΠ
2
withina fa torstri tlylessthanβ
.Finally, let us re all thedenition of the vertex overproblem, from whi h weobtainthe hardnessredu tionofSe tion4.
Vertex Cover (VC)
Input:An undire tedgraph
G = (V, E)
. Output : AsubsetV
′
⊆ V
of theminimum size su h that for everyedge
e =
(u, v)
,eitheru
∈ V
′
or
v
∈ V
′
.
A.2 Tree-de omposition and Treewidth
DenitionA.2 (Tree-de omposition,treewidth) Atree-de ompositionofagraph
G =
(V, E)
isapair(T,
X )
,whereT = (I, F )
isatree,andX = {X
i
}, i ∈ I
isafamilyofsubsets ofV (G)
, alledbagsandindexedby thenodesofT
, su hthat1. ea h vertex
v
∈ V
appearsinatleastone bag,i.e.S
i∈I
X
i
= V
;2. for ea h
v
∈ V
the setof nodesindexedby{i | i ∈ I, v ∈ X
i
}
forms asubtreeofT
; 3. Forea h edgee = (x, y)
∈ E
, thereisani
∈ I
su hthatx, y
∈ X
i
.Thewidthofatree-de ompositionisdenedas
max
i∈I
{|X
i
|−1}
.ThetreewidthofG
,denoted bytw(G)
, isthe minimum widthofatree-de ompositionofG
.B Proof of Claim 1
Weprovethe laiminaseriesofobservationsimprovingthesolution,andapplythemin orderoftheirappearan e.Foragivenedgeset
F
,letX(F )
bethesetofverti es ontaining theend-pointsoftheedgesinF
.(a) Suppose
E
1
∩E
′
=
∅
.Then
H = (X(E
1
), E
1
)
is onne tedandeveryvertexv
∈ X(E
1
)
hasdegreeatmostd
inH
.ThisimpliesthatH
ontainsa y le,soremovinganyedge from this y le will not break onne tivity. So we an remove any edge(u, v)
from this y le andaddtheedges(u
1
, u)
and(v
1
, v)
,obtainingasolutionoflargerweight. Therefore,weassumehen eforththatE
1
∩ E
′
6= ∅
.
(b) Suppose
V
\ X(E
1
)
6= ∅
, that is there is a vertexv
∈ V
whi h is not ontained inX(E
1
)
. In this ase, by Observation (a), there exists a vertexu
∈ X(E
1
)
su h that one of theedges(u
i
, u)
,1
≤ i ≤ d − 2
,is inE
1
.We thensetE
1
← E
1
− {(u
i
, u)
} +
{(u, v), (v, v
i
)
| 1 ≤ i ≤ d − 2}
. Clearly wemaintain onne tivity(as removingedges fromE
′
doesnotbreak onne tivity)and theweightofsolutionin reasesbyatleast
1
.Werepeatthispro edureuntilthe urrentsolution ontainsalltheverti esofG
. ( ) SupposeH
′
= (V, E
∩ E
1
)
is neitheraspanningtreenorahamiltonian y le.Noti e thatH
′
is onne ted,asremovingdegree
1
verti esofV
′
doesnotbreak onne tivity. This implies that there is a y le
C
inH
′
su h that there is avertex
v
onit whose degree is at least3
inH
′
(otherwise,
H
′
would be dis onne ted). This implies that thereexistsanedge
e = (v, v
i
)
su hthate /
∈ E
1
.Let(u, v)
beanedgeonC
.Wethen setE
1
← E
1
− {(u, v)} + {(v, v
i
)
}
. Clearlywemaintain onne tivity(asremovingan edgefroma y ledoesnotbreak onne tivity)andtheweightofthesolutionin reases byatleast1
.(d) Suppose
H
′
= (V, E
∩E
1
)
isaspanningtree.IfH
′
isapaththentheend-pointsofthis path,say
u
andv
,havedegre1
inH
′
,hen ewe an addtheedge
(u, v)
andobtaina solutionofhigherweight.Soletus supposethatH
′
isnotapath,hen ethere exists avertex
v
ofdegreeatleast3
inH
′
.Thisimpliesthatthereexistsanedge
e = (v, v
i
)
su hthate /
∈ E
1
.Let(u, v)
beanedgein identtov
inthespanningtreeH
′
.Consider thespanningforest
H
′
− {(u, v)}
, onsistingoftwosub-tress
H
′
u
andH
′
v
ontainingu
andv
respe tively.Wesele taleafw
1
∈ H
′
u
andaleafw
2
∈ H
′
v
(w
2
6= v
),andwesetE
1
← E
1
− {(u, v)} + {(v, v
i
), (w
1
, w
2
)
}
.Clearlytheresultantgraphis onne tedand hashigherweight.We anapply theaboverulesin polynomialtime toobatinagraph
G
3
whi h isasolution of MDBCSd
inG
′
C Proof of Theorem 2.2
Werststatethefollowingte hni allemma.
LemmaC.1 Forall
d
≥ 2
,MDBCSd
restri tedtothe lassofgraphsforwhi hanyoptimal solution ontainsatleast2
verti esof degreeatmostd
− 1
is NP- omplete.Proof: WeknowthatMDBCS
d
isNP- ompleteingeneralgraphsforalld
≥ 2
[15℄,even whenalltheweightsoftheedgesareequalto1.LetG = (V, E)
beageneralinputgraphwith allweightsequalto 1.For ea h (unordered)pair ofverti esu, v
∈ V
,u
6= v
, we onstru t agraphG
u,v
in thefollowingway:G
u,v
isobtainedfromG
byaddingtwonewverti esu
′
and
v
′
,plustheedges
{u
′
, u
}
and
{v
′
, v
}
withweight
W
≥ 2|E(G)|
.Itis learthat,forea h pair{u, v}
,anyoptimalsolutionforG
u,v
ontainstheedges{u
′
, u
}
and
{v
′
, v
}
,hen eany optimalsolution ontainsthe2verti es
u
′
and
v
′
ofdegreeone,
1
≤ d − 1
.Letusseethatif we ouldsolveMDBCSd
inG
u,v
in polynomialtimeforea hpairu, v
,then we ouldalso ndanoptimalsolutionforG
inpolynomialtime, whi hwouldbea ontradi tion.Indeed, letOP T
u,v
betheweightofanoptimalsolutionof MDBCSd
inG
u,v
.LetOP T
G
u,v
=
OP T
u,v
− 2W + 1,
if{u, v} ∈ E(G)
anditisnotintheoptimalsolutioninG
u,v
,OP T
u,v
− 2W,
otherwise.ThenthenumberofedgesofanoptimalsolutionofMDBCS
d
inG
isexa tlymax
u,v
OP T
G
u,v
, that an be omputedinpolynomialtime. Thelemmafollows.2
Again, we provetheresult ford
≥ 3
,the result ford = 2
followingfrom [16℄.We will usetheerrorampli ationte hnique.Letα > 1
betheinapproximability onstantgivenby Theorem2.1.GivenafamilyofgraphsG
withatypi alelementG = (V, E)
with|V (G)| = n
and|E(G)| = m
,su hthat MDBCSd
ishardtoapproximatein thisfamilywithin afa torα > 1
,wewillbuildasequen eof familiesofgraphsG = G
1
,
G
2
, . . .
,su hthat MDBCSd
is hardtoapproximateinG
k
withinafa torα
k
.ThisimpliesthatMDBCS
d
isnotinApx.In thefollowingG
i
willbeatypi alelementof
G
i
.Letussupposethatthereexistsanalgorithm
C
forapproximatingtheoptimalvalueof MDBCSd
onanygraphwithina onstantfa tor ofρ > 1
,andderivea ontradi tion.Assume without loss of generality that all the weights of the edges of
G
are equal to 1(this an be assumedby repla ingthe edgesof weightW
by aternarytree oftotal sizeW
− 1
,ford > 2
, andadding twoedges ofweight1tou
i
andv
i+1
). Combinining Lemma C.1 andthe proof ofTheorem 2.1, itis easyto see that MDBCSd
doesnot admitPTAS restri tedtographsforwhi hany optimalsolution ontainsat leasttwoverti esof degreed
− 1
.(Indeed, note that in thefamily ofgraphs ontru ted in Theorem 2.1, anyoptimal solutionof MDBCSd
ontainsn(d
− 2)
verti es of degree1.) So an also assume without lossof generality that anyoptimal solution inG
(and indu tivelyalso inG
k
) ontains at least2verti esofdegree
d
− 1
.Let
OP T
k
andH
k
betheweightof anoptimalsolutionand anoptimal onne ted sub-graphinG
k
,respe tively.Wepro eedtoillustrateindetailthe onstru tionof
G
2
pairofverti es
{u, v} ∈ V
2
,
u
6= v
,webuildthegraphG
2
u,v
in thefollowingway:wetake thegraphG
andwerepla eea h edgee
i
= (x, y)
∈ E(G)
,i = 1, . . . , m
,with a opyG
i
ofG
(again,the opyofthevertexu
∈ V (G)
inG
i
islabeledu
i
),andweaddtheedges(x, u
i
)
and(y, v
i
)
with weightε
2
,0 < ε
2
<< 1
fori = 1, . . . , m
.We deneG
2
as the graph
G
2
u,v
forwhi halgorithm
C
givesthebest solution. Claim2OP T
2
= OP T
2
1
+ 2ε
2
· OP T
1
≈ OP T
1
2
.Sin eanyoptimalsolutionin
G
ontainsat least2verti eswith degreeat mostd
− 1
,the best solutioninG
2
ontains
OP T
1
opiesofH
1
,oneforea hedgeofH
1
,plus2edgeswith weightε
2
forea h opyofH
1
.Claim3 Given any solution
S
2
inG
2
with weight
x
, itispossible tond asolutionS
1
inG
withweight atleast√
x
.
Toprovethe laim,wedistinguishtwo ases:
•
Case a :S
2
interse tsatleast√
x
opies of
G
.Let
S
1
bethesubgraphofG
indu edbytheedges orrespondingtothese opies ofG
inG
2
.
•
Case b :S
2
interse tsstri tly fewerthan√
x
opies of
G
. LetS
1
beS
2
∩ G
i
, withG
i
being the opy ofG
inG
2
su h that
|E(S
2
∩ G
i
)
|
is maximized.Inboth ases
S
1
is onne ted,hasmaximumdegreeatmostd
, andhasat least√
x
edges.
ρ
-approximationinG
2
,then itis possibleto ndasolutionfor
G
withweightat leastq
OP T
2
ρ
≥
OP T
√
1
ρ
.Thatis,there existsa√
ρ
-approximationin
G
. Indu tively,to buildG
k
wetakeasequen e ofweightsfortheedges onne tingthe opies of
G
k−1
su hthat0 < ε
k
<< ε
k−1
<< . . . << ε
3
<< ε
2
<< 1.
Claim2be omesOP T
k
≈ OP T
2
k−1
+ 2ε
k
· OP T
k−1
≥ OP T
k−1
2
≥ OP T
k−2
4
≥ . . . ≥ OP T
2
k
1
, and the sameargumentsapply. As thesize ofG
k
is a polynomialfun tion on the size of
G
, this means that given aρ
-approximation algorithm for MDBCSd
forG
k
in
G
k
with runningtimepolynomialinthesizeof
G
k
,one anobtaina
ρ
1/2
k
-approximationalgorithm for MDBCS
d
forG
inG
and with running time polynomial in|G|
. But there exists an integerk
su hthatρ
2
−k
< α
, ontradi tingTheorem2.1. Thetheoremfollows.D Approximating MDBCS
d
in Graphs with Low-degree Spanning TreesWe rst state asimple lemma about the optimalsolutions of the polynomial problem MDBS