Idea: to show an object with certain properties exists
- generate
a random object
- prove
it has properties with nonzero probability
- often,
``certain properties'' means ``good solution to our problem''
Max-Cut:
- Define
- NP-complete
- Approximation
algorithms
- factor
2
- ``expected
performance,'' so doesn't really fit our RP/ZPP framework
Existence vs. constriction
- Of
course, many probabilistic method constructions yield constructive
algorithms
- In
maxcut, just try till succeed
- Other
times, are only existential proofs, or very bad algorithms
- But
motivate search for good algorithm
Definition: (n, d,
, c) OR-concentrator
- bipartite
2n vertices
- degree
at most d in L
- expansion
c on sets <
n.
Applications:
claim: (n, 18, 1/3, 2)-concentrator
- Construct
by sampling d random neighbors with
replacement
- Es: Specific
size s set has < cs
neighbors.
- fix S of size s. T of size < cs.
- prob.
S goes to T
at most (cs/n)ds
sets T
sets S
-
|
Pr[]
|

|
 (cs/n)ds
|
|
|
|

|
(en/s)s(en/cs)cs(cs/n)ds
|
|
|
|
=
|
[(s/n)d
- c - 1ec + 1cd - c]s
|
|
|
|

|
[(1/3)d - c
- 1ec + 1cd - c]s
|
|
|
|

|
[(c/3)d(3e)c + 1]s
|
|
- Take
c = 2, d = 18, get [(2/3)18(3e)3]<2-s
- sum
over s, get < 1
Existence proof
- No
known construction this good.
- NP-hard to verify
- but
some constructions almost this good
Sometimes, it's hard to get hands on a good probability distribution.
- Problem
formulation
×
gate array
- Manhattan
wiring
- boundaries
between gates
- fixed
width boundary means limit on number of crossing wires
- optimization
vs. feasibility: minimize max crossing number
- focus
on single-bend wiring. two choices for route.
- Generalizes
if you know about max-flow
- Linear
Programs, integer linear programs
- Black
box
- Good
to know, since great solvers exist in practice
- Solution
techniques in other courses
- IP
formulation
- xi0 means xi starts
horizontal, xi1
vertical
- Tb0 = {i | net i through b if xi0}
- Tb1
- IP
|
min
|
|
w
|
|
|
xi0 + xi1
|
=
|
1
|
|
|
xi0 + xi1
|

|
w
|
|
- Solution
,
, value
.
- rounding
is Poisson vars, mean
.
- Pr[
(1
+
)
]
e- 
/4
- need 2n boundaries, so aim for prob. bound 1/2n2.
- solve,
=
.
- So
absolute error

- Good
(o(1)-error) if

8 ln n
- Bad
(O(ln n) error) is
= 2
- General
rule: randomized rounding good if target logarithmic, not if constant
Define.
- literals
- clauses
- NP-complete
random set
- achieve
1 - 2-k
- very
nice for large k, but only 1/2 for k = 1
LP
Analysis
= 1 - (1 - 1/k)k. values 1, 3/4,.704,...
- Lemma:
k-literal clause sat w/pr at least

.
- proof:
- assume
all positive literals.
- prob
1 -
(1
- yi)
- maximize
when all yi =
/k.
- Show
1 - (1 -
/k)k

.
- check
at z = 0, 1
- Result:
(1 - 1/e)
approximation (convergence of (1 - 1/k)k)
- much
better for small k: i.e. 1-approx
for k = 1
LP good for small clauses, random for large.
- Better:
try both methods.
- n1, n2 number in both methods
- Show
(n1 + n2)/2
(3/4)
- n1

(1 - 2-k)
- n2



- n1 + n2

(1 - 2-k +
)


