Transportation Problems

Similar documents
Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Transportation problem

Antti Salonen KPP227 KPP227 1

IV. Special Linear Programming Models

TRANSPORTATION AND ASSIGNMENT PROBLEMS

Fundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology, Madras. Lecture No.

4. Linear Programming

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

success of Business enterprise especially in manufacturing organization. Goods manufactured by firm need to be distributed to dealers, distributers

Solutions for Operations Research Final Exam

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

Journal of Business & Economics Research November, 2009 Volume 7, Number 11

Modified Distribution Method

Number of Regular shirts R

Unit.9 Integer Programming

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

قالىا سبحانك ال علم لنا إال ما علمتنا صدق هللا العظيم. Lecture 5 Professor Sayed Fadel Bahgat Operation Research

Chapter 1 Linear Programming. Paragraph 4 The Simplex Algorithm

Farming Example. Lecture 22. Solving a Linear Program. withthe Simplex Algorithm and with Excel s Solver

16.410/413 Principles of Autonomy and Decision Making

Hybrid Two-Stage Algorithm for Solving Transportation Problem

SUGGESTED SOLUTION CA FINAL MAY 2017 EXAM

Advanced Approximation Method for Finding an Optimal Solution of Unbalanced Fuzzy Transportation Problems

1. What do you get as the integer and noninteger parts if you factor this as we did with our cutting planes:

Math Introduction to Operations Research

Fundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology Madras.

Chapter 4 Linear Programming

Optimization Methods: Linear Programming Applications Transportation Problem 1. Module 4 Lecture Notes 2. Transportation Problem

A New approach for Solving Transportation Problem

Solving the Linear Transportation Problem by Modified Vogel Method

M.Sc. (CA) (2 nd Semester) Question Bank

MLR Institute of Technology

Linear programming II João Carlos Lourenço

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

ALGORITHMIC APPROACH TO UNBALANCED FUZZY TRANSPORTATION PROBLEM. A. Samuel 1, P. Raja 2

Full Length Research Article. Comparison of Transportation Algorithms Using Data from Katsina State Transport Authority, Katsina State, Nigeria

Intermediate Excel 2013

AM 121: Intro to Optimization Models and Methods Fall 2017

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

Prepared By. Handaru Jati, Ph.D. Universitas Negeri Yogyakarta.

OPERATIONS RESEARCH. Dr. Mohd Vaseem Ismail. Assistant Professor. Faculty of Pharmacy Jamia Hamdard New Delhi

CSE 40/60236 Sam Bailey

A New Approach for Solving Unbalanced. Fuzzy Transportation Problems


Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

56:171 Operations Research Homework #5 Solution Fall 2002

Artificial Intelligence

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

Basic tasks in Excel 2013

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

Dynamic modelling and network optimization

A Computer Oriented Method for Solving Transportation Problem

The MOMC Method: a New Methodology to Find. Initial Solution for Transportation Problems

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

OPERATIONS RESEARCH. Transportation and Assignment Problems

International Journal of Computer Science Trends and Technology (IJCST) Volume 4 Issue 4, Jul - Aug 2016

Operations Research. Unit-I. Course Description:

Solving linear programming

TIM 206 Lecture Notes Integer Programming

Available online through ISSN

Linear Programming. Course review MS-E2140. v. 1.1

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

LECTURE 6: INTERIOR POINT METHOD. 1. Motivation 2. Basic concepts 3. Primal affine scaling algorithm 4. Dual affine scaling algorithm

CSC 8301 Design & Analysis of Algorithms: Linear Programming

BaSICS OF excel By: Steven 10.1

Lecture 9: Linear Programming

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Fundamentals of Integer Programming

Agenda. Cache-Memory Consistency? (1/2) 7/14/2011. New-School Machine Structures (It s a bit more complicated!)

Introduction to Management Science (8th Edition, Bernard W. Taylor III) Chapter 9 Integer Programming. Chapter 9 - Integer Programming 1

Chapter 4. Linear Programming

CS & IT Conversions. Magnitude 10,000 1,

CMPSCI611: The Simplex Algorithm Lecture 24

Department of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

Lecture 16. Today: Start looking into memory hierarchy Cache$! Yay!

The Simplex Algorithm

NCSS Statistical Software

Mid-term Exam of Operations Research

PROCESS MANAGEMENT. Selected Exact Managerial Methods. Study supports

Shortest Paths. CSE 373 Data Structures Lecture 21

VARIANTS OF THE SIMPLEX METHOD

Mathematical Tools for Engineering and Management

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING

Econ 172A - Slides from Lecture 2

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

Solving NP-hard Problems on Special Instances

Lecture 18 Solving Shortest Path Problem: Dijkstra s Algorithm. October 23, 2009

Easter Term OPTIMIZATION

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Review Ch. 15 Spreadsheet and Worksheet Basics. 2010, 2006 South-Western, Cengage Learning

Transcription:

Transportation Problems Transportation is considered as a special case of LP Reasons? it can be formulated using LP technique so is its solution 1 (to p2)

Here, we attempt to firstly define what are them and then studying their solution methods: (to p3) 2

Transportation Problem We have seen a sample of transportation (to p4) problem on slide 29 in lecture 2 Here, we study its alternative solution method Consider the following transportation tableau (to p6) 3

Review of Transportation Problem Warehouse supply of televisions sets: Retail store demand for television sets: 1- Cincinnati 300 A - New York 150 2- Atlanta 200 B - Dallas 250 3- Pittsburgh 200 C - Detroit 200 total 700 total 600 From Warehouse To Store A B C 1 $16 $18 $11 2 14 12 13 3 13 15 17 LP formulation (to p5) 4

A Transportation Example (2 of 3) Model Summary and Computer Solution with Excel Minimize Z = $16x 1A + 18x 1B + 11x 1C + 14x 2A + 12x 2B + 13x 2C + 13x 3A + 15x 3B + 17x 3C subject to x 1A + x 1B + x 1 300 x 2A + x 2B + x 2C 200 x 3A + x 3B + x 3C 200 x 1A + x 2A + x 3A = 150 x 1B + x 2B + x 3B = 250 x 1C + x 2C + x 3C = 200 x ij 0 Exhibit 4.15 (to p3) 5

Transportation Tableau We know how to formulate it using LP technique Refer to lecture 2 note Here, we study its solution by firstly attempting to determine its initial tableau (to p7) Just like the first simplex tableau! 6

Solution to a transportation problem Initial tableau (to p8) Optimal solution (to p23) Important Notes (to p43) Tutorials (to p53) 7

initial tableau Three different ways: Northwest corner method The Minimum cell cost method (to p9) (to p12) Vogel s approximation method (VAM) (to p16) Now, are these initial tableaus given us an Optimal solution? (to p7) 8

Northwest corner method Steps: 1. assign largest possible allocation to the cell in the upper left-hand corner of the tableau 2. Repeat step 1 until all allocations have been assigned 3. Stop. Initial tableau is obtained Example (to p10) 9

Northeast corner Step 1 Step 2 Max (150,200) 150 -- -- 0 150 50 -- -- 0 125 -- 150 0 (to p11) 10

Initial tableau of NW corner method Repeat the above steps, we have the following tableau. Stop. Since all allocated have been assigned Ensure that all columns and rows added up to its respective totals. (to p8) 11

The Minimum cell cost method Here, we use the following steps: Steps: Step 1 Find the cell that has the least cost Step 2: Assign as much as allocation to this cell Step 3: Block those cells that cannot be allocated Step 4: Repeat above steps until all allocation have been assigned. Example: (to p13) 12

Step 1 Find the cell that has the least cost Step 2: Assign as much as allocation to this cell Step 1: Step 2: 200 The min cost, so allocate as much resource as possible here Step 3 (to p14) 13

Step 3: Block those cells that cannot be allocated Step 4: Repeat above steps until all allocation have been assigned. Step 3: Second iteration, step 4 -- -- 200 75 (to p15) 0 14

The initial solution Stop. The above tableau is an initial tableau because all allocations have been assigned (to p8) 15

Vogel s approximation method Operational steps: Step 1: for each column and row, determine its penalty cost by subtracting their two of their least cost Step 2: select row/column that has the highest penalty cost in step 1 Step 3: assign as much as allocation to the selected row/column that has the least cost Step 4: Block those cells that cannot be further allocated Step 5: Repeat above steps until all allocations have been assigned Example (to p17) 16

subtracting their two of their least cost Step 1 (8-6) (11-7) (5-4) (6-4) (8-5) (11-10) (to p18) 17

Steps 2 & 3 Step 2: Highest penalty cost (to p19) Step 3: this has the least cost 18

Step 4 --- --- (to p20) 19

Step 5 Second Iteration --- --- --- (to p21) 20

3 rd Iteration of VAM --- --- --- --- (to p22) 21

Initial tableau for VAM (to p8) 22

Optimal solution? Initial solution from: Northeast cost, total cost =$5,925 The min cost, total cost =$4,550 VAM, total cost = $5,125 (note: here, we are not saying the second one always better!) It shows that the second one has the min cost, but is it the optimal solution? (to p24) 23

Solution methods We need a method, like the simplex method, to check and obtain the optimal solution Two methods: 1. Stepping-stone method (to p25) 2. Modified distributed method (MODI) (to p30) (to p7) 24

Stepping-stone method Let consider the following initial tableau from the Min Cost algorithm There are Non-basic variables These are basic variables Question: How can we introduce a non-basic variable into basic variable? (to p26) 25

Introduce a non-basic variable into basic variables Here, we can select any non-basic variable as an entry and then using the + and steps to form a closed loop as follows: Then we have let consider this non basic variable (to p27) 26

Stepping stone + - - + (to p28) The above saying that, we add min value of all ve cells into cell that has + sign, and subtracts the same value to the -ve cells Thus, max ve is min (200,25) = 25, and we add 25 to cell A1 and A3, and subtract it from B1 and A3 27

Stepping stone The above tableaus give min cost = 25*6 + 120*10 + 175*11 175*4 + 100* 5 = $4525 We can repeat this process to all possible non-basic cells in that above tableau until one has the min cost! NOT a Good solution method (to p29) 28

Getting optimal solution In such, we introducing the next algorithm called Modified Distribution (MODI) (to p24) 29

Modified distributed method (MODI) It is a modified version of stepping stone method MODI has two important elements: 1.It determines if a tableau is the optimal one 2.It tells you which non-basic variable should be firstly considered as an entry variable 3.It makes use of stepping-stone to get its answer of next iteration How it works? (to p31) 30

Procedure (MODI) Step 0: let u i, v, c ij variables represent rows, columns, and cost in the transportation tableau, respectively Step 1: (a) form a set of equations that uses to represent all basic variables u i + vj = c ij (b) solve variables by assign one variable = 0 Step2: (a) form a set of equations use to represent non-basic variable (or empty cell) as such c ij u i vj = k ij (b) solve variables by using step 1b information Step 3: Select the cell that has the most ve value in 2b Step 4: Use stepping-stone method to allocate resource to cell in step 3 Step 5: Repeat the above steps until all cells in 2a has no negative value Example (to p32) (to p24) 31

MODI Consider to this initial tableau: Step 0: let ui, v, cij variables represent rows, columns, and cost in the transportation tableau, respectively (to p33) 32

Step 0 C 3A Step 1: (a) form a set of equations that uses to represent all basic variables ui + vj = cij (to p34) 33

ui + vj = cij (b) solve variables by assign one variable = 0 (to p35) 34

Set one variable = 0 Because we added an non-basic variable Step2: (a & b) (to p36) 35

Step2: (a & b) Note this may look difficult and complicated, however, we can add these V=values into the above tableau as well (to p37) 36

Step2: (a & b), alternative -1-1 +2 +5 6-0-7 Step 3: Select the cell that has the most ve value in 2b 37 (to p38)

Step3-1 -1 +2 +5 Select either one, (Why?) These cells mean, introduce it will reduce the min z to -1 cost unit (to p39) 38

Step 4: Use stepping-stone method + - - + From here we have. (to p40) 39

Step 4: Use stepping-stone method (to p41) Step 5: we repeat steps 1-4 again for the above tableau, we have 40

Step 5 (to p42) 41

All positives STOP Step 5 cont (to p31) 42

Important Notes When start solving a transportation problem using algorithm, we need to ensure the following: 1. Alternative solution 2. Total demand total supply 3. Degeneracy 4. others (to p52) (to p48) (to p44) (to p45) (to p7) 43

(to p43) Alternative solution When on the following k = 0 Why? c ij u i vj = k ij 44

Total demand total supply Note that, total demand=650, and total supply = 600 How to solve it? We need to add a dummy row and assign o cost to each cell as such.. (to p46) 45

Dd ss Extra row, since Demand > supply Other example (to p47) 46

Dd ss Extra column is added (to p43) 47

Degeneracy Example.. (to p49) ie, basic variables in the tableau 48

Degeneracy m rows + n column 1 = the number of cells with allocations 3 + 3-1 = 5 It satisfied. (five basic variables, and above has 5 as well!) If failed? considering.. (to p50) 49

Degeneracy (note above has only 4 basic variable only!) If not matched, then we select an non-basic variable with least cheapest cost and considered it as a new basic variable with assigned 0 allocation to it (to p51) 50

Degeneracy Added this Note: we pick this over others because it has the least cost for the Min Z problem! (to p43) 51

others 1. When one route cannot be used Assign a big M cost to its cell If 10 changed to Cannot delivered Then we assigned M value here 52 (to p43)

Tutorials Module B 1, 5, 8, 13, 21, 34 these questions are attached in the following slides 53

1 54

55

56

57

58

59

60