Network Flow Models
Network Flow Models
Chapter 7
■ Network Components
Exhibit 7.1
Copyright © 2016 Pearson Education, Inc. 7-17
The Shortest Route Problem
Computer Solution with QM for Windows (2 of 2)
Destination node
Distance to node 5,
Des Moines
Exhibit 7.2
Copyright © 2016 Pearson Education, Inc. 7-18
The Shortest Route Problem
Computer Solution with Excel (1 of 4)
Formulation as a 0 - 1 integer linear programming problem.
xij = 0 if branch i-j is not selected as part of the shortest route and 1
if it is 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
First constraint;
=A6+A7+A8
Decision variables
Exhibit 7.3
Copyright © 2016 Pearson Education, Inc. 7-20
The Shortest Route Problem
Computer Solution with Excel (3 of 4)
Flow constraints
Exhibit 7.4
Exhibit 7.5
Copyright © 2016 Pearson Education, Inc. 7-22
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 © 2016 Pearson Education, Inc. 7-31
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 © 2016 Pearson Education, Inc. 7-39
The Maximal Flow Problem
Computer Solution with Excel (1 of 4)
xij = flow along branch i-j and 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 17 xij 0 and integer
Constraint at node 1;
=C15-C6-C7-C8
Constraint at node 6;
=C12+C13+C14-C15
Decision
variables
Exhibit 7.8
Copyright © 2016 Pearson Education, Inc. 7-41
The Maximal Flow Problem
Computer Solution with Excel (3 of 4)
Exhibit 7.9
Exhibit 7.10