• Keine Ergebnisse gefunden

Exercise Sheet 9: The Primal-Dual Method I

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise Sheet 9: The Primal-Dual Method I"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Antonios Antoniadis and Marvin Künnemann Winter 2018/19

Exercises for Randomized and Approximation Algorithms

www.mpi-inf.mpg.de/departments/algorithms-complexity/teaching/winter18/rand-apx-algo/

Exercise Sheet 9: The Primal-Dual Method I

To be handed in by December 18th, 2018 via e-mail to André Nusser (CC to Antonios Antoniadis and Marvin Künnemann)

Exercise 1 (8 Points) Consider the following linear program:

minimize −5x1+ 8x2 + 4x3

subject to x1+x2 = 2

x2−x3 ≤3 2x1−x3 ≥ −1 x1 ≥0 x3 ≤0

(i) Formulate the dual of the linear program. (3 Points)

(ii) Rewrite the (primal) linear programm, so that the constraints are in standard form (Ax≥ b). (3 Points)

Exercise 2 (11 Points) Consider the following maximization problem:

maximize cTx

subject to Ax≤b,

x≥0 x∈Rn and its corresponding dual:

minimize bTy

subject to ATy ≥c,

y≥0, y∈Rm

(2)

and consider some feasible solutionsx and y for the respective problems. Assume that there existλ, µ > 0so that the following approximate complementary slackness conditions hold:

xi >0⇒

m

X

j=1

aijyj ≤µci,

and

yi >0⇒

n

X

i=1

aijxi ≥λbj.

Prove thatx is a λµ-approximation for the primal.

Exercise 3 (21 Points) Thelocal ratio technique is closely related to the primal dual method;

however, it only uses duality in an implicit way. Consider the following local ratio algorithm for the set cover problem. We compute a collection I of indices of a set cover, where I is initially empty. In each iteration, we find some elementei not covered by the current collection I. Let be the minimum weight of any set containing ei. We subtract from the weight of each set containing ei; some such set has now weight zero and we add its index to I.

Letj be the value of in the j’th iteration of the algorithm.

(i) Show that the cost of the solution returned is at most fP

jj. (3 Points) (ii) Show that the cost of the optimal solution must be at least P

jj. (3 Points) (iii) Conclude that the algorithm is anf-approximation algorithm. (3 Points)

The local ratio technique depends upon the local ratio theorem. For a minimization problem Π with weights w, we say that a feasible solution F is α-approximate with respect to w if the weight ofF is at most α times the weight of an optimal solution given weights w.

Theorem 1(Local Ratio Theorem). If there are nonnegative weightsw such thatw=w1+w2, where w1 and w2 are also nonnegative weights, and we have a feasible solution F such that F is α-approximate with respect to both w1 and w2, then F is α-approximate with respect to w.

(iv) Prove the local ratio theorem. (5 Points)

(v) Explain how the set cover algorithm above can be analyzed in terms of the local ratio theorem to prove that it is anf-approximation algorithm. (7 Points)

Referenzen

ÄHNLICHE DOKUMENTE

Exercise 1 (8 Points) Prove that the shortest s-t-path algorithm that we saw in the lecture is equivalent to Dijkstra’s algorithm: that is, in each step it adds the same edge

The initial condition is absorbed into the equation under the Laplace

[r]

Operating Systems (WS2021) Faculty of Computer Science and Engineering Frankfurt University of Applied Sciences.. Solution of Exercise

Although nonparametric continuous norming delivers values that are at least as plausible as the ones gained with other methods like, for example, Box–Cox transformations,

the 95% confidence interval of z emp , which means that the number of deviating test results was reduced to about one third. The presented data strongly suggest that in our

Exercise 4 ∗ 6 ∗ Points A (totally) ordered class hA, ≤i is perfectly ordered if it satisfies the following conditions:. • A has a

If we compare this procedure to the estimators based on the conventional propensity score, conven- tional propensity score combined with trimming rule 1 as well as the