Part A: fair coins
A wish whose conditions are on different decisions fails only when all coins go against
it, with probability . So the expected weight met is
,
which is 11 out of 15. Here all 15 can be met, for example with yes, no,
yes and yes, so the coins lose a quarter. Fair coins always meet at least half the total
weight (Johnson, 1974), and more when every wish is long. Single-condition wishes are their weak
spot.
Part B: four wishes no choice can meet together
Take every two-condition wish on and : " or ", "not or ",
" or not ", "not or not ". Each choice of fails exactly one of
them, so the best is 3. The LP sets , which gives every wish
and a total of 4. The ratio is . Two copies on
give the same ratio with 8 wishes.
So no rounding of this LP can promise more than of the LP's value: here even the
best real decisions get only .
Part C: two roundings that fail, and two that work
- Fair coins meet a single-condition wish with probability , even when the LP
is sure of it (, ). That is only half of .
- meets a wish with conditions at each with probability
. That is for , and it falls
towards as grows.
They fail in opposite places, so combine them.
- Mix them. With probability use fair coins, otherwise use (Goemans
and Williamson). A wish with conditions is met with probability at least
. That is
for and , and at least for every larger .
- Lean towards , halfway. Set . One vector, no mixture,
and part D proves that it also reaches .
Testing is not proof. The grader computes your rounding's exact expectation on nine
committees and also samples it. Passing shows the holds on those nine. That it holds
on every committee needs the argument below.
Part D: why reaches three quarters
Take a wish with conditions. Replace by its negation wherever the wish wants "no", so
that every condition is "yes". The rounding treats a negated decision the same way, since
. Let the conditions' LP values
add up to , so . The wish fails with probability
, by the inequality of
arithmetic and geometric means. So it is met with probability at least
.
- If : . That is for
and , and
for .
- If : is concave, and , so
.
Adding over the wishes, the expected weight met is at least . Part B
shows that is the best any rounding of this LP can promise. Conditional
expectations turn the rounding into a deterministic algorithm: fix the decisions one at a time,
each time keeping the choice with the larger conditional expectation.
Going further
- Semidefinite programming. Goemans and Williamson's SDP rounding meets of the
optimum for MAX-2-SAT, beyond what any rounding of this LP can promise. The best known ratios
for MAX-SAT in general are close to .
- The limit. For MAX-3-SAT, where every wish has exactly three conditions, fair coins already
meet , and Håstad proved that no polynomial-time algorithm does better unless P =
NP.
- Rounding in general. Raghavan and Thompson introduced randomized rounding for packing and
routing problems. Set cover, facility location and Steiner tree
(Approximation Algorithms) all have rounding algorithms
of this kind.
References
- D. S. Johnson. Approximation algorithms for combinatorial problems. Journal of Computer and
System Sciences 9(3), 1974.
- P. Raghavan, C. D. Thompson. Randomized rounding: a technique for provably good algorithms and
algorithmic proofs. Combinatorica 7(4), 1987.
- M. X. Goemans, D. P. Williamson. New 3/4-approximation algorithms for the maximum
satisfiability problem. SIAM Journal on Discrete Mathematics 7(4), 1994.
- M. X. Goemans, D. P. Williamson. Improved approximation algorithms for maximum cut and
satisfiability problems using semidefinite programming. Journal of the ACM 42(6), 1995.
- J. Håstad. Some optimal inapproximability results. Journal of the ACM 48(4), 2001.
- D. P. Williamson, D. B. Shmoys. The Design of Approximation Algorithms, chapter 5.
Cambridge University Press, 2011.