Exercise Lover

July 3, 2007

Exercises 26.2-10

Filed under: 26.2 — yuhanlyu @ 9:36 am

For one edge pair (u,v) and (v,u), we can eliminate one of them. Suppose that c(u,v) > c(v,u), we can set c’(u,v) = c(u,v) – c(v,u), c’(v,u) = 0. In this way, the number of edges becomes |E|/2 and by the theorem 26.9, the iterations needed by the algorithm is |V||E|/4.

Exercises 26.2-9

Filed under: 26.2 — yuhanlyu @ 9:36 am

Let each edge with capacity 1, we select a node u. Let f_{uv} be the maximum flow in G with source u and sink v. The edge connectivity is \min \limits_{v \in V-u} |f_{uv}|.

Exercises 26.2-8

Filed under: 26.2 — yuhanlyu @ 9:31 am

Each augment can fulfill at least one edge. Hence there are |E| edge, we can find a way to augment at most |E| times.

Exercises 26.2-7

Filed under: 26.2 — yuhanlyu @ 9:27 am

Obviously, f_p will not violate the capacity constraint and skew symmetry. The flow conservation is still valid because for any vertex the increaseing value of in-flow is always equal to the increasing value of out-flow.

Exercises 26.2-6

Filed under: 26.2 — yuhanlyu @ 9:27 am

Let the capacity from supersource to source s_i is p_i, and capacity from sink t_i to supersink is q_i.

Exercises 26.2-5

Filed under: 26.2 — yuhanlyu @ 9:24 am

By the maximum flow min cut theorem, the value must be finite.

Exercises 26.2-4

Filed under: 26.2 — yuhanlyu @ 9:23 am

c_f(u,v)+c_f(v,u) = c(u,v) - f(u,v) + c(v,u) - f(v,u) = c(u,v) + c(v,u).

Exercises 26.2-3

Filed under: 26.2 — yuhanlyu @ 9:20 am

X={s,v1,v2,v4}, Y={v3,t}.

Exercises 26.2-2

Filed under: 26.2 — yuhanlyu @ 9:18 am

Exercises 26.2-1

Filed under: 26.2 — yuhanlyu @ 9:18 am

Blog at WordPress.com.