Linear Programming We are to learn two topics today: LP formulation

Slides:



Advertisements
Similar presentations
DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker Chapter 5 LINEAR OPTIMIZATION: APPLICATIONS Part 1.
Advertisements

Chapter 3: Linear Programming Modeling Applications © 2007 Pearson Education.
Managerial Decision Modeling with Spreadsheets
Lecture 3 Linear Programming: Tutorial Simplex Method
Chapter 19 – Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Homework Solution GOAL PROGRAMMING
Planning with Linear Programming
Linear Programming Problem
| 3.1a | a3.2 Linear Programming Formulation n I. PRODUCT MIX n II. DIET n III. FINANCE n IV. MARKETING n V. TRANSPORTATION n VII. Data Envelopment.
Session II – Introduction to Linear Programming
1 Lecture 3 MGMT 650 Sensitivity Analysis in LP Chapter 3.
Marketing Applications: Media selection
1 Transportation Problems Transportation is considered as a “special case” of LP Reasons? –it can be formulated using LP technique so is its solution (to.
Linear Programming Applications in Marketing, Finance and Operations
19 Linear Programming CHAPTER
Introduction to Management Science
Modeling with Linear Programming and Graphical Solution
Introduction to Management Science
Solving Examples of Linear Programming Models
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4.
Introduction to Linear Programming
Linear Programming (6S) and Transportation Problem (8S)
6s-1Linear Programming CHAPTER 6s Linear Programming.
1 Lecture 2 & 3 Linear Programming and Transportation Problem.
1 Lecture 2 MGMT 650 Linear Programming Applications Chapter 4.
Introduction to Management Science
Introduction to Management Science
INTRODUCTION TO LINEAR PROGRAMMING
Chapter 7 Transportation, Assignment & Transshipment Problems Part 1 ISE204/IE252 Prof. Dr. Arslan M. ÖRNEK.
Linear Programming Applications
 Marketing Application  Media Selection  Financial Application  Portfolio Selection  Financial Planning  Product Management Application  Product.
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
STRATEGIC MANAGEMENT ACCOUNTING Anushka De Silva.
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
Transportation Model Lecture 16 Dr. Arshad Zaheer
Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear.
BA 452 Lesson A.8 Marketing and Finance Applications 1 1ReadingsReadings Chapter 4 Linear Programming Applications in Marketing, Finance, and Operations.
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4.
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4.
Linear Programming Modeling
S YSTEMS OF INEQUALITIES J EOPARDY By Myia, Erin, and Maddy.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
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.
0 A Toy Production Problem  How many units to produce from each product type in order to maximize the profit? ProductMan-PowerMachineProfit Type A3 h1.
Chapter 9 - Multicriteria Decision Making 1 Chapter 9 Multicriteria Decision Making Introduction to Management Science 8th Edition by Bernard W. Taylor.
1 Linear Programming Chapter 2 By Mohammad Shahid Khan M.Eco, MBA, B.Cs, B.Ed. Lecturer in Economics & Business Administration Department of Economics.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
LINEAR PROGRAMMING APPLICATIONS IN MARKETING, FINANCE, AND OPERATIONS MANAGEMENT (2/3) Chapter 4 MANGT 521 (B): Quantitative Management.
Question Relax and Enjoy Lake Development Corporation is developing a lakeside community at a privately owned lake.Their primary market includes all the.
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.
EXAMPLE 4 Solve a system using substitution Marketing The marketing department of a company has a budget of $30,000 for advertising. A television ad costs.
Copyright © Cengage Learning. All rights reserved. 3 LINEAR PROGRAMMING: A GEOMETRIC APPROACH.
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
Linear Programming (LP) Problems MAX (or MIN): c 1 X 1 + c 2 X 2 + … + c n X n Subject to:a 11 X 1 + a 12 X 2 + … + a 1n X n
Chapter 3 Linear Programming Applications
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
-114- HMP654/EXECMAS Linear Programming Linear programming is a mathematical technique that allows the decision maker to allocate scarce resources in such.
 Marketing Application  Media Selection  Financial Application  Portfolio Selection  Financial Planning  Product Management Application  Product.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
Chapter 8 - Project Management1 Lecture 2 Today’s lecture covers the followings: 1.To study “project crashing” concept 2.LP formulation for project management.
Chapter 6 Integer, Goal, and Nonlinear Programming Models © 2007 Pearson Education.
Transportation, Assignment, and Network Models 9 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna and Hale Power.
Linear Programming Applications
Linear Programming Dr. T. T. Kachwala.
Goal programming.
Chapter 3 Linear Programming Applications
Linear Programming.
Presentation transcript:

Linear Programming We are to learn two topics today: LP formulation determining LP solutions Graphical approach Simplex method – will be taken up in next lecture Tutorial Questions: Ch 2, 3,6,9,12,16,20 (to p2) (to p38) (to p61)

LP formulation Note that Chapter 4 has presented 8 LP formulations Here, we pick up the following three examples for discussions Example 1 (Investment) Example 2 (Marketing) Example 3 (Transportation) (to p3) (to p17) (to p30) (to p1)

Example 1 (Investment) Please refer to the handouts(p112) Spend 5 mins to read through them Question asked was to formulate its LP problem! Solution: (to p59) (to p4)

How to achieve it? From lecture 1, we know LP formulation involve the following steps: Step 1: define decision variables Step 2: define the objective function Step 3: state all the resource constraints Step 4: define non-negativity constraints Overall LP formulation (to p5) (to p6) (to p8) (to p15) (to p16) (to p2)

Step 1: define decision variables Question: how much to invest in four alternative choices: Let, x1 = amount invested in municipal bonds ($) x2 = amount invested in certificates of deposit ($) x3 = amount invested in treasury bills ($) x4 = amount invested in growth stock fund($) (to p4)

Step 2: define the objective function Expected profits are: 8.5% for x1 = 0.085x1, 5% for x2 = 0.05x2 6.5% for x3 = 0.065x3 13% for x4 = 0.13x4 Thus, objective function is (to p7)

Objective function maximize Z = $0.085x1 + 0.05x2 + 0.065 x3+ 0.130x4 (to p4)

Step 3: state all the resource constraints Four constraints Not more than 20%for x1 X2 should not exceed total of other investments At least 30% spent for x2 and x3 X2 and x3 should be greater than x1 and x4, by ratio of at least 1.2 to 1 Note: total investment is $70,000 All constraints are: (to p9) (to p10) (to p11) (to p12) (to p13) (to p14) (to p4)

Not more than 20%for x1 Given that total investment is $70,000 20% of it = $14,000 Thus this constraint could be expressed as x1  14,000 (to p8)

X2 should not exceed total of other investments Total 4 investments, x1, x2, x3 and x4 Thus, other investments would be x1, x3 and x4 This constraint is then expressed as: x2  x1 + x3 + x4 Or x2 - x1 - x3- x4  0 (to p8)

At least 30% spent for x2 and x3 That is, 30% of $70,000 = $21,000 Or x2 + x3  21,000 (to p8)

That is x2 + x3  1.2(x1 + x4) or -1.2x1 + x2 + x3 - 1.2 x4  0 X2 and x3 should be greater than x1 and x4, by ratio of at least 1.2 to 1 That is x2 + x3  1.2(x1 + x4) or -1.2x1 + x2 + x3 - 1.2 x4  0 (to p8)

total investment is $70,000 That is, x1 + x2 + x3 + x4 = 70,000 (to p8)

Over constraints x1  14,000 x2 - x1 - x3- x4  0 x2 + x3  21,000 (to p8)

Step 4: define non-negativity constraints That is, x1, x2, x3, x4  0 (to p4)

Overall LP formulation maximize Z = $0.085x1 + 0.05x2 + 0.065 x3+ 0.130x4 subject to x1  14,000 x2 - x1 - x3- x4  0 x2 + x3  21,000 -1.2x1 + x2 + x3 - 1.2 x4  0 x1 + x2 + x3 + x4 = 70,000 x1, x2, x3, x4  0 (at least 20% on x1) (x2 spent not more than total investment) (at least 20% on x2 and x3) (x2+x3 has at least 1.2 ratio to x1+x4 (total investment is $70,000) (to p2) Note: it is up to you if you like to arrange in this format or let it be the way in according to how constraints were stated!

Example 2 (Marketing) Please read the handout (118) Read it for 5 mins and then try to formulate it! How to start? Again we following the four steps (to p59) (to p18)

4 procedural steps Step 1: define decision variables Step 2: define the objective function Step 3: state all the resource constraints Step 4: define non-negativity constraints Overall LP formulation (to p19) (to p20) (to p22) (to p28) (to p29)

Step 1: define decision variables Question: how to achieve a max exposure to three of possible media Let x1 = number of television commercials x2 = number of radio commercials x3 = number of newspaper aids (to p18)

Step 2: define the objective function Exposure are: (refer to the attached table) 20,000 for x1 12,000 for x2 9,000 for x3 Thus the objective function is maximize Z = 20,000x1 + 12,000x2 + 9,000x3 (to p21) (to p18)

Audience exposure rate (to p20)

Step 3: state all the resource constraints We have the following resources: Budget limit $100,000 Television time for four commercials Radio time for 10 commercials Newspaper space for 7 ads Resources for no more than 15 commercials and/or ads. (to p) (to p24) (to p25) (to p26) (to p27) (to p18)

Budget limit $100,000 All associated cost to each variables has a budget of $100,000 Thus, $15,000x1 + 6,000x 2+ 4,000x3  100,000 (to p22)

Television time for four commercials That is x1  4 (max of 4 TV ads) (to p22)

Radio time for 10 commercials That is, x2  10 (max of 10 radio ads) (to p22)

Newspaper space for 7 ads That is, x3  7 (max of 7 newspaper ads) (to p22)

Resources for no more than 15 commercials and/or ads That is x1 + x2 + x3  15 (max of 15 ads can be subscribed) (to p22)

Step 4: define non-negativity constraints That is, x1, x2, x3  0 (to p18)

Overall LP formulation maximize Z = 20,000x1 + 12,000x2 + 9,000x3 subject to $15,000x1 + 6,000x 2+ 4,000x3  100,000 x1  4 x2  10 x3  7 x1 + x2 + x3  15 x1, x2, x3  0 (note it is advisable to include explanation here!) (to p2)

Example 3 (Transportation) Please read the handout (121) Read it for 5 mins and then try to formulate it! How to start? Again we following the four steps (to p60) (to p31)

4 procedural steps Step 1: define decision variables Step 2: define the objective function Step 3: state all the resource constraints Step 4: define non-negativity constraints Overall LP formulation (to p32) (to p33) (to p34) (to p36) (to p37)

Step 1: define decision variables We are to determine all combination of shipping from warehouse i to store j, i=1,2,3;j=A,B,C That is, xij, where i is warehouse, j is store or X1A= no of TV shipped from warehouse I to A store X1B = no of TV shipped from warehouse 1 to B store X1C = no of TV shipped from warehouse 1 to C store X2A = no of TV shipped from warehouse 2 to A store X2B = no of TV shipped from warehouse 2 to B store X2C = no of TV shipped from warehouse 2 to C store X3A = no of TV shipped from warehouse 3 to A store X3B = no of TV shipped from warehouse 3to B store X3C = no of TV shipped from warehouse 3 to C store OR Xij = no of TV shipped from warehouse i to j store, i=1,2,3;j=A,B,C (to p31)

Step 2: define the objective function Here, we attempt to min the shipping cost, i.e. Cost Minimize Z = $16x1A + 18x1B + 11x1C + 14x2A + 12x2B + 13x2C + 13x3A + 15x3B + 17x3C (to p31)

Step 3: state all the resource constraints Our resources are: 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 So, the resource constraints are: x1A + x1B+ x1  300 x2A+ x2B + x2C  200 x3A+ x3B + x3C  200 x1A + x2A + x3A = 150 x1B + x2B + x3B = 250 x1C + x2C + x3C = 200 How to get these? Note, how this Problem really looks Like? (to p31) (to p35)

Transportation Problem Total supply 300 200 200 700 150 250 200 Total demand 600 Note: total supply is greater than total demand. Thus, we set demand constraint to = and supply to <= (to p34)

Step 4: define non-negativity constraints That is, xij  0, i=1,2,3; j=A,B,C (to p31)

Overall LP formulation Minimize Z = $16x1A + 18x1B + 11x1C + 14x2A + 12x2B + 13x2C + 13x3A + 15x3B + 17x3C Subject to x1A + x1B+ x1C  300 x2A+ x2B + x2C  200 x3A+ x3B + x3C  200 x1A + x2A + x3A = 150 x1B + x2B + x3B = 250 x1C + x2C + x3C = 200 xij  0, i=1,2,3; j=A,B,C (to p2)

LP - Graphical approach Here, we now try to solve an LP formulation using a graphical approach, that is Plot all equations onto a graph and determine Z values of decision variables that satisfying all resource constraints How it works? Types of LP solutions (to p39) (to p53)

LP - Graphical approach Consider a simple LP problem: maximize Z=$40x1 + 50x2 subject to 1x1 + 2x2  40 ………(e1) 4x2 + 3x2  120 ……..(e2) x1  0 ……...(e3) x2  0 ………(e4) Objective function Resource Constraints Solution steps of graphical approach (to p40)

Solution steps of graphical approach Step 1: take one resource constraint and treat it as an equation and draw them onto a graph Step 2: determine the region that satisfying the inequality equation of step 1 Step 3: repeat steps 1-2 for all resource constraints Step 4: super imposing objective function to determine the solution set for decision variables (to p41)

Step 1: Consider 1x1 + 2x2  40 ……… (1) And teating it as How to draw them ? (to p42)

1x1 + 2x2 = 40 How to plot? Consider any points on x and y axis in turn, then we have : x1=0, x2=20 and x2=0, x1=40 Step2: Where is 1x1 + 2x2  40 ? (to p43)

Determine 1x1 + 2x2  40 This region We take a point Is known as feasible region! We take a point at (0,0) to check which side satisfying this constraint! (0,0) At (0,0), 1*0 + 0*0  40 ? Yes, then all points on the side of (0,0) are feasible region Repeat these steps for equation e2 (to p44)

Constraint e2 (to p45) When combine this to the one we obtained before, then we have ….

Constraints e1 to e2 Interception point (x1,x2)=(24,8) (0,20) (30,0) (to p46) When add e3 and e4, we have ……

Common region of e1 to e4 Now, we proceed to Step 4, that is impose Objective function Z onto this graph ………. How to plot it? (to p47)

maximize Z=$40x1 + 50x2 To plot this equation Z, we can simply assign an aribitrary number for Z, Say, Z = 800 Then 800 =$40x1 + 50x2 When x2 = 0, then x1= 20 ….. A plotting point (20,0) When x1 = 0, then x2 = 16 ….a plotting point (0,16) When plotting it on the graph, we would have …. (to p48) Where is the optimal solution?

Optimal solution The optimal solution is at the corner point of the feasible region! To obtain the optimal point, we use a ruler move toward the right hand side and the last corner point Solution (to p49) For max problem if min then it is on the left hand side

Optimal point This is the solution (x1,x2)=(24,8) (to p50) Let check to see if it is the optimal point/solution ….

Checking! Optimal solution X1=0 X2-0 Z=0 More exercise! …….. (to p51)

Another example Consider Minimize Z = $6x1 + 3x2 subject to 2x1 + 4x2  16 …………. (e1) 4x1 + 3x2  24 …………...(e2) x1  0 …………..(e3) x2  0 …………..(e4) (to p52) Feasible region for constraints e1 to e4 ………

Resource constraints Feasible region Imposing function Z And also x1  0, x2  0 2x1 + 4x2  16 4x1 + 3x2  24 Imposing inequalities Note, Min Z is at the most left Hand side of the Z function Imposing function Z (to p38)

Types of LP solutions Two types of LP solution: The solution – the unique solution Multiple solutions Question: Do all LP problems have a solution? (to p54) (to p55) (to p56)

The solution – unique solution It is referred to ….there is only one optimal solution Z has satisfying all LP formulation …. i.e. only one (corner) point from the feasible region (to p53)

Multiple solutions It refers to that we have more than one set of solutions satisfying to the LP formulation. That is, the optimal function Z lies onto one of resource constraints that forms the feasible region …… and that all points (x1,x2) on that region are optimal solutions to the LP problem For Max Z, all points between here are optimal solutions (to p53)

LP solutions LP solution does not exit if our LP problems are: Infeasible problems Unbound problems (to p57) (to p58) (to p1)

An Infeasible Problem Every possible solution violates at least one constraint: maximize Z = 5x1 + 3x2 subject to 4x1 + 2x2  8 x1  4 x2  6 x1, x2  0 Here, we cannot find a region that has satisfying all constraints, i.e. no feasible region! (to p56)

An Unbounded Problem Value of objective function increases indefinetly: maximize Z = 4x1 + 2x2 subject to x1  4 x2  2 x1, x2  0 Note: there is no bounded feasible region, thus it cannot find Max Z. But it has solution if Z is a Min problem! (Why?) (to p56)

(to p3) (to p17)

(to p30)