CSCI 3210: Computational Game Theory Approximation Algorithms Ref: - - PDF document

csci 3210 computational game theory approximation
SMART_READER_LITE
LIVE PREVIEW

CSCI 3210: Computational Game Theory Approximation Algorithms Ref: - - PDF document

11/2/20 CSCI 3210: Computational Game Theory Approximation Algorithms Ref: Vazirani [Blackboard] Mohammad T . Irfan Email: mirfan@bowdoin.edu Web: www.bowdoin.edu/~mirfan Course Website: www.bowdoin.edu/~mirfan/CSCI-3210.html Task u Take


slide-1
SLIDE 1

11/2/20 1

CSCI 3210: Computational Game Theory

Mohammad T . Irfan Email: mirfan@bowdoin.edu Web: www.bowdoin.edu/~mirfan Course Website: www.bowdoin.edu/~mirfan/CSCI-3210.html

Approximation Algorithms

Ref: Vazirani [Blackboard]

Task

u Take an NP-Hard optimization problem u Give an approximately optimal solution in

poly time

u Finding optimal is NP-Hard u Lower bound as a yardstick

slide-2
SLIDE 2

11/2/20 2

LP duality

Primal LP Maximize ... Dual LP Minimize ...

Increasing

  • bjective

function

Gap?

Vertex cover problem

u Given a graph, select the minimum number

  • f nodes such that at least one endpoint of

every edge is selected.

u Answer?

4 5 6 7 8 9 2 3 1

slide-3
SLIDE 3

11/2/20 3

Optimization

u xt is 1 if node t is picked and 0 otherwise u Is the following a usual linear program?

Minimize Σt xt Subject to xu + xv >= 1, for each edge (u, v) xt ∈ {0, 1}, for each node t

Integer linear program (ILP) In general NP-hard

LP relaxation

Minimize Σt xt Subject to xu + xv >= 1, for each edge (u, v) xt >= 0, for each node t

slide-4
SLIDE 4

11/2/20 4

Our first approximation algorithm

u LP relaxation u Rounding u 2-approximation algorithm for vertex cover

u Proof.

OPT_relaxed_LP <= OPT_ILP Rounded solution <= 2 * OPT_relaxed_LP <= 2 * OPT_ILP Factor 2 approximation!

Primal-dual approximation

u Primal (Relaxed LP – why?)

Minimize Σt xt Subject to xu + xv >= 1, for each edge (u, v) xt >= 0, for each node t

u Dual LP

Maximize Σe ye Subject to Σall edges e incident on t ye <= 1, for each node t ye >= 0, for each edge e

Maximum matching problem (relaxed)

slide-5
SLIDE 5

11/2/20 5

Maximum matching problem

u Select the maximum number of edges so that

the selected edges do not share any vertex.

u What's your solution?

4 5 6 7 8 9 2 3 1

Paradox?

u Vertex cover is NP-Hard u Maximum matching is dual of vertex cover u Maximum matching is polynomial-time

solvable!

slide-6
SLIDE 6

11/2/20 6

Answer: “duality gap” for ILP

Maximum matching ILP Minimum vertex cover ILP

Increasing

  • bjective

function

Gap?

Strong duality thm: Gap = 0 for relaxed primal and dual

Lower bounding technique for approx. algorithm

Maximum matching

Maximal matching

Minimum vertex cover

Increasing

  • bjective

function

Gap?

slide-7
SLIDE 7

11/2/20 7

Maximum vs. maximal matching

u Find a matching that’s maximal but not

maximum

4 5 6 7 8 9 2 3 1

Famous primal-dual

  • approx. algorithm for

vertex cover & analysis

(class note)

slide-8
SLIDE 8

11/2/20 8

Set Cover Problem

Set Cover Problem

u Given a universe U of n elements and a

collection of subsets of U, S = {S1, ..., Sm}, find the minimum # of subsets to cover all n elements

slide-9
SLIDE 9

11/2/20 9

SET COVER

u Decision version is NP-complete

Greedy algorithm

  • 1. C = { }
  • 2. While C != Universe do

i.

Pick a subset S' which covers the max # of new elements

ii.

C ß C U S' 3.

Output the picked subsets

Cost: Cost of each picked subset is 1 Price: Each of the k new element covered by a picked subset pays a price of 1/k

slide-10
SLIDE 10

11/2/20 10

LP

Primal: ILP Primal Relaxed LP: Covering Dual LP: Packing

Lower bound

Increasing

  • bj. func.

(Min) Primal Relaxed LP (Max) Dual of relaxed LP OPTf Primal ILP OPT

Integrality gap LB: Any feasible solution to dual

slide-11
SLIDE 11

11/2/20 11

Finding a dual feasible soln

u Claim. ye = price(e)/Hn is a feasible soln.

u Hn = 1 + ½ + ... + 1/n

u Proof. Show that no subset S is overpacked.

Dual: Packing LP

slide-12
SLIDE 12

11/2/20 12

Main result

u Theorem. Greedy set cover is an O(ln n) approximation. u Proof.

Size of set cover (Min) Relaxed LP (Max) Dual LP OPTf ILP OPT

LB: Any feasible solution to dual

Applications

u Geometric coverage problems

u Guarding problems u Facility location problems

u Crew scheduling problems

u [Yelbay et al., 2014]: American Airlines, bus driver, etc. u [Pezzella & Faggioli, 1997]: Italian Railways Company

u Testing programs: smartly choosing test cases u Clustering and outlier detection

slide-13
SLIDE 13

11/2/20 13

https://pdfs.semanticscholar.

  • rg/199e/63ef433ba5340a59d6

b84e018229bea354e6.pdf

Summary

u Vertex cover: 2 approximation

u OPEN: Find a less than 2 approximation

u Set cover: log n approximation

u Inapproximable below log n

u Tight examples exist for both