Exercise Lover

July 3, 2007

Exercises 26.1-9

Filed under: 26.1 — yuhanlyu @ 9:04 am

Construct a graph G=(V,E), which V is the set of corners, (u,v)∈E if corner u and corner v is adjacent. Let the capacity of every edge is 1. If there is a network flow larger then 1 from home to school, then there exists two edge-disjoint path.

Exercises 26.1-8

Filed under: 26.1 — yuhanlyu @ 9:01 am

Given a graph G = (V,E) with source s, sink t and capacity constraint c(u,v). We assign an flow variable f_{uv} for every edge (u,v). The linear programming formulation is

\max \sum_{u \in V} f(u,t).

such that f(u,v) \leq c(u,v)

f(u,v) = -f(v,u)

\sum_{u \in V-\{s,t\}} f(u,v) = 0.

Exercises 26.1-7

Filed under: 26.1 — yuhanlyu @ 9:00 am

We can prove that the scalar flow product can’t violate the three constraints.

Capacity constraint: \alpha f_1(u,v) + (1-\alpha) f_2(u,v) \leq\alpha c(u,v) + (1-\alpha) c(u,v) \leq c(u,v)

Skew symmetry: obviously

FLow conservation: obviously

Exercises 26.1-6

Filed under: 26.1 — yuhanlyu @ 8:59 am

Capacity constraint.

Exercises 26.1-5

Filed under: 26.1 — yuhanlyu @ 8:58 am

X = s, Y = v_3. f(X,Y) = 0 = f(V-X,Y)

Exercises 26.1-4

Filed under: 26.1 — yuhanlyu @ 8:56 am

It can be proved easily by the definition.

Exercises 26.1-3

Filed under: 26.1 — yuhanlyu @ 8:55 am

Let flow F be the multiple-source flow, F’ be the flow with supersource. The source s in F will has only one in-edge in the F’. Flow in this edge is the summation of all out-edges’ flow, otherwise the flow conservation property is not preserved. Hence F’ is a valid flow.

July 2, 2007

Exercises 26.1-2

Filed under: 26.1 — yuhanlyu @ 12:46 pm

By skew symmetry and flow conservation properties.

Exercises 26.1-1

Filed under: 26.1 — yuhanlyu @ 12:40 pm

Since (u,v)∉E, c(u,v) = 0. Hence f(u,v)≤c(u,v)=0, f(u,v)=0.

Blog at WordPress.com.