Network Optimization - Part 2
Network Optimization - Part 2
• The model is general: it can be used to find the shortest route between any two nodes
in the network.
• We wish to determine the shortest route between any two nodes s and t in an n-node
network.
• The LP assumes that one unit of flow enters the network at node s and leaves at
node t.
Decision
Variables:
1
Linear Programming Formulation of the Shortest-Path Problem
• Objective function
• Constraints:
The conservation-of-flow equation at each node:
2
Linear Programming Formulation of the Shortest-Path Problem
Example 2: Write the LP model for the shortest path problem in Example 1
with s=1 and t=2.
3
Linear Programming Formulation of the Shortest-Path Problem
Node 2 -1 1 -1 = -1 t
Node 3 -1 -1 1 1 = 0
Node 4 -1 1 1 = 0
Node 5 -1 -1 = 0
Note: Column xij has exactly one “1” in row i and one “-1” in row j
4
Linear Programming Formulation of the Shortest-Path Problem
Notice that in the LP model, the constraints of the problem are of the general form:
5
Linear Programming Formulation of the Shortest-Path Problem
6
The Minimum Spanning Tree Problem
Connected network:
• Every pair of nodes in the network has at least one path between
them.
7
Minimum Spanning Tree Problem
• Illustrations of the spanning tree concept for the Seervada Park problem
8
Minimum Spanning Tree Problem
9
Minimum Spanning Tree Problem
1. Select any node arbitrarily, and then connect it (add a link) to the nearest distinct
node.
2. Identify the unconnected node that is closest to a connected node, and then
connect these two nodes (add a link between them). Repeat this step until all
nodes are connected.
3. Tie breaking: Ties for the nearest distinct node (step 1) or the closest unconnected
node (step 2) may be broken arbitrarily, and the algorithm will still yield an
optimal solution.
• Such ties signal that there may be (but need not be) multiple optimal
solutions.
10
Minimum Spanning Tree Problem for Seervada Park
• A second problem for the Seervada Park is that telephone lines must be installed
under the roads to establish telephone communication among all the stations
(including the park entrance). Because the installation is both expensive and
disruptive to the natural environment, lines will be installed under just enough roads
to provide some connection between every pair of stations.
• Where the lines should be laid to accomplish this with a minimum total number
of miles of line installed.
11
Minimum Spanning Tree Problem for Seervada Park
• The solution is the minimal spanning tree for the Seervada Park road system
12
Minimum Spanning Tree Problem-Applications
Some Applications: