Professional Documents
Culture Documents
Or PPT-5
Or PPT-5
O B D
c E
Is it a Spanning Tree ???
A
T
O B D
c E
Is it a Spanning Tree ???
A
T
O B D
c E
Minimum Spanning Tree Problem
• In the Seervada Park telephone lines must be installed under the
roads to establish telephone communication among all stations.
• Because the installation is both expensive and disruptive to natural
environment, lines will be installed under just enough roads to
provide some connection between every pair of stations.
• The question is where the lines should be laid to accomplish this
with a minimum total number of miles of line installed.
Minimum Spanning Tree Problem
A
2
7
5
T
2
5 B 4
O D 7
3 1
1
4
4 E
c
Minimum Spanning Tree Problem
A
2
7
5
T
2
5 B 4
O D 7
3 1
1
4
4 E
c
Some Applications of Minimum Spanning Tree Problem
• Design of telecommunication networks.
• Design of transportation network.
• Design of network of high-voltage electric power transmission
lines.
• Design network of wiring on electrical equipment to minimize total
length of wire.
• Design of a network of pipelines to connect a number of locations.
Three Network Optimization Problems
Minimum-Cost flow problem
• Minimize cost of shipping goods through a distribution network
DC
70 units F2 W2 90 units
produced needed
The Distribution Network
Decision Variables
• X1 = no. of units shipping through from F1 to W1
• X2 = no. of units shipping through from F1 to DC
• x3 = no. of units shipping through from DC to W1
• X4 = no. of units shipping through from F2 to W2
• X5 = no. of units shipping through from F2 to DC
• X6 = no. of units shipping through from DC to W2
Objective function
700X1+300X2+200X3+1000X4+500X5+400X6
Constraints
• X2<=50; X5<=50; X3<=50; X6<=50
• X1+X2 = 80
• X4+X5 = 70
• X1+X3 = -60
• X4+X6 = -90
• (X2+X5)-(X3+X6) = 0
Solution
[80] [- 60]
(30)
F1 W1
(50) (30)
[0]
DC
(30) (50)
(40)
F2 W2
[70] [- 90]
Terminology for Minimum-Cost Flow Problems
• Any node where the net amount of flow generated is fixed at zero is a
transshipment node.
• Having the amount of flow out of the node equal the amount of flow
into the node is referred to as conservation of flow.
• The arrows in the network are called arcs.
• The maximum amount of flow allowed through an arc is referred to as
the capacity of that arc.
Three Network Optimization Problems
Minimum-Cost flow problem
• Minimize cost of shipping goods through a distribution network
• BMZ needs to execute a plan quickly for shipping as much as possible from
main factory in Stuttgart, Germany to distribution center in Los Angeles over
the next month.
Additional Information
• The limiting factor on how much can be shipped is the
limited capacity of the company’s distribution
network.
LA New Orleans LI
Los Angeles Lisbon
[70 units max] NO [30 units max.]
Assumptions of Maximum Flow Problems
• All flow through the network originates at one node,
called source, and terminates at one other node,
called sink.
• All the remaining nodes are transshipment nodes
(intermediate transfer points).
Assumptions of Maximum Flow Problems
• Flow through an arc is only allowed in the direction
indicated by the arrowhead, where the maximum
amount of flow is given by the capacity of that arc.
• At the source, all arcs point away from the node. At
the sink, all arcs point into the node.
Assumptions of Maximum Flow Problems
• Objective is to maximize the total amount of flow
from the source to the sink.
• This amount is measured in either of two equivalent
ways: either the amount leaving the source or the
amount entering the sink.
SHORTEST PATH PROBLEM
• Littletown is a small town in rural area.
• Its fire department serves relatively large geographical
area that includes many farming communities.
• Since there are numerous roads throughout the area,
many possible routes may be available for traveling to
any given farming community.
Which route from the fire station to a
certain farming community minimizes the
total number of miles?
8
A F 4
1 D 3 6
3 4 6
Fire 6 Farming
B 3 G Community
Station
5 5
E 2
2
4
4 C 7 H 7
Assumptions of a Shortest Path Problem
1. You need to choose a path through the network that
starts at a certain node (origin), and ends at another
node (destination).
2. Lines connecting certain pairs of nodes commonly are
links (which allow travel in either direction), although
arcs (which only permit travel in one direction) also are
allowed.
Assumptions of a Shortest Path Problem
• Associated with each link (or arc) is a nonnegative
number called its length.
• Objective is to find the shortest path (the path with
the minimum total length) from the origin to the
destination.
Maximum Flow with
Multiple Supply and Demand Points
[40]
BN [60]
[30]
[20]
SE RO BE
[20]
[40]
[60]
NY [50]
[10]
[40]
[80]
LA BO ST
[70]
[50]
[70]
NO
[40]
[30]
LI
Some Applications of Maximum Flow Problems
1. Maximize flow through company’s supply network from
its vendors to its processing facilities.
2. Maximize flow of oil through a system of pipelines.
3. Maximize flow of water through a system of aqueducts.
4. Maximize flow of vehicles through a transportation
network.