Chapter 5 Network Modeling.

Slides:



Advertisements
Similar presentations
Network Models Robert Zimmer Room 6, 25 St James.
Advertisements

Network Models Robert Zimmer Room 6, 25 St James.
Network Models Robert Zimmer Room 6, 25 St James.
Transportation Assignment and Transshipments Problems
Outline LP formulation of minimal cost flow problem
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
Network Flows. 2 Ardavan Asef-Vaziri June-2013Transportation Problem and Related Topics Table of Contents Chapter 6 (Network Optimization Problems) Minimum-Cost.
1 Network Models Chapter Introduction A network problem is one that can be represented by... Nodes Arcs Function on Arcs.
1Transportation ModelsLesson 4 LECTURE FOUR Transportation Models.
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
1 1 Slide © 2006 Thomson South-Western. All Rights Reserved. Slides prepared by JOHN LOUCKS St. Edward’s University.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Linear Programming OPIM 310-Lecture 2 Instructor: Jose Cruz.
Chapter 7 Transportation, Assignment & Transshipment Problems Part 1 ISE204/IE252 Prof. Dr. Arslan M. ÖRNEK.
Transportation, Assignment, Network Models
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Transportation Model (Powerco) Send electric power from power plants to cities where power is needed at minimum cost Transportation between supply and.
Example 15.4 Distributing Tomato Products at the RedBrand Company
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
Network Flows Based on the book: Introduction to Management Science. Hillier & Hillier. McGraw-Hill.
Two Discrete Optimization Problems Problem: The Transportation Problem.
Table 1. Shipping costs, Supply, and Demand for Powerco Example
Lecture 3 Transshipment Problems Minimum Cost Flow Problems
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 5 Network Models. Thomson/South-Western 2007 © South-Western/Cengage Learning © 2012 Practical Management Science, 4e Winston/Albright Introduction.
Network Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
The Supply Chain Customer Supplier Manufacturer Distributor
Spreadsheet Modeling & Decision Analysis:
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 6 th edition Cliff T. Ragsdale © 2011 Cengage Learning. All Rights.
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
. 1 Transportation and Assignment Problems. . 2 Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges,
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
Network Optimization Problems
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
EMIS 8374 Network Flow Models updated 29 January 2008.
Network Optimization Network optimization models: Special cases of linear programming models Important to identify problems that can be modeled as networks.
The Minimum Cost Network Flow (MCNF) Problem Extremely useful model in IEOR Important Special Cases of the MCNF Problem –Transportation and Assignment.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 5 – Integration of Network Flow Programming.
Network Flow Problems Example of Network Flow problems:
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
1 Chapter 13 Mathematical models of networks give us algorithms so computationally efficient that we can employ them to evaluate problems too big to be.
Managerial Decision Making Chapter 5 Network Modelling.
St. Edward’s University
The minimum cost flow problem
Network Models Please carefully study the following examples:
Lecture 5 – Integration of Network Flow Programming Models
Lecture 5 – Integration of Network Flow Programming Models
1.3 Modeling with exponentially many constr.
Transportation, Assignment and Network Models
Chapter 7 Transportation, Assignment & Transshipment Problems
Introduction Basic formulations Applications
Network Models 7-1.
Network Models Robert Zimmer Room 6, 25 St James.
Spreadsheet Modeling & Decision Analysis
Chapter 5 Transportation, Assignment, and Transshipment Problems
Modeling and Solving LP Problems in a Spreadsheet
Chapter 6 Network Flow Models.
A network problem is one that can be represented by...
Minimum Cost Network Flow Problems
Network Optimization Models: Maximum Flow Problems
Network Flow Problems – Maximal Flow Problems
Lecture 12 Network Models.
Presentation transcript:

Chapter 5 Network Modeling

Introduction A number of business problems can be represented graphically as networks. This chapter focuses on several such problems: Transshipment Problems (see section 5.0-5.1 of your text) Shortest Path Problems (see section 5.2 of text) Maximal Flow Problems (see section 5.6 of text) Above sections are the only required readings from this chapter.

Network Flow Problem Characteristics Network flow problems can be represented as a collection of nodes connected by arcs. There are three types of nodes: Supply Demand Transshipment We’ll use negative numbers to represent supply nodes and positive numbers to represent demand nodes.

A Transshipment Problem: The Bavarian Motor Company +100 Boston $30 $50 2 Newark -200 1 Columbus +60 3 $40 $40 $35 $30 Richmond +80 Atlanta 4 +170 5 $25 $45 $50 $35 Mobile +70 J'ville 6 -300 $50 7

Defining the Decision Variables For each arc in a network flow model we define a decision variable as: Xij = the amount being shipped (or flowing) from node i to node j For example… X12 = the # of cars shipped from node 1 (Newark) to node 2 (Boston) X56 = the # of cars shipped from node 5 (Atlanta) to node 6 (Mobile) Note: The number of arcs determines the number of variables!

Defining the Objective Function Minimize total shipping costs. MIN: 30X12 + 40X14 + 50X23 + 35X35 +40X53 + 30X54 + 35X56 + 25X65 + 50X74 + 45X75 + 50X76

Constraints for Network Flow Problems: The Balance-of-Flow Rules For Minimum Cost Network Apply This Balance-of-Flow Flow Problems Where: Rule At Each Node: Total Supply > Total Demand Inflow-Outflow >= Supply or Demand Total Supply < Total Demand Inflow-Outflow <=Supply or Demand Total Supply = Total Demand Inflow-Outflow = Supply or Demand

Defining the Constraints In the BMC problem: Total Supply = 500 cars Total Demand = 480 cars For each node we need a constraint like this: Inflow - Outflow >= Supply or Demand Constraint for node 1: –X12 – X14 >= – 200 (Note: there is no inflow for node 1!) This is equivalent to: +X12 + X14 <= 200 (Supply >= Demand)

Defining the Constraints Flow constraints –X12 – X14 >= –200 } node 1 +X12 – X23 >= +100 } node 2 +X23 + X53 – X35 >= +60 } node 3 + X14 + X54 + X74 >= +80 } node 4 + X35 + X65 + X75 – X53 – X54 – X56 >= +170 } node 5 + X56 + X76 – X65 >= +70 } node 6 –X74 – X75 – X76 >= –300 } node 7 Non-negativity conditions Xij >= 0 for all ij

Optimal Solution to the BMC Problem +100 Boston $30 $50 2 Newark -200 120 20 1 Columbus +60 80 3 $40 $40 40 Richmond +80 Atlanta 4 +170 5 $45 210 70 +70 Mobile J'ville 6 -300 $50 7

Implementing the Model Before understanding how to set up this model in an Excel spreadsheet, it will be a good idea to view the Sumif Function and the Vlookup Function video clips. See Excel file Fig5-2.xls for the spreadsheet set up of the Bavarian Motor Company (MBC) example problem.

The Shortest Path Problem Many decision problems boil down to determining the shortest (or least costly) route or path through a network. Ex. Emergency Vehicle Routing This is a special case of a transshipment problem where: There is one supply node with a supply of -1 There is one demand node with a demand of +1 All other nodes have supply/demand of +0

The American Car Association +0 3.3 hrs +1 L'burg 5 pts 9 Va Bch 11 5.0 hrs 9 pts 2.0 hrs 4 pts 4.7 hrs +0 2.7 hrs 9 pts +0 4 pts 1.1 hrs K'ville 3 pts 5 G'boro 2.0 hrs Raliegh 3.0 hrs 9 pts 8 4 pts 10 +0 1.7 hrs 5 pts A'ville 1.5 hrs 6 +0 3 pts 2.3 hrs +0 3 pts Chatt. 2.8 hrs 3 7 pts 2.0 hrs Charl. 8 pts 7 +0 3.0 hrs 1.7 hrs 4 pts 4 pts 1.5 hrs G'ville 2 pts 4 Atlanta +0 B'ham 2 2.5 hrs 1 3 pts 2.5 hrs 3 pts +0 -1

Formulating the Shortest Route Problem Note that this problem is formulated exactly like the transshipment problem, where every node must obey the balance of flow rule. Since supply = demand, all constraints will have the equality sign. The beginning or starting node will always have a supply value of -1.

Formulation (continued) The ending node will always have a demand value of +1. Note that in the previous network diagram (i.e., The American Car Association), the objective is to find the shortest path from node 1 to node 11.

Solving the Problem There are two possible objectives for this problem Finding the quickest route (minimizing travel time) Finding the most scenic route (maximizing the scenic rating points) See file Fig5-7.xls to understand how this problem may be modeled in an Excel spreadsheet.

The Maximal Flow Problem In some network problems, the objective is to determine the maximum amount of flow that can occur through a network. The arcs in these problems have upper and lower flow limits. Examples How much water can flow through a network of pipes? How many cars can travel through a network of streets?

The Northwest Petroleum Company Pumping Pumping Station 1 Station 3 3 4 2 6 2 6 Oil Field 1 Refinery 6 2 4 4 3 5 5 Pumping Pumping Station 2 Station 4

The Northwest Petroleum Company Pumping Pumping Station 1 Station 3 3 4 2 6 2 6 Oil Field 1 Refinery 6 2 4 4 3 5 5 Pumping Pumping Station 2 Station 4

Formulation of the Max Flow Problem MAX: X61 Subject to: +X61 - X12 - X13 = 0 +X12 - X24 - X25 = 0 +X13 - X34 - X35 = 0 +X24 + X34 - X46 = 0 +X25 + X35 - X56 = 0 +X46 + X56 - X61 = 0 with the following bounds on the decision variables: 0 <= X12 <= 6 0 <= X25 <= 2 0 <= X46 <= 6 0 <= X13 <= 4 0 <= X34 <= 2 0 <= X56 <= 4 0 <= X24 <= 3 0 <= X35 <= 5 0 <= X61 <= infinity

Formulation (continued) To summarize, when you formulate the max flow problem always create a fictitious or dummy arc that will connect the ending node to the starting node (and not the other way!). The objective will then be to maximize the flow along this dummy arc (e.g., max X61). Note that we theoretically set an “infinity” value (∞) as an upper limit on the capacity of this arc.

Formulation (continued) In terms of constraints, you will always have two sets of constraints. The first set is just like the transshipment and the shortest path problems (i.e., every node must obey the balance of flow rule)

Formulation (continued) The second set of constraints will put an upper limit on how many units can flow along each arc. Thus, each arc will have its own upper boundary constraint to ensure that we do not ship more than the capacity of each arc.

Formulation (continued) For example, if say an arc represents a highway with 3 lanes, then that would constitute the upper limit. In other words, we can not have 4 cars simultaneously traveling along that highway. Note that your author uses a very large value such as “9999” as the upper limit for the fictitious arc (i.e., X61). Any other large value will also work.

Optimal Solution 3 4 2 6 2 6 1 6 2 4 4 3 5 5 3 5 5 2 2 4 4 2 Pumping Station 1 Station 3 3 3 4 2 5 5 6 2 2 6 Oil Field 1 Refinery 6 2 4 2 4 4 4 3 5 5 2 Pumping Pumping Station 2 Station 4

Implementing the Model See file Fig5-24.xls to understand how this problem may be modeled in an Excel spreadsheet.

End of Chapter