CH 07
CH 07
CH 07
Chapter 7
Figure 7.2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-6
The Shortest Route Problem
Definition and Example Problem Data (2 of 2)
Exhibit 7.1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-17
The Shortest Route Problem
Computer Solution with QM for Windows (2 of 2)
Exhibit 7.2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-18
The Shortest Route Problem
Mathematical Model
Formulation as a 0 - 1 integer linear programming problem.
xij = 1 if branch i-j is selected as part of the shortest route, and 0 if it
is not selected.
Minimize Z = 16x12 + 9x13 + 35x14 + 12x24 + 25x25 + 15x34 +
22x36 + 14x45 + 17x46 + 19x47 + 8x57 + 14x67
subject to: x12 + x13 + x14= 1
x12 - x24 - x25 = 0
x13 - x34 - x36 = 0
x14 + x24 + x34 - x45 - x46 - x47 = 0
x25 + x45 - x57 = 0
x36 + x46 - x67 = 0
x47 + x57 + x67 = 1 xij = 0 or 1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-19
The Minimal Spanning Tree Problem
Definition and Example Problem Data
Problem: Connect all nodes in a network so that the total of the
branch lengths are minimized.
Exhibit 7.6
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-28
The Maximal Flow Problem
Definition and Example Problem Data
Problem: Maximize the amount of flow of items from
an origin to a destination.
Continue
Exhibit 7.7
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 7-36
The Maximal Flow Problem
Mathematical Model
xij = flow along branch i-j (integer)
Maximize Z = x61
subject to:
x61 - x12 - x13 - x14 = 0
x12 - x24 - x25 = 0
x13 - x34 - x36 = 0
x14 + x24 + x34 - x46 = 0
x25 - x56 = 0
x36 + x46 + x56 - x61 = 0
x12 6 x24 3 x34 2
x13 7 x25 8 x36 6
x14 4 x46 5 x56 4
x61 Education,
Copyright © 2010 Pearson xij asPrentice
17 Inc. Publishing 0 and Hall integer 7-37
Network Flow Models
Example Problem Statement and Data
1. Determine the shortest route from Atlanta (node 1) to each of the
other five nodes (branches show travel time between nodes).
2. Assume branches show distance (instead of travel time) between
nodes, develop a minimal spanning tree.