# 随机算法 \ 高级算法 (Fall 2016)/Problem Set 2

每道题目的解答都要有完整的解题过程。中英文不限。

## Contents

## Problem 1

Consider the following optimization problem.

**Instance**: positive integers .- Find two
*disjoint*nonempty subsets with , such that the ratio is minimized.

Give a pseudo-polynomial time algorithm for the problem, and then give an FPTAS for the problem based on the pseudo-polynomial time algorithm.

## Problem 2

In the *maximum directed cut* (MAX-DICUT) problem, we are given as input a directed graph . The goal is to partition into disjoint and so that the number of edges in is maximized. The following is the integer program for MAX-DICUT:

Let denote the optimal solution to the **LP-relaxation** of the above integer program.

- 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 are the respective sets of variables appearing positively and negatively in clause .

Let denote the optimal solution to the **LP-relaxation** of the above integer program. In our class we learnt that if is round to 1 independently with probability , we have approximation ratio .

We consider a generalized rounding scheme such that every is round to 1 independently with probability for some function to be specified.

- 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 .
- Is it possible that for some more clever we can do better than this? Try to justify your argument.

## Problem 4

Recall that the instance of **set cover** problem is a collection of subsets , where is a universe of size . The goal is to find the smallest such that . The frequency is defined to be .

- Give the primal integer program for set cover, its LP-relaxation and the dual LP.
- Describe the complementary slackness conditions for the problem.
- Give a primal-dual algorithm for the problem. Present the algorithm in the language of primal-dual scheme (alternatively raising variables for the LPs). Analyze the approximation ratio in terms of the frequency .