+ All Categories
Home > Documents > Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it...

Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it...

Date post: 18-Oct-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
46
Fundamentals of optimization problems Dmitriy Serdyuk Ferienakademie in Sarntal 2012 FAU Erlangen-Nürnberg, TU München, Uni Stuttgart September 2012
Transcript
Page 1: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Fundamentals of optimization problems

Dmitriy Serdyuk

Ferienakademie in Sarntal 2012FAU Erlangen-Nürnberg, TU München, Uni Stuttgart

September 2012

Page 2: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 2 / 46

Page 3: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 3 / 46

Page 4: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

What is optimization problem

DefinitionOptimization problem P: (IP ,SOLP ,mP ,goalP) where

1 IP – set of instances of the problem P2 SOLP – is a function that associates to any input instance x ∈ IP

the set of feasible solutions of x3 mP – is a measure function that for every pair (x , y)(x ∈ IP and

y ∈ SOLP(x)) associates positive integer which is the value of thefeasible solution y

4 goalP ∈ {MIN,MAX} – specifies whether P is a maximization or aminimization problem

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 4 / 46

Page 5: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Optimal solutions

SOL∗P – set of optimal solutions of xmP(x , y∗) = goalP{v |v = mP(x , z) ∧ z ∈ SOLP(x)}The value of any optimal solution y∗ of x will be denoted as m∗P(x)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 5 / 46

Page 6: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Example: Minimum Vertex Cover

Given a graph G = (V ,E), the Minimum Vertex Cover problem is tofind a vertex cover of minimum size. Formally:

I = {G = (V ,E)|G is a graph}SOL(G) = {U ⊆ V |∀(vi , vj) ∈ E : vi ∈ U ∨ vj ∈ U}m(G,U) = |U|goal = MIN

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 6 / 46

Page 7: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Problems associated with optimization problem

DefinitionConstructive problem PC – given an instance x ∈ IP , derive anoptimal solution y∗ ∈ SOLP(x) and its measure m∗P(x)Evaluation problem PE – given an instance x ∈ IP , derive itsoptimal measure m∗P(x)Decision problem PD – given an instance x ∈ IP and a positiveinteger value K , derive whether m∗P(x) ≥ K if goal = MAX orm∗P(x) ≤ K if goal = MIN

Underlying language of P is1 {(x ,K )|x ∈ I ∧m∗(x) ≥ K} if goal = MAX2 {(x ,K )|x ∈ I ∧m∗(x) ≤ K} if goal = MIN

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 7 / 46

Page 8: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Examples

Minimum Vertex CoverInstance: Graph G = (V ,E), K ∈ NQuestion: derive whether exists vertex cover on G of size ≤ K

Minimum Traveling Salesperson(TSP)Instance: Set of cities {c1, . . . , cn}, n × n matrix D of distancesSolutions: permutations {ci1 , . . . , cin}Measure:

∑n−1k=1 D(ik , ik+1) + D(in, i1)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 8 / 46

Page 9: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 9 / 46

Page 10: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Example: Minimum Path

Find minimum path between two nodes in the graph GInstance: Graph G = (V ,E), two nodes vs, vd ∈ VSolution: A path (vs = vi1 , . . . , vik = vd)

Measure: kCan be solved by breadth first search

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 10 / 46

Page 11: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Class NPO

DefinitionProblem P = (I,SOL,m,goal) belongs to the class NPO if:

1 I is recognizable in polynomial time2 there exists a polynomial q such that, given an instance x ∈ I, for

any y , |y | < q(|x |), it is decidable in polynomial time whethery ∈ SOL(x)

3 the measure function m is computable in polynomial time

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 11 / 46

Page 12: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Example

Minimum Vertex Cover belongs to NPO since:

1 any graph is recognizable in polynomial time2 size of any feasible solution y is smaller then number of vertexes,

testing whether a subset U ⊆ V requires testing whether anyedge in E is incident to at least one node in U

3 the size of U is clearly computable in polynomial time

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 12 / 46

Page 13: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Corresponding decision problem

TheoremFor any optimization problem P in NPO, the corresponding decisionproblem PD belongs to NP

Proof.Obviously: solution y should be guessed

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 13 / 46

Page 14: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Class PO

DefinitionOptimization problem P belongs to the class PO if it is in NPO andthere exists a polynomial-time computable algorithm A that for anyinstance x ∈ I, returns an optimal solution y ∈ SOL∗(x) together withits value m∗(x)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 14 / 46

Page 15: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 15 / 46

Page 16: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

NP-hard optimization problems

DefinitionAn optimization problem P is called NP-hard, if for every decisionproblem P ′ ∈ NP, P ′ ≤T P, P ′ can be solved in polynomial time by analgorithm which uses an oracle that, for any instance x ∈ IP , returns anoptimal solution y∗ of x and its value m∗P(x)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 16 / 46

Page 17: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

When problem is NP-hard?

TheoremLet a problem P ∈ NPO be given; if underlying language of P isNP-complete then P is NP-hard

Proof.Clearly the solution of the decision problem could be obtained for freeif an oracle would give us the solution of the constructive optimizationproblem

CorollaryIf NP 6= P then PO 6= NPO

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 17 / 46

Page 18: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Relations between decision, evaluation andconstructive problems

TheoremFor any problem P ∈ NPO, PD ≡T PE ≤T PC

Proof.It is clearly that PD ≤T PE ≤T PC .The range of possible values of m(x , y) is bounded by M = 2p(|x |) forsome polynomial p. Hence, by applying binary search the evaluationproblem could be solved by at most log(M) = p(|x |) queries to theoracle PD

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 18 / 46

Page 19: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Example

Maximum CliqueInstance: Graph G = (V ,E)

Solution: A clique in GU ⊆ V ∀(vi , vj) ∈ U × U : (vi , vj) ∈ E ∨ vi = vj

MaximumClique could be solved using an oracle that can solveevaluation problem MaximumCliqueEMaximumClique(G):

1 Compute k – size of the maximum clique in the graph G2 if k = 1 return any node3 find node v for which MaximumCliqueE(G(v)) = k4 return {v} ∪MaximumClique(G−(v))

Where G(v) – a subgraph induced by v and its neighbors, G−(v) – asubgraph induced by neighbors of v

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 19 / 46

Page 20: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Constructive to decision problem reduction

TheoremIf problem P ∈ NPO and PD is NP-complete, then PC ≤T PD

Proof.Let us assume, that P is a maximization problem.Problem P ′ has the same definition except for the measure functionmP ′ , which is defined as follows. Let p a polynomial, which bounds thelength of the solutions of P. Let λ(y) denote the rank of y in thelexicographical order. Then we denote the measure functionmP ′(x , y) = 2p(|x |)+1mP(x , y) + λ(y).

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 20 / 46

Page 21: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Constructive to decision problem reduction(2)

Proof.1 For all y1, y2 ∈ SOLP ′(x) measure functions are different

mP(x , y1) 6= mP(x , y2). Therefore exists only unique optimalsolution of the problem P ′ y∗P ′ ∈ SOL∗P ′(x).

2 If mP ′(x , y1) > mP ′(x , y2) then mP(x , y1) ≥ mP(x , y2). Therefore,y∗P ′ ∈ SOL∗P(x)

Optimal solution could be derived by computing remainder of thedivision m∗(P)′(x) by 2p(|x |)+1.PD is NP-complete and it can be used to solve P ′D.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 21 / 46

Page 22: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 22 / 46

Page 23: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Approximate algorithms

DefinitionGiven an optimization problem P = (I,SOL,m,goal), an algorithm A isan approximation algorithm for P if for any given instance x ∈ I itreturns an approximate solution, that is a feasible solutionA(x) ∈ SOL(x)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 23 / 46

Page 24: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 24 / 46

Page 25: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Absolute approximate algorithms

DefinitionGiven an optimization problem P = (I,SOL,m,goal), for any instancex and for any feasible solution y of x , the absolute error of y withrespect to x is defined as

D(x , y) = |m∗(x)−m(x , y)|

DefinitionGiven an optimization problem P = (I,SOL,m,goal) and anapproximation algorithm A for P we say that A is an absoluteapproximation algorithm if there exists a constant k such that, for everyinstance x of P, D(x ,A(x)) ≤ k

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 25 / 46

Page 26: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Problem, that not allow absolute approximationalgorithm, unless P = NP

TheoremUnless P = NP, no polynomial-time absolute approximation algorithmexists for Maximum Knapsack

Proof.Let X be a set of n items with profits p1, . . . ,pn and weights a1, . . . ,an,and let b be the knapsack capacity. If the problem would allowapproximation algorithm with absolute error k , then consider anotherinstance with profits multiplied by k + 1. The set of the feasiblesolutions is the same. The only solution with absolute error boundedby k can be found. Hence we can solve exactly original problem.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 26 / 46

Page 27: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 27 / 46

Page 28: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Relative error

DefinitionGiven an optimization problem P, for any instance x and for anyfeasible solution y of x , the relative error defined as

E(x , y) =|m∗(x)−m(x , y)|

max{m∗(x),m(x , y)}

DefinitionGiven an optimization problem P and an approximation algorithm A,we say that A is ε-approximation algorithm if the relative approximationerror provided by A

E(x , y) ≤ ε

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 28 / 46

Page 29: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Performance ratio

DefinitionGiven an optimization problem P, for any instance x and for anyfeasible solution y of x , the performance ratio defined as

R(x , y) = max{

m∗(x)m(x , y)

,m(x , y)m∗(x)

}

DefinitionGiven an optimization problem P and an approximation algorithm A,we say that A is r -approximation algorithm if the performance ratioprovided by A

R(x , y) ≤ r

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 29 / 46

Page 30: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Class APX

DefinitionAPX is the class of NPO problems such that for some r ≥ 1 thereexists a polynomial-time r -approximate algorithm.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 30 / 46

Page 31: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Problem that not belongs to APX, unless P = NP

TheoremIf Minimum Traveling Salesperson problem belongs to APX, then P =NP

Proof.Let us consider that exists polynomial-time r -approximate algorithm forMinTSP. For every instance of the Hamiltonian Circle decision problemwe can construct the following Traveling Salesperson problem.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 31 / 46

Page 32: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Problem that not belongs to APX, unless P = NP(2)

Proof.Let distances on the same graph G = (V ,E)

d(vi , vj) =

{1 if (vi , vj) ∈ E

1 + nr otherwise

CorollaryIf P 6= NP, then APX ⊂ NPO

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 32 / 46

Page 33: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 33 / 46

Page 34: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

The gap technique

TheoremLet P ′ be an NP-complete decision problem and let P be an NPOminimization problem. Let us suppose, that there exist twopolynomial-time computable functions f : IP ′ → IP , c : IP ′ → N and aconstant gap > 0, such that for any instance x

m∗(f (x)) ={

c(x) if x is a positive instance,c(x)(1 + gap) otherwise

Then no polynomial-time r-approximate algorithm for P withr < 1 + gap can exist, unless P = NP

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 34 / 46

Page 35: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

The gap technique(2)

Proof.We can use approximation algorithm of P for solving P ′ in the followingway. Let us apply approximation algorithm A to f (x)

1 if x is negative instance, m∗(f (x)) ≥ c(x)(1 + gap) andm(f (x),A) ≥ c(x)(1 + gap)

2 if x is positive instance, we have that

m(f (x),A)m∗(f (x))

≤ r < 1 + gap

m∗(f (x)) = c(x) hence m(f (x),A) < c(x)(1 + gap)

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 35 / 46

Page 36: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 36 / 46

Page 37: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Polynomial time approximation schemes

DefinitionLet P be an NPO problem. An algorithm A is said to be polynomialtime approximation scheme(PTAS) if, for any instance x and for anyrational number r > 1, A applied to (x , r) returns an r -approximatesolution of x in time polynomial in |x |.

The running time of a PTAS may also depend on 1/(r − 1)

DefinitionPTAS is the class of NPO problems that admit polynomial timeapproximation scheme

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 37 / 46

Page 38: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 38 / 46

Page 39: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

APX versus PTAS

TheoremIf P 6= NP, then Minimum Bin Packing does not belong to the classPTAS

CorollaryIf P 6= NP, then PTAS ⊂ APX

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 39 / 46

Page 40: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 40 / 46

Page 41: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

The class FPTAS

DefinitionLet P be an NPO problem. An algorithm A is said to be fullypolynomial time approximation scheme(FPTAS) if, for any instance xand for any rational number r > 1, A applied to (x , r) returns anr -approximate solution of x in time polynomial both in |x | and 1/(r − 1).

DefinitionFPTAS is the class of NPO problems that admit fully polynomial timeapproximation scheme

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 41 / 46

Page 42: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Overview

1 IntroductionOptimization problemsPO and NPO problemsNP-hard optimization problems

2 Approximate solutionsDefinitionsAbsolute approximationRelative approximationLimits to approximability: The gap technique

3 Polynomial time approximation schemesDefinitionsAPX versus PTAS

4 Fully polynomial time approximation schemesDefinitionsNegative results for the class FPTAS

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 42 / 46

Page 43: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Many problems not belong to class FPTAS, unlessP = NP

DefinitionAn optimization problem is polynomially bounded if there exists apolynomial p such that for any instance x and for any y ∈ SOL(x),m(x , y) ≤ p(|x |)

TheoremNo NP-hard polynomially bounded optimization problem belongs to theclass FPTAS, unless P = NP

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 43 / 46

Page 44: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Many problems not belong to class FPTAS, unlessP = NP(2)

Proof.Suppose we have a FPTAS A for the problem P which, for anyinstance x and for any rational r > 1, runs in time boundedq(|x |,1/(r − 1)). Since P is polynomially bounded there existspolynomial p such that m∗(x) ≤ p(|x |). If we choose r = 1 + 1/p(|x |),then A provides an optimal solution.

m(x ,A(x , r)) ≥ m∗(x)p(|x |)

p(|x |) + 1> m∗(x)− 1

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 44 / 46

Page 45: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Many problems not belong to class FPTAS, unlessP = NP(3)

Corollaryif P 6= NP, then FPTAS ⊂ PTAS

Proof.Maximum Independent Set restricted to planar graphs belongs toPTAS. On the other side the problem is clearly polynomiallybounded.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 45 / 46

Page 46: Fundamentals of optimization problems€¦ · Optimization problem Pbelongs to the class PO if it is in NPO and there exists a polynomial-time computable algorithm Athat for any instance

Conclusion

We defined optimization problems and considered some examplesWe defined different types of approximation algorithms foroptimization problems. We denoted classes of optimizationproblems: APX, PTAS, FPTAS.

D. Serdyuk (Ferienakademie in Sarntal 2012) Fundamentals of optimization problems Sept. 2012 46 / 46


Recommended