高级算法 (Fall 2020)/Problem Set 3
Problem 1
Given
- Give a poly-time greedy algorithm for the problem. Prove that the approximation ratio is
.
Problem 2
In the maximum directed cut (MAX-DICUT) problem, we are given as input a directed graph
Let
- Apply the randomized rounding such that for every
, independently with probability . Analyze the approximation ratio (between the expected size of the random cut and OPT). - Apply another randomized rounding such that for every
, independently with probability . Analyze the approximation ratio for this algorithm.
Problem 3
Recall the MAX-SAT problem and its integer program:
Recall that
Let
We consider a generalized rounding scheme such that every
- Suppose
is an arbitrary function satisfying that for any . Show that with this rounding scheme, the approximation ratio (between the expected number of satisfied clauses and OPT) is at least . - Derandomize this algorithm through conditional expectation and give a deterministic polynomial time algorithm with approximation ratio
. - Is it possible that for some more clever
we can do better than this? Try to justify your argument.
Problem 4
The following is the weighted version of set cover problem:
Given
- Give an integer program for the problem and its LP relaxation.
- Consider the following idea of randomized rounding: independently round each fractional value to
with the probability of the fractional value itself; and repeatedly apply this process to the variables rounded to 0 in previous iterations until is fully covered. Show that this can return a set cover with approximation ratio with probability at least .
Problem 5
Consider the following greedy algorithm for the knapsack problem, which has been briefly mentioned in class:
Sort all items according to the ratio
for
|
- Show that the approximation ratio of this algorithm can be arbitrarily bad. Formally, given an arbitrary constant
, construct an instance that the solution of this algorithm is less than . - Consider the following modification to this algorithm. Let the sorted order of objects be
. Find the lowest such that the size of the first objects exceeds . Now, pick the more valuable of and (we have assumed that the size of each object is at most ). Show that this algorithm achieves an approximation ratio of .