1 Additional examples LP Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the.

Slides:



Advertisements
Similar presentations
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Advertisements

1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
LINEAR PROGRAMMING (LP)
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Linear Programming.
Chapter 2: Modeling with Linear Programming & sensitivity analysis
OPS 301 Module B and Additional Topics in Linear Programming
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Linear and Integer Programming Models
Linear Programming Models: Graphical Methods
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Linear Programming Introduction George B Dantzig developed LP in It is a problem solving approach designed to help managers/decision makers in planning.
B Linear Programming PowerPoint presentation to accompany
© 2006 Prentice Hall, Inc.B – 1 Operations Management Module B – Linear Programming © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany Heizer/Render.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Linear Programming Solution Techniques: Graphical and Computer Methods
Operations Management
Linear Programming Introduction. linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject.
Introduction to Management Science
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Linear Programming OPIM 310-Lecture 2 Instructor: Jose Cruz.
Introduction to Management Science
Linear Programming: Model Formulation and Graphical Solution
LINEAR PROGRAMMING SOLUTION TECHNIQUES: GRAPHICAL AND COMPUTER METHODS
Linear Programming Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
Chapter 3 Introduction to optimization models. Linear Programming The PCTech company makes and sells two models for computers, Basic and XP. Profits for.
FORMULATION AND GRAPHIC METHOD
Linear Programming.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
3.4 Linear Programming.
Linear Programming Chapter 13 Supplement.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
Linear and Integer Programming Models 1 Chapter 2.
Operations Management
B Linear Programming PowerPoint presentation to accompany
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
Management Science – MNG221 Linear Programming: Graphical Solution.
1 Linear and Integer Programming Models Chapter 2.
CDAE Class 12 Oct. 5 Last class: Quiz 3 3. Linear programming and applications Today: Result of Quiz 3 3. Linear programming and applications Next.
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.
CDAE Class 13 Oct. 10 Last class: Result of Quiz 3 3. Linear programming and applications Class exercise 5 Today: 3. Linear programming and applications.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
1 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the.
CDAE Class 12 Oct. 4 Last class: 2. Review of economic and business concepts Today: 3. Linear programming and applications Quiz 3 (sections 2.5 and.
LINEAR PROGRAMMING.
© 2008 Prentice Hall, Inc.B – 1 Operations Management Module B – Linear Programming PowerPoint presentation to accompany Heizer/Render Principles of Operations.
Adeyl Khan, Faculty, BBA, NSU 1 Introduction to Linear Programming  A Linear Programming model seeks to maximize or minimize a linear function, subject.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Supplement S9 Linear Programming.
CDAE Class 15 Oct. 16 Last class: Result of group project 1 3. Linear programming and applications Class Exercise 7 Today: 3. Linear programming.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
Operations Research.  Operations Research (OR) aims to having the optimization solution for some administrative problems, such as transportation, decision-making,
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
1 Linear Programming 2 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
Linear Programming Introduction.
Optimization Theory Linear Programming
Linear Programming Introduction.
Linear Programming.
Presentation transcript:

1 Additional examples LP

Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the linear function Z. Z = c 1 X 1 + c 2 X 2 + c 3 X 3 + ………+ c n X n …..Eq (1) subject to the following constraints: …..Eq (2)

Formulating LP Problems X-podsBlueBerrysAvailable Hours Department(X 1 )(X 2 )This Week Hours Required to Produce 1 Unit Electronic43240 Assembly21100 Profit per unit$7$5 Decision Variables: X 1 = number of X-pods to be produced X 2 = number of BlueBerrys to be produced Table B.1

Formulating LP Problems Objective Function: Maximize Profit = $7X 1 + $5X 2 There are three types of constraints  Upper limits where the amount used is ≤ the amount of a resource  Lower limits where the amount used is ≥ the amount of the resource  Equalities where the amount used is = the amount of the resource

Formulating LP Problems Second Constraint: 2X 1 + 1X 2 ≤ 100 (hours of assembly time) Assembly time available Assembly time used is ≤ First Constraint: 4X 1 + 3X 2 ≤ 240 (hours of electronic time) Electronic time available Electronic time used is ≤

Graphical Solution  Can be used when there are two decision variables 1.Plot the constraint equations at their limits by converting each equation to an equality 2.Identify the feasible solution space 3.Create an iso-profit line based on the objective function 4.Move this line outwards until the optimal point is identified

Graphical Solution 100– – – – – – – – – – ||||||||||| Number of BlueBerrys Number of X-pods X1X1X1X1 X2X2X2X2 Assembly (constraint B) Electronics (constraint A) Feasible region Figure B.3

Graphical Solution 100– – – – – – – – – – ||||||||||| Number of Watch TVs Number of X-pods X1X1X1X1 X2X2X2X2 Assembly (constraint B) Electronics (constraint A) Feasible region Figure B.3 Iso-Profit Line Solution Method Choose a possible value for the objective function $210 = 7X 1 + 5X 2 Solve for the axis intercepts of the function and plot the line X 2 = 42 X 1 = 30

Graphical Solution 100– – – – – – – – – – ||||||||||| Number of BlueBerrys Number of X-pods X1X1X1X1 X2X2X2X2 Figure B.4 (0, 42) (30, 0) $210 = $7X 1 + $5X 2

Graphical Solution 100– – – – – – – – – – ||||||||||| Number of BlueBeryys Number of X-pods X1X1X1X1 X2X2X2X2 Figure B.5 $210 = $7X 1 + $5X 2 $350 = $7X 1 + $5X 2 $420 = $7X 1 + $5X 2 $280 = $7X 1 + $5X 2

Graphical Solution 100– – – – – – – – – – ||||||||||| Number of BlueBerrys Number of X-pods X1X1X1X1 X2X2X2X2 Figure B.6 $410 = $7X 1 + $5X 2 Maximum profit line Optimal solution point (X 1 = 30, X 2 = 40)

Corner-Point Method Figure B – – – – – – – – – – ||||||||||| Number of BlueBerrys Number of X-pods X1X1X1X1 X2X2X2X2 4

Corner-Point Method  The optimal value will always be at a corner point  Find the objective function value at each corner point and choose the one with the highest profit Point 1 :(X 1 = 0, X 2 = 0)Profit $7(0) + $5(0) = $0 Point 2 :(X 1 = 0, X 2 = 80)Profit $7(0) + $5(80) = $400 Point 4 :(X 1 = 50, X 2 = 0)Profit $7(50) + $5(0) = $350

Corner-Point Method  The optimal value will always be at a corner point  Find the objective function value at each corner point and choose the one with the highest profit Point 1 :(X 1 = 0, X 2 = 0)Profit $7(0) + $5(0) = $0 Point 2 :(X 1 = 0, X 2 = 80)Profit $7(0) + $5(80) = $400 Point 4 :(X 1 = 50, X 2 = 0)Profit $7(50) + $5(0) = $350 Solve for the intersection of two constraints 2X 1 + 1X 2 ≤ 100 (assembly time) 4X 1 + 3X 2 ≤ 240 (electronics time) 4X 1 +3X 2 = X 1 -2X 2 = X 2 =40 4X 1 +3(40)=240 4X =240 X 1 =30

Corner-Point Method  The optimal value will always be at a corner point  Find the objective function value at each corner point and choose the one with the highest profit Point 1 :(X 1 = 0, X 2 = 0)Profit $7(0) + $5(0) = $0 Point 2 :(X 1 = 0, X 2 = 80)Profit $7(0) + $5(80) = $400 Point 4 :(X 1 = 50, X 2 = 0)Profit $7(50) + $5(0) = $350 Point 3 :(X 1 = 30, X 2 = 40)Profit $7(30) + $5(40) = $410

16 The Galaxy Industries Production Problem – A Prototype Example Galaxy manufactures two toy doll models: –Space Ray. –Zapper. Resources are limited to –1000 pounds of special plastic. –40 hours of production time per week.

17 Marketing requirement –Total production cannot exceed 700 dozens. –Number of dozens of Space Rays cannot exceed number of dozens of Zappers by more than 350. Technological input –Space Rays requires 2 pounds of plastic and 3 minutes of labor per dozen. – Zappers requires 1 pound of plastic and 4 minutes of labor per dozen. The Galaxy Industries Production Problem – A Prototype Example

18 The current production plan calls for: –Producing as much as possible of the more profitable product, Space Ray ($8 profit per dozen). –Use resources left over to produce Zappers ($5 profit per dozen), while remaining within the marketing guidelines. The current production plan consists of: Space Rays = 450 dozen Zapper = 100 dozen Profit = $4100 per week The Galaxy Industries Production Problem – A Prototype Example 8(450) + 5(100)

19 Management is seeking a production schedule that will increase the company’s profit.

20 A linear programming model can provide an insight and an intelligent solution to this problem.

21 :Decisions variables: –X 1 = Weekly production level of Space Rays (in dozens) –X 2 = Weekly production level of Zappers (in dozens). Objective Function: – Weekly profit, to be maximized The Galaxy Linear Programming Model

22 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1 - X 2  350 (Mix) X j > = 0, j = 1,2 (Nonnegativity) The Galaxy Linear Programming Model

23 Using a graphical presentation we can represent all the constraints, the objective function, and the three types of feasible points.

24 The non-negativity constraints X2X2 X1X1 Graphical Analysis – the Feasible Region

Feasible X2X2 Infeasible Production Time 3X 1 +4X 2  2400 Total production constraint: X 1 +X 2  700 (redundant) The Plastic constraint 2X 1 +X 2  1000 X1X1 700 Graphical Analysis – the Feasible Region

Feasible X2X2 Infeasible Production Time 3X 1 +4X2  2400 Total production constraint: X 1 +X 2  700 (redundant) Production mix constraint: X 1 -X2  350 The Plastic constraint 2X 1 +X 2  1000 X1X1 700 Graphical Analysis – the Feasible Region There are three types of feasible points Interior points. Boundary points.Extreme points.

27 Solving Graphically for an Optimal Solution

28 The search for an optimal solution Start at some arbitrary profit, say profit = $2, Then increase the profit, if possible......and continue until it becomes infeasible Profit =$ X2X2 X1X1

29 Summary of the optimal solution Summary of the optimal solution Space Rays = 320 dozen Zappers = 360 dozen Profit = $4360 –This solution utilizes all the plastic and all the production hours. –Total production is only 680 (not 700). –Space Rays production exceeds Zappers production by only 40 dozens.

30 –If a linear programming problem has an optimal solution, an extreme point is optimal. Extreme points and optimal solutions

31 For multiple optimal solutions to exist, the objective function must be parallel to one of the constraints Multiple optimal solutions Any weighted average of optimal solutions is also an optimal solution.

Copyright 2006 John Wiley & Sons, Inc.Supplement Minimization Problem CHEMICAL CONTRIBUTION BrandNitrogen (lb/bag)Phosphate (lb/bag) Gro-plus24 Crop-fast43 Minimize Z = $6x 1 + $3x 2 subject to 2x 1 +4x 2  16 lb of nitrogen 4x 1 +3x 2  24 lb of phosphate x 1, x 2  0

Copyright 2006 John Wiley & Sons, Inc.Supplement – – – 8 8 – 6 6 – 4 4 – 2 2 – 0 0 – |22|222 |44|444 |66|666 |88|888 | x1x1x1x1 x2x2x2x2 A B C Graphical Solution x 1 = 0 bags of Gro-plus x 2 = 8 bags of Crop-fast Z = $24 Z = 6x 1 + 3x 2

Dual problem (2 vars primal) 34