Linear Programming (LP) An important topic of Deterministic Operations Research Agenda 1.Modeling problems 2.Examples of models and some classical problems.

Slides:



Advertisements
Similar presentations
Airline Schedule Optimization (Fleet Assignment I)
Advertisements

1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Linear Programming.
Linear Programming Problem
Linear Programming Models & Case Studies
Session II – Introduction to Linear Programming
Chapter 4: Linear Programming Presented by Paul Moore.
MESM543 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems and how to analyze the models.
BA 555 Practical Business Analysis
Linear Programming Introduction George B Dantzig developed LP in It is a problem solving approach designed to help managers/decision makers in planning.
Linear Programming Example 5 Transportation Problem.
Strategic Allocation of Resources
Airlines and Linear Programming (and other stuff) Dr. Ron Lembke.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 7-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 7 Linear.
Airlines and Linear Programming Dr. Ron Tibben-Lembke.
Operations Management
B-1 Operations Management Linear Programming Module B.
Supply Chain Design Problem Tuukka Puranen Postgraduate Seminar in Information Technology Wednesday, March 26, 2009.
1 A Second Stage Network Recourse Problem in Stochastic Airline Crew Scheduling Joyce W. Yen University of Michigan John R. Birge Northwestern University.
Linear Programming (6S) and Transportation Problem (8S)
1 Lecture 2 & 3 Linear Programming and Transportation Problem.
Linear Programming Applications
Linear Programming.
Linear-Programming Applications
COB 291 An Introduction to Management Science Dr. Mike Busing College of Business, James Madison University.
Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University.
Linear Programming.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Graduate Program in Business Information Systems Integer and Goal Programming Aslı Sencer.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Transportation Model Lecture 16 Dr. Arshad Zaheer
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.
Optimization Models Mathematical optimization models usually contain an objective (what to do) constraints (the rules that must be followed). Also referred.
Lecture 2 Chapter 10 continued…. Last Lecture Summary: Covered Sec and most part of Sec Basic concepts of Linear Programming Problem and.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
Linear Programming: Formulation and Applications Chapter 3: Hillier and Hillier.
Linear Programming last topic of the semester What is linear programming (LP)? Not about computer programming “Programming” means “planning” “Linear” refers.
Airlines and Linear Programming (and other stuff) Dr. Ron Lembke.
1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.
Business Mathematics MTH-367 Lecture 13. Chapter 10 Linear Programming An Introduction Continued…
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4- Part2.
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4.
Log Truck Scheduling Problem
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
LINEAR PROGRAMMING MEANING:
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 7-1 1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 7 Linear.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Linear Programming Applications
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming.
Engineering Economics (2+0)
Transportation Networks CIVE 744
Linear Programming – Introduction
Operations Management Linear Programming Module B
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
1.206J/16.77J/ESD.215J Airline Schedule Planning
Integer Programming (정수계획법)
Lecture 19: MGTSC 352 Distribution Planning
Integer Programming (정수계획법)
Module B Linear Programming.
Linear Programming.
Presentation transcript:

Linear Programming (LP) An important topic of Deterministic Operations Research Agenda 1.Modeling problems 2.Examples of models and some classical problems 3.Graphical interpretation of LP 4.Solving LP by Simplex using MS Excel 5.Some theoretical ideas behind LP and Simplex

Example 1: Product Mix Problem Fertilizer manufacturing company, 2 types of fertilizer Type A: high phosphorus Type B: low phosphorus

Product Mix Problem: Modeling Step 1. The decision variables Daily production ofType A: x tons Type B: y tons Step 2. The objective function (maximize profit) z = 15x + 10y

Product Mix Problem: Modeling.. Step 3. The constraints Limited supply of raw materials per day: Urea:2x + y ≤ 1500 Potash:x + y ≤ 1200 Rock Phosphate:x ≤ 500

Product Mix Problem: Complete model Maximizez( x, y) = 15 x + 10y subject to2x + y ≤ 1500 x + y ≤ 1200 x ≤ 500 x ≥ 0, y ≥ 0 Interesting Aspects: Linearity, Inequalities Feasible solutions: (0, 0), (1, 1), … Infeasible solutions: (600, 500), …

Example 2. Blending Problem Three types of petrol (minimum Octane rating: 85, 90, 95) Four types of oils (Octane rating: 68, 86, 91, 99) Blending oils  petrol, with proportional Octane rating Objective: best product mix [how much of each petrol, oil to sell] Background: Petroleum Refinery

Example 2. Blending Problem, the data Petrol TypeMin OcRSelling PriceDemand (barrels/day) 1 (Premium) ≤ 10,000 2 (Super) No limit 3 (Regular) ≥ 15,000 Raw oil OcRAvailable amount (barrels/day) Cost/barrelSale price

Blending Problem: Modeling Step 1. The decision variables x ij = barrels/day of oil i( i = 1, 2, 3, or 4) to make petrol j (j = 1, 2, or 3) Total premium petrol per day = x 11 + x 21 + x 31 + x 41 Its Octane Rating: 68x x x x 41 x 11 + x 21 + x 31 + x 41 ≥ 95, 68x x x x (x 11 + x 21 + x 31 + x 41 ) ≥ 0.

Blending Problem: Modeling.. Step 2. The objective function Maximize profit  Maximize revenue 45.15(x 11 + x 21 + x 31 + x 41 ) (x 12 + x 22 + x 32 + x 42 ) (x 13 + x 23 + x 33 + x 43 ) (4000 – (x 11 + x 12 + x 13 )) (5050 – (x 21 + x 22 + x 23 )) (7100 –(x 31 + x 32 + x 33 )) (4300 – (x 41 + x 42 + x 43 )) super regular premium Oil 1 Oil 2 Oil 3 Oil 4

Blending Problem: Modeling... Step 3. The constraints (a) The OcR constraints: 68x x x x (x 11 + x 21 + x 31 + x 41 ) ≥ 0 68x x x x (x 12 + x 22 + x 32 + x 42 ) ≥ 0 68x x x x (x 13 + x 23 + x 33 + x 43 ) ≥ 0

Blending Problem: Modeling.... Step 3. The constraints.. (b) Can’t use more oil than we have: x 11 + x 12 + x 13 ≤ 4000 x 21 + x 22 + x 23 ≤ 5050 x 31 + x 32 + x 33 ≤ 7100 x 41 + x 42 + x 43 ≤ 4300

Blending Problem: Modeling….. Step 3. The constraints... (c) The demand constraints: x 11 + x 21 + x 31 + x 41 ≤ 10,000 x 13 + x 23 + x 33 + x 43 ≥ 15,000 (d) Allowed values of variables x ij ≥ 0 for i = 1, 2, 3, 4, and j = 1, 2, 3.

Blending Problem: complete model Maximize: 45.15(x 11 + x 21 + x 31 + x 41 ) (x 12 + x 22 + x 32 + x 42 ) (x 13 + x 23 + x 33 + x 43 ) (4000 – (x 11 + x 12 + x 13 )) (5050 – (x 21 + x 22 + x 23 )) (7100 –(x 31 + x 32 + x 33 )) (4300 – (x 41 + x 42 + x 43 )) Subject to: 68x x x x (x 11 + x 21 + x 31 + x 41 ) ≥ 0 68x x x x (x 12 + x 22 + x 32 + x 42 ) ≥ 0 68x x x x (x 13 + x 23 + x 33 + x 43 ) ≥ 0 x 11 + x 12 + x 13 ≤ 4000 x 21 + x 22 + x 23 ≤ 5050 x 31 + x 32 + x 33 ≤ 7100 x 41 + x 42 + x 43 ≤ 4300 x 11 + x 21 + x 31 + x 41 ≤ 10,000 x 13 + x 23 + x 33 + x 43 ≥ 15,000 x ij ≥ 0 for I = 1, 2, 3, 4, and j = 1, 2, 3. Octane rating Supply Demand

Example 3: Transportation problem Background: Company has several factories (sinks), and several suppliers (sources) Objective: Minimize the cost of transportation

Example 3. Transportation problem, the data transportation cost per ton mine capacity/day plant 1plant 2plant 3 Mine Mine daily ore requirement at each plant:

Transportation problem: the model Step 1. The decision variables x ij = amount of ore shipped from mine i to plant j per day. Step 2: The objective function Minimize the transportation costs: Minimize: 11x x x x x x 23

Transportation problem: the model.. Step 3. The constraints (a) Shipment from each mine less than daily production x 11 + x 12 + x 13 ≤ 800[capacity of mine 1] x 21 + x 22 + x 23 ≤ 300[capacity of mine 2] (b) Demand of each plant must be met x 11 +x 21 ≥ 400[demand at plant 1] x 12 + x 22 ≥ 500[demand at plant 2] x 13 + x 23 ≥ 200[demand at plant 3] (c) Decision variables can’t be negative x ij ≥ 0, for all i= 1, 2, j = 1, 2, 3.

Transportation problem: historical note Kantorovich in USSR in the 1930’s, Koopmans in 1940’s Dantzig in 1950’s  Simplex method Kantorovich and Koopmans, Nobel prize (Economics) in 1975KantorovichKoopmans

The Geometry of Linear Programs Point in a 1D space:x = c c 0 Line in 2D:ax + by = c 2x+3y = 0 2x+3y = 3 2x+3y = 9 2x+3y = 6 (0,0) y x

The Geometry of Linear Programs Plane in 3D:ax + by + cz = d z x y Plane x + y + z = z x y Plane: x + y + z = 0 Plane: x + y + z = 2

The Geometry of Linear Programs Hyper-plane in n-Dimensions: a 1 x 1 + a 2 x 2 + … + a n x n = c ?? 2-D Half spaces: 2x+3y = 6 (0,0) y x 2x+3y > 6 2x+3y < 6

Feasible set The Geometry of LP: Product Mix revisited maxz( x, y) = 15 x + 10y ST2x + y ≤ 1500 x + y ≤ 1200 x ≤ 500 x ≥ 0, y ≥ 0 x ≥ 0 y ≥ 0 x ≤ 500 2x+y ≤ 1500 x + y ≤ 1200 (0,0) y x

The Geometry of LP: Product Mix revisited maxz( x, y) = 15 x + 10y ST2x + y ≤ 1500 x + y ≤ 1200 x ≤ 500 x ≥ 0, y ≥ 0 Feasible set x ≥ 0 y ≥ 0 x ≤ 500 2x+y ≤ 1500 x + y ≤ 1200 (0,0) y x Try point: x = 0, y = 0: 15x + 10y = 0 15x + 10y = x + 10y = 13,500 (300, 900)

Summary 1. LP formulations are very common in modern industry 2. Beautiful connection between Algebra and Geometry 3. Geometry not useful for > 3 variables 4. Practical problems: 1000’s of variables (see next slide) 5. Need Algebraic method !

Some real world examples of LP Military patient evacuation problem The US Air Force Military Airlift Command (MAC) has a patient evacuation problem that can be modeled as an LP. They use this model to determine the flow of patients moved by air from an area of conflict to army bases and hospitals. The objective is to minimize the time that patients are in the air transport system. The constraints are: - all patients that need transporting must be transported - limits on the size and composition of hospitals, capacity of air fleet, air-lift points MAC have generated a series of problems based on the number of time periods (days). A 50 day problem consists of an LP with 79,000 constraints and 267,000 variables. This LP can be solved (using a fast computer) in approximately 10 Hours

Some real world examples of LP.. Military logistics planning The US Department of Defense Joint Chiefs of Staff have a logistics planning problem that models the feasibility of supporting military operations during a crisis. The problem is to determine if different materials (called movement requirements) can be transported overseas within strict time windows. The LP includes capacities at embarkation and debarkation ports, capacities of the various aircraft and ships that carry the movement requirements and penalties for missing delivery dates. A typical problem of this type may consider 15 time periods, 12 ports of embarkation, 7 ports of debarkation and 9 different types of vehicle for 20,000 movement requirements. This resulted in an LP with 20,500 constraints and 520,000 variables. This LP can be solved in approximately 75 minutes

Some real world examples of LP... Airline crew scheduling (American Airlines) Within a fixed airline schedule (the schedule changing twice a year typically) each flight in the schedule can be broken down into a series of flight legs. A flight leg comprises a takeoff from a specific airport at a specific time to the subsequent landing at another airport at a specific time. For example a flight from HK  Bangkok  Phuket has two legs. A key point is that these flight legs may be flown by different crews. For crew scheduling, aircraft types have been pre-assigned (not all crews can fly all types). For a given aircraft type and a given time period (the schedule repeats over a 1 week period) we must ensure that all flight legs for a particular aircraft type can have a crew assigned. Note here that by crew we mean not only the pilots/flight crew but also the cabin service staff, typically these work together as a team and are kept together over a schedule. There are restrictions on how many hours the crews (pilots and others) can work. A potential crew schedule is a series of flight legs that satisfies these restrictions. All such potential crew schedules can have a cost assigned to them. Usually a crew schedule ends up with the crew returning to their home base, e.g. A-D and D-A in crew schedule 1 above. A crew schedule such as 2 above (A-B and B-C) typically includes as part of its associated cost the cost of returning the crew (as passengers) to their base. Such carrying of crew as passengers (on their own airline or on another airline) is called deadheading. For our American Airlines problem the company has a database with 12 million potential crew schedules. The objective is to select the combination of schedules (out of the 12 million) which shall minimize costs. The constraints are to ensure that all flight legs have a crew assigned to them, and work restrictions are violated. One case of this problem was formulated as an LP, with 12 million variables, and 750 constraints. [Note: a small percentage improvement of the schedule  ten's of millions of dollars!] This LP could be solved in approximately 27 minutes using a software called OSL next: How to solve LP’s using MS Excel