CD6s-1
CD Supplement to Chapter 6 Minimum Spanning Tree Problems
Review Questions
6s-1 The nodes are given, but the links need to be designed.
6s-2 A state-of-the-art fiber-optic network is being designed.
6s-3 A tree is a network that does not have any paths that begin and end at the same node
without backtracking. A spanning tree is a tree that provides a path between every pair of
6s-6 No, it is not a special type of a minimum cost flow problem.
6s-7 A greedy algorithm will solve a minimum spanning tree problem.
Problems
6s.1
A C E
B
D F
G
2 2
13 1
5
CD6s-3
6s.2
AC
E
B
D
F
G
41
2
4 1
6
1. BC: Cost = 1 *lowest 4. BE: Cost = 7
2. BA: Cost = 4 CF: Cost = 4 *lowest
BE: Cost = 7 CE: Cost = 5
CE: Cost = 5 F—E: Cost = 1 *lowest
3. BA: Cost = 4 *lowest F—G: Cost = 8
BE: Cost = 7 6. EG: Cost = 6 *lowest
6s.3
A D
E H
I
F
G
4
1
2
4
B
C J
K
3
3
2
2
3
CD6s-4
F—J: Cost = 5 F—C: Cost = 6
GD: Cost = 2 F—J: Cost = 5
GE: Cost = 2 HK: Cost = 7
F—J: Cost = 5 DC: Cost = 4
GD: Cost = 2 *lowest F—C: Cost = 6
GE: Cost = 2 F—J: Cost = 5
4. DA: Cost = 6 DA: Cost = 6
DB: Cost = 5 DC: Cost = 4
DE: Cost = 2 *lowest F—C: Cost = 6
IK: Cost = 8 HK: Cost = 7
IJ: Cost = 3 IK: Cost = 8
5. DA: Cost = 6 JK: Cost = 4
6s.4 a) The company wants a path between each pair of nodes (groves) that minimizes cost
(length of road).
CD6s-5
b) 78 : Distance = 0.5
76 : Distance = 0.6
65 : Distance = 0.9
6s.5 a) The bank wants a path between each pair of nodes (offices) that minimizes cost
(distance).
b) B1B5 : Distance = 50
B5B3 : Distance = 80
B1B2 : Distance = 100
6s.6 The creation of the new communications network is a minimum spanning tree problem. As
usual, a greedy algorithm solves this type of problem.
Arcs are added to the network in the following order (one of several optimal solutions):
Rostov – Orenburg
120
Ufa – Orenburg
75
Saratov – Orenburg
95
Saratov – Samara
100
Samara – Kazan
95
Ufa Yekaterinburg
125
Perm Yekaterinburg
85