Lesson 08 Linear Programming

Slides:



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

Linear Programming Problem
Chapter 19 – Linear Programming
Introduction to Mathematical Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Linear Programming Problem
Linear Programming Models & Case Studies
Session II – Introduction to Linear Programming
Chapter 2: Modeling with Linear Programming & sensitivity analysis
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
Chapter 5 Linear Inequalities and Linear Programming
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Managerial Decision Modeling with Spreadsheets
19 Linear Programming CHAPTER
Operation Research Chapter 3 Simplex Method.
Operations Management
An Introduction to Linear Programming : Graphical and Computer Methods
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
6s-1Linear Programming CHAPTER 6s Linear Programming.
To Accompany Krajewski & Ritzman Operations Management: Strategy and Analysis, Seventh Edition © 2004 Prentice Hall, Inc. All rights reserved. Linear Programming.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Chapter 3 An Introduction to Linear Programming
Chapter 10. Resource Allocation
FORMULATION AND GRAPHIC METHOD
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
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,
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.6 Linear Programming.
Chapter 6 Supplement Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
© 2008 Prentice-Hall, Inc. Linear Programming Models: Graphical and Computer Methods.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
Supply Chain Management By Dr. Asif Mahmood Chapter 9: Aggregate Planning.
Linear Programming for Solving the DSS Problems
Linear Programming.
Engineering Economics (2+0)
Chapter 2 An Introduction to Linear Programming
Chapter 5 Linear Inequalities and Linear Programming
Chapter 19 – Linear Programming
MBA 651 Quantitative Methods for Decision Making
Constraint management
Linear Programming Problem
Linear Programming.
Presentation transcript:

Lesson 08 Linear Programming A mathematical approach to determine optimal (maximum or minimum) solutions to problems which involve restrictions on the variables involved.

Linear Programming Applications Linear programming (LP) has been used to: . establish locations for emergency equipment and personnel that minimize response time . determine optimal schedules for planes . develop financial plans . determine optimal diet plans and animal feed mixes . determine the best set of worker-job assignments . determine optimal production schedules . determine routes that will yield minimum shipping costs . determine most profitable product mix

POM Applications Aggregate planning Production, Staffing Distribution Shipping Inventory Stock control, Supplier selection Location Plants or warehouses Process management Stock cutting Scheduling Shifts, Vehicles, Routing

do I make to maximize/minimize company profits/costs? The Basic LP Question A computer manufacturer makes two models of computers Type 1, and Type 2. The computers use many of the same components, made in the same factory by the same people and are stored in the same warehouse. How many of each type do I make to maximize/minimize company profits/costs? Type 1 Type 2

What Constrains What We Make? Materials Labor Time Cash Storage Space Shipping Customer Requirements Etc. What Limits Us?

Components of Linear Programming Objective (e.g. maximize profits, minimize costs, etc.) Decision variables - those that can vary across a range of possibilities Constraints - limitations for the decision variables Parameters - the numerical values for the decision variables Assumptions for an LP model . linearity - the impact of the decision variables is linear in both constraints and objective function . divisibility - non-integer values for decision variables are OK . certainty - values of parameters are known and are constant . Non-negativity - decision variables >= 0

Linear Programming Formulation Maximize Decision Variables……………... Objective Function (maximize profit)………………… Subject To Labor Constraint …………………………….. Material Constraint…………………………… Product 1 Constraint…………………………. Non-negativity Constraint…………………… 2x + 4 x + 8 x £ 250 1 2 3 7x + 6 x + 5 x £ 100 1 2 3 x £ 10 1 x , x , x ³ 1 2 3

Linear Programming Formulation Relationships must be stated in terms of a relationship to a bound. Suppose you have a ratio relationship as follows. Mathematically simplifying this equation yields and equivalent equation. This simplified equation is more useful in the development of the linear programming optimal solution. Constraint Equation Relationship Bound

Graphical Linear Programming When two decision variables (X1 and X2) are in the LP formulation, Graphical Linear Programming can be used to solve for the optimum values; however, when more than two decision variables are in the LP formulation, the graphical interpretation of the solution gets confusing and a computerized solution is required. To understand the concepts of Linear Programming it is often educational to familiarize one’s self with the concepts of Graphical Linear Programming solutions. To this end we will consider the following example.

Graphical Linear Programming - Example Example: A computer manufacturer makes two models of computers Type 1, and Type 2. The company resources available are also known. The marketing department indicates that it can sell what ever the company produces of either model. Find the quantity of Type 1 and Type 2 that will maximize company profits. The information available to the operations manager is summarized in the following table. First we must formulate the Linear Programming Problem.

Graphical Linear Programming - Example Decision Variables Objective Function (maximize profit) Subject To Assembly Time Constraint Inspection Time Constraint Storage Space Constraint Non-negativity Constraint

Graphical Linear Programming - Example Next, we must plot each constraint (substituting the relationship with an equality sign). First plot the Assembly Time Constraint. The equation for this line can be plotted easily by solving the equation for the decision variable value when the other decision variable is 0. This gives the point where the line crosses each axis.

Assembly Time Constraint Feasible Region for Assembly Time – any point in this region will satisfy the Assembly Constraint Equation

Graphical Linear Programming - Example Next plot the Inspection Time Constraint. The equation for this line can be plotted easily by solving the equation for the decision variable value when the other decision variable is 0. This gives the point where the line crosses each axis.

Inspection Time Constraint Feasible Region for Inspection Time – any point in this region will satisfy the Inspection Constraint Equation

Assembly & Inspection Time Constraints Feasible Region for Assembly & Inspection Time – any point in this region will satisfy the both constraints

Graphical Linear Programming - Example Next plot the Storage Space Constraint. The equation for this line can be plotted easily by solving the equation for the decision variable value when the other decision variable is 0. This gives the point where the line crosses each axis.

Storage Space Constraint Feasible Region for Storage Space – any point in this region will satisfy the Storage Constraint Equation

Assembly, Inspection & Storage Constraints Feasible Region for Assembly, Inspection & Storage – any point in this region will satisfy all three constraints. Optimum Profit (maximum) – is at one of the corner points of the feasible region. In this case, it is at the intersection of Storage & Inspection

Graphical Linear Programming - Example By solving the simultaneous equations for Inspection and Storage we obtain the optimum solution quantities for the decision variables. Multiply top equation by -3 Subtract the equations Therefore, the optimum (maximum) profit is obtained when 9 Type 1 and 4 Type 2 computers are produced. Substitute in one of the equations

Graphical Linear Programming - Example Now that we have found optimal solution quantities for Type 1 and Type 2 Computers, the optimal profit is The amount of assembly time, inspection time, and storage space used at these optimum quantities are Assembly Inspection Storage Slack Binding

Graphical Minimization Solutions The previous example involved a Graphical Maximization Solution. Graphical Minimization Solutions are similar to that of maximization with the exception that one of the constraints must be = or >=. This causes the feasible solution space to be away from the origin. The other difference is that the optimal point is the one nearest the origin. We will not be doing any graphical minimization problems.

Other Linear Programming Terms Redundant Constraint - one which does not form a unique boundary of the feasible solution space. Feasible Solution Space - a polygon. Optimal solution - a point or line segment on the feasible solution space. The optimal solution is always at one of the corner points of the polygon. In the case that the optimal solution is a line segment of the polygon, any point on the line segment will yield the same optimum solution.

Other Linear Programming Terms Binding Constraint - one which forms the optimal corner point of the feasible solution space. Surplus - when the values of decision variables are substituted into a >= constraint equation and the resulting value exceeds the right side of the equation. Slack - when the values of decision variables are substituted into a <= constraint equation and the resulting value is less than the right side of the equation.

Graphical Linear Programming - Maximize Only

Enter the data according to the linear programming formulation: Enter the data according to the linear programming formulation: Product Names Objective function coefficients Constraints

All of the constraint equations are plotted on the graph.

The optimal solution is automatically calculated showing the maximum value of the objective function and the quantities of each product that should be made to achieve it.. For this example: the maximum profit is achieved when 9 Type 1 and 4 Type 2’s are manufactured.

Constraint utilization and slack/surplus is automatically calculated.

Selecting the appropriate intersecting constraints shows the quantity points on the polygon where the objective function maximum is achieved.

EXCEL Solver LP - Example Example: A computer manufacturer makes two models of computers Type 1, and Type 2. The company resources available are also known. The marketing department indicates that it can sell what ever the company produces of either model. Find the quantity of Type 1 and Type 2 that will maximize company profits. The information available to the operations manager is summarized in the following table.

Maximize Linear Programming Excel Solver

Step 1: Enter LP formulation

Step 2: Tools, Solver

Step 3: Solve

Step 4: OK

Quantities of each product that yield the maximum objective. The solution! Objective function maximum. Constraint utilization and Slack/Suprlus

Minimize Linear Programming Excel Solver The minimize LP looks exactly like the maximize LP. It functions exactly the same way and is used when the problem requires a optimum minimum solution.

Linear Programming Formulation Minimize Decision Variables……………... Objective Function (minimize cost)………………… Subject To Constraints are stated in greater than or equal to terms rather than less than or equal to terms. 2x x 250 1 2 3 + ³ 4 8

EXCEL Solver LP Templates Read and understand all material in the chapter. Discussion and Review Questions Recreate and understand all classroom examples Exercises on chapter web page

Appendix: EXCEL Solver Details If you ever have to do your own solver, the following slides detail the steps in Excel you should follow.