Chapter 4

Optimization Involving Trees

[51/98%]
Show
LaTeX
Problem 4.1

Show that if the vertex set of a connected graph G=(V,E)G=(V, E) is partitioned into two nonempty sets XX and YY, the disconnecting set F=(X,Y)F=(X, Y) consisting of all edges of GG joining vertices in XX and vertices in YY is a cut set if the subgraph G′=(V,E−F)G^{\prime }=(V, E-F) has exactly two components.

?
Problem 4.2

The deletion of an edge belonging to a spanning tree T=(V,F)T=(V, F) of a graph G=(V,E)G=(V, E) from FF defines a partition of VV into two subsets XX and YY, creating a disconnecting set D={X,Y}D=\left\{ X, Y\right\} of the graph. Show that this disconnecting set is a cut set of GG.

?
Problem 4.3

If TT is a spanning tree in a graph GG, the cut set of GG formed by deleting an edge ee of TT, denoted by DT(e)D_{T}(e), is called the fundamental cut set of GG with respect to TT relative to edge ee. Find the number of cut sets of a connected graph with nn vertices with respect to a spanning tree.

?
Problem 4.4

If TT is a spanning tree in GG, any edge e={x,y}e=\left\{ x, y\right\} in GG that is not an edge in TT is called a chord of TT. The unique cycle in GG formed by the path in TT joining xx and yy and edge ee, denoted by CT(e)C_{T}(e), is called the fundamental cycle of GG with respect to TT relative to edge ee. Find the number of fundamental cycles of a connected graph with respect to a spanning tree.

?
Problem 4.5

Let GG be a connected graph in which CC is a cycle, DD is a cut set, and TT is a spanning tree. Show that:

?
(a)

the number of edges common to CC and DD is even,

(b)

at least one edge of CC is a chord of TT,

(c)

at least one edge of DD is an edge of TT.

Problem 4.6

Let ee be an edge of a spanning tree TT in a graph GG. Show that

?
(a)

if ff is any edge (other than ee ) in the fundamental cut set DT(e),fD_{T}(e), f is a chord of TT and ee is an edge of the fundamental cycle CT(f)C_{T}(f); and

(b)

ee is not an edge of the fundamental cycle CT(e′)C_{T}\left(e^{\prime }\right) relative to any chord e′e^{\prime } that is not an edge in DT(e)D_{T}(e).

Problem 4.7

Let ee be a chord of a spanning tree TT in a graph GG. Show that

?
(a)

if ff is any edge (other than ee ) in the fundamental cycle CT(e),fC_{T}(e), f is an edge of TT and ee is an edge of the fundamental cut set DT(f)D_{T}(f); and

(b)

ee is not an edge of the fundamental cut set DT(e′)D_{T}\left(e^{\prime }\right) relative to any edge e′e^{\prime } of TT that is not an edge in CT(e)C_{T}(e).

Problem 4.8

Show that if TT and T′T^{\prime } are two spanning trees in GG and if ee is an edge of TT and a chord of T′T^{\prime }, there exists an edge e′e^{\prime } in T′T^{\prime } such that e′e^{\prime } is a chord of TT and T−e+e′T-e+e^{\prime } is a spanning tree in GG.

?
Problem 4.9

If no two edge weights of a connected graph GG are equal, show that GG has a unique minimum spanning tree.

?
Problem 4.10

Show that if a connected weighted graph GG contains a unique edge ee of minimum weight, ee is an edge of every M.S.T. of GG.

?
Problem 4.11

Show that a spanning tree TT in a weighted graph is a minimum spanning tree if and only if every edge of TT is a minimum weight edge in the fundamental cut set relative to that edge.

?
Problem 4.12

Show that if in a weighted connected graph GG there is an edge ee that is a maximum weight edge in any cycle that contains ee, there is an M.S.T. in GG that does not contain ee. In particular, if the weight of ee exceeds the weight of every edge in any cycle that contains ee, then no M.S.T. in GG contains ee as an edge.

?
Problem 4.13

A spanning tree TT in a graph GG is a minimum spanning tree if and only if every edge not in TT is a maximum weight edge in the fundamental cycle defined by that edge.

?
Problem 4.14

Prove Theorem 4.1: Kruskal's algorithm solves the M.S.T. problem in a network.

?
Problem 4.15

If ee is an edge incident at vertex xx of a connected weighted graph GG and if w(e)≤w(f)w(e) \leq w(f) for every edge ff incident at xx, there exists an M.S.T. of GG that contains ee as an edge. In particular, if w(e)<w(f)w(e)<w(f), every M.S.T. of GG contains ee.

?
Problem 4.16

If WW is the set of vertices of any subgraph HH of a minimal spanning tree TT of a graph G=(V,E)G=(V, E) and if ee is any edge of minimum weight in the disconnecting set D=(W,V−W)D=(W, V-W), there exists an M.S.T. that contains ee as an edge and that has HH as a subgraph.

?
Problem 4.17

Prove Theorem 4.2: Prim's algorithm solves the M.S.T. problem.

?
Problem 4.18

Obtain a minimum spanning tree in the graph shown in Fig. 4-18.

Fig. 4-18Fig. 4-18

?
Problem 4.19

Suppose we are using Prim's algorithm to obtain an M.S.T. in the graph of Fig. 4-18. At the current stage, W={3,6,8,9}W=\left\{ 3,6,8,9\right\} is the set of vertices of the tree HH, which is a subtree of a minimum spanning tree TT to be obtained by this method. Select the next edge for inclusion, and list the edges after this selection is made.

?
Problem 4.20

Obtain a maximum weight spanning tree in the graph of Fig. 4-18.

?
Problem 4.21

Let G=(V,E)G=(V, E) be a weighted digraph, and let B=(V′,E′)B=\left(V^{\prime }, E^{\prime }\right) be a branching in GG. An arc e∈(E−E′)e \in \left(E-E^{\prime }\right) is called a BB-eligible arc if the arcs in E′′=E′+e−{f∈E′:t(e)=t(f)}E^{\prime \prime }=E^{\prime }+e-\left\{ f \in E^{\prime }: t(e)=t(f)\right\} constitute a branching. Show that ee is BB-eligible if and only if there is no directed path in BB from t(e)t(e) to s(e)s(e).

?
Problem 4.22

Let CC be a directed cycle in G=(V,E)G=(V, E), and let B=(V′,E′)B=\left(V^{\prime }, E^{\prime }\right) be a branching in GG. Show that no arc in (C−E′)(C-E^{\prime }) is BB-eligible if and only if (C−E′)(C-E^{\prime }) contains exactly one arc.

?
Problem 4.23

Show that if HH is a critical subgraph of a weighted digraph G=(V,E)G=(V, E), there is a maximum weight branching B=(V,E′)B=\left(V, E^{\prime }\right) in GG such that for every cycle CC in HH, the set (C−E′)\left(C-E^{\prime }\right) has exactly one arc.

?
Problem 4.24

Show that the cycles in a critical graph HH of a weighted digraph G=(V,E)G=(V, E) are Ci(i=1,2,…,k)C_{i}(i= 1,2, \ldots , k), there exists a maximum weight branching B=(V,E′)B=\left(V, E^{\prime }\right) of GG such that (i) Ci−E′C_{i}-E^{\prime } has exactly one arc for each ii; and (ii) if no arc⁡\operatorname {arc} in (E′−Ci)(E^{\prime }-C_{i}) is directed to a vertex in the cycle CiC_{i}, the unique arc in (Ci−E′)\left(C_{i}-E^{\prime }\right) is an arc of minimum weight in CiC_{i} for each ii.

?
Problem 4.25

Prove that the maximum weight branching algorithm solves the maximum weight branching problem.

?
Problem 4.26

Show that a maximum weight branching in the network shown in Fig. 4-21 cannot be obtained by the greedy algorithm.

Fig. 4-21Fig. 4-21

Fig. 4-22Fig. 4-22

?
Problem 4.27

Find a maximum weight branching in the network shown in Fig. 4-24.

Fig. 4-24Fig. 4-24

?
Problem 4.28

Find a maximum weight branching on the network shown in Fig. 4-26.

Fig. 4-26Fig. 4-26

?
Problem 4.29

Prove Theorem 4.3: A digraph has an arborescence if and only if it is quasi-strongly connected.

?
Problem 4.30

Prove Theorem 4.4: Let T∗=(V,E∗)T^{*}=\left(V, E^{*}\right) be a minimum weight arborescence rooted at vertex rr in a weighted digraph G=(V,E)G=(V, E) with distinct arc weights, and let H=(V,E′)H=\left(V, E^{\prime }\right) be the subgraph obtained from GG by choosing the arc of minimum weight directed to each vertex other than rr. Then the set (C−E∗)\left(C-E^{*}\right) has exactly one arc for every cycle CC in HH.

?
Problem 4.31

Obtain a minimum weight arborescence in the digraph shown in Fig. 4-24.

?
Problem 4.32

Obtain a minimum weight arborescence in the digraph shown in Fig. 4-26.

?
Problem 4.33

Prove Theorem 4.5: An independent system is a matroid if and only whenever II and JJ are two independent sets with the property that JJ has more elements than II, there exists an element e∈(J−I)e \in (J-I) such that I∪{e}I \cup \left\{ e\right\} is an independent set.

?
Problem 4.34

Prove Theorem 4.6: The rank function rr of a matroid satisfies the following four properties: (i)(i) the rank of the empty set is 0, (ii) r(A)≤r(B)r(A) \leq r(B) if A⊂BA \subset B, (iii) the function rr is submodular: r(A∪B)+r(A∩B)≤r(A)+r(B)r(A \cup B)+ r(A \cap B) \leq r(A)+r(B), and (iv) the rank of a singleton set is either 0 or 1.

?
Problem 4.35

Prove Theorem 4.7: If rr is an integer-valued function defined on the power set of a finite set EE satisfying the four properties listed in Theorem 4.6, and if A={A:A⊆E,r(A)=∣A∣}\mathscr {A}=\left\{ A: A \subseteq E, r(A)=\left|A\right|\right\}, the pair (E,A)(E, \mathscr {A}) is a matroid.

?
Problem 4.36

Prove Theorem 4.8: A solution of the problem of finding a maximum weight independent set in an independent system can be obtained by using the greedy algorithm for every nonnegative weight function defined on its ground set if and only if the independent system is a matroid.

?
Problem 4.37

If {E1,E2,…,Ek}\left\{ E_{1}, E_{2}, \ldots , E_{k}\right\} is a partition of a finite set EE and if A={I⊂E:∣I∩Ei∣≤1 for each i}\mathscr {A}=\left\{ I \subset E:\left|I \cap E_{i}\right| \leq 1 \text{ for each } i\right\}, show that the pair (E,A)(E, \mathscr {A}) is a matroid (known as a partition matroid on EE ), and find its rank function.

?
Problem 4.38

If G=(X,Y,E)G=(X, Y, E) is a bipartite graph, show that we can obtain two partition matroids on EE : one using the set XX and the other using YY.

?
Problem 4.39

If G=(V,E)G=(V, E) is a directed graph, show that it is possible to obtain two partition matroids on the set EE of the arcs on the digraph.

?
Problem 4.40

Let EE be a finite set with a weight function ww defined on EE, and let (E,Ai)\left(E, \mathscr {A}_{i}\right) be a collection of kk matroids defined on the same ground set EE. The k\boldsymbol {k}-matroid cardinality intersection problem is the problem of finding a subset of maximum cardinality that is independent in each of the kk matroids. The k\boldsymbol {k}-matroid weighted intersection problem is the problem of finding a subset of maximum weight that is independent in each of the kk matroids. Show that:

?
(a)

the former is a special case of the latter

(b)

the maximum weight branching problem and the minimum weight arborescence problem are 2 -matroid weighted intersection problems.

Problem 4.41

The span of any subset AA of the ground set of a matroid is a maximal superset of AA having the same rank as AA. Show that the span of a set is unique.

?
Problem 4.42

Find the weight of a minimum spanning tree in the network whose weight matrix is the following matrix:

[04−52−−−−404−7−−−−−40−25−−−5−−01−3−−272101676−−5−10−−3−−−36−04−−−−−7−404−−−−63−40] \left[\begin{array}{ccccccccc} 0 & 4 & - & 5 & 2 & - & - & - & - \\ 4 & 0 & 4 & - & 7 & - & - & - & - \\ - & 4 & 0 & - & 2 & 5 & - & - & - \\ 5 & - & - & 0 & 1 & - & 3 & - & - \\ 2 & 7 & 2 & 1 & 0 & 1 & 6 & 7 & 6 \\ - & - & 5 & - & 1 & 0 & - & - & 3 \\ - & - & - & 3 & 6 & - & 0 & 4 & - \\ - & - & - & - & 7 & - & 4 & 0 & 4 \\ - & - & - & - & 6 & 3 & - & 4 & 0 \end{array}\right]
?
Problem 4.43

In Problem 4.42, suppose we have to find a spanning tree TT of minimum weight that contains the two edges of maximum weight in the network. Find the weight of T.

?
Problem 4.44

Find the weight of a maximum weight spanning tree in the network of Problem 4.42.

?
Problem 4.45

Find the weight of a maximum weight branching in the directed network G=(V,E)G=(V, E), where V={1,2,3,4,5,6,7,8}V= \left\{ 1,2,3,4,5,6,7,8\right\} and E={(1,2),(1,7),(2,3),(2,7),(3,4),(3,5),(4,5),(6,3),(6,5),(6,7),(7,8),(8,1)}E=\left\{ (1,2),(1,7),(2,3),(2,7),(3,4),(3,5),(4,5),(6,3),(6,5),(6,7),(7,8),(8,1)\right\} with weights 5,8,8,8,4,5,1,6,8,6,85,8,8,8,4,5,1,6,8,6,8, and 2, respectively.

?
Problem 4.46

Find the weight of a maximum weight branching in the directed network G=(V,E)G=(V, E), where V={1,2,3,4,5,6}V= \left\{ 1,2,3,4,5,6\right\} and E={(1,2),(1,3),(1,4),(2,3),(3,5),(5,6),(6,4),(4,3)}E=\left\{ (1,2),(1,3),(1,4),(2,3),(3,5),(5,6),(6,4),(4,3)\right\} with weights 1,0,1,2,3,2,21,0,1,2,3,2,2, and 3, respectively.

?
Problem 4.47

Find the weight of a maximum weight branching in the directed network G=(V,E)G=(V, E), where V={1,2,3,4,5,6}V= \left\{ 1,2,3,4,5,6\right\} \quad and E={(1,4),(1,5),(2,1),(2,3),(3,1),(4,2),(4,3),(4,5),(4,6),(5,4),(6,5)}\quad E=\left\{ (1,4),(1,5),(2,1),(2,3),(3,1),(4,2),(4,3),(4,5),(4,6),(5,4),(6,5)\right\} \quad with weights 7,2,4,1,3,4,1,−5,−1,67,2,4,1,3,4,1,-5,-1,6, and 1, respectively.

?
Problem 4.48

Find the weight of a minimum weight arborescence rooted at vertex 1 in the directed network G=(V,E)G=(V, E), where V={1,2,3,4,5,6}V=\left\{ 1,2,3,4,5,6\right\} and E={(1,2),(1,4),(1,6),(2,3),(2,6),(3,2),(4,2),(4,5),(5,6),(6,3),(6,4)}E=\left\{ (1,2),(1,4),(1,6),(2,3),(2,6),(3,2),(4,2),(4,5),(5,6),(6,3),(6,4)\right\} with weights 16,15,19,1,10,4,11,5,3,816,15,19,1,10,4,11,5,3,8, and 2, respectively.

?
Problem 4.49

Find the weight of a minimum weight arborescence rooted at vertex 1 in the directed network G=(V,E)G=(V, E), where V={1,2,3,4,5,6}V=\left\{ 1,2,3,4,5,6\right\} and E={(1,2),(1,4),(1,6),(2,3),(3,5),(4,3),(4,5),(5,2),(5,6),(6,2),(6,4)}E=\left\{ (1,2),(1,4),(1,6),(2,3),(3,5),(4,3),(4,5),(5,2),(5,6),(6,2),(6,4)\right\} with weights 1,4,6,12,9,9,5,11,7,101,4,6,12,9,9,5,11,7,10, and 6, respectively.

?
Problem 4.50

Give an example of a matroid and two subsets of the ground set such that the inequality in the submodularity relation involving these two subsets is a strict inequality.

?
Problem 4.51

Find the circuits and the bases of a kk-uniform matroid.

?