An Introduction to Linear Programming : Graphical and Computer Methods

Slides:



Advertisements
Similar presentations
Linear Programming Problem
Advertisements

Lesson 08 Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Linear Programming.
Planning with Linear Programming
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.
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
© 2008 Prentice-Hall, Inc. Chapter 7 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created.
19 Linear Programming CHAPTER
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.
Sensitivity analysis BSAD 30 Dave Novak
Chapter 2: Introduction to Linear Programming
Introduction to Management Science
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Introduction to Management Science
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Chapter 3 An Introduction to Linear Programming
3 Components for a Spreadsheet Linear Programming Problem There is one cell which can be identified as the Target or Set Cell, the single objective of.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
FORMULATION AND GRAPHIC METHOD
Graphical Solutions Plot all constraints including nonnegativity ones
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Linear Programming Models: Graphical and Computer Methods
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
Chapter 19 Linear Programming McGraw-Hill/Irwin
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.
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Managerial Decision Making and Problem Solving
Chapter 7 Introduction to Linear Programming
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Sensitivity analysis continued… BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12 th edition – some slides are directly.
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.
LINEAR PROGRAMMING.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
2-1 Modeling with Linear Programming Chapter Optimal Solution for New Objective Function Graphical Solution of Maximization Model (12 of 12) Maximize.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
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.
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.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
Decision Support Systems
An Introduction to Linear Programming Pertemuan 4
Chapter 2 An Introduction to Linear Programming
St. Edward’s University
Linear Programming Problem
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Presentation transcript:

An Introduction to Linear Programming : Graphical and Computer Methods Chapter 2 An Introduction to Linear Programming : Graphical and Computer Methods Professor Ahmadi

Learning Objectives Understand basic assumptions and properties of linear programming (LP) General LP notation LP formulation of the model A Maximization Problem Graphical solution A Minimization Problem Special Cases Formulating a Spreadsheet Model

Introduction Management decisions in many organizations involve trying to make most effective use of resources. Include machinery, labor, money, time, warehouse space, and raw materials. May be used to produce products - such as computers, automobiles, or clothing or Provide services - such as package delivery, health services, or investment decisions.

Mathematical Programming Mathematical programming is used for resource allocation problems. Linear programming (LP) is the most common type of mathematical programming. One assumes that all the relevant input data and parameters are known with certainty in models (deterministic models). Computers play an important role in the advancement and use of LP.

Development of a LP Model LP has been applied extensively to various problems areas - medical, transportation, operations, petroleum financial, marketing, accounting, human resources, agriculture, and others Development of all LP models can be examined in a three step process: (1) formulation (2) solution and (3) interpretation.

Properties of a LP Model All problems seek to maximize or minimize some quantity, usually profit or cost (called the objective function). LP models usually include restrictions, or constraints, that limit the degree to which one can pursue the objective. There must be alternative courses of action from which one can choose. The objective and constraints in LP problems must be expressed in terms of linear equations or inequalities.

Three Steps of Developing LP Problem Formulation. Process of translating problem scenario into a simple LP model framework with a set of mathematical relationships. Solution. Mathematical relationships resulting from the formulation process are solved to identify an optimal solution. Interpretation and What-if Analysis. Problem solver or analyst works with manager to Interpret results and implications of problem solution. Investigate changes in input parameters and model variables and impact on problem solution results.

Basic Assumptions of a LP Model Conditions of certainty exist. Proportionality in the objective function and constraints (1 unit – 3 hours, 3 units 9 hours). Additivity (the total of all activities equals the sum of the individual activities). Divisibility assumption that solutions need not necessarily be in whole numbers (integers).

Linear Equations and Inequalities This is a linear equation: 2X1 + 15X2 = 10 This equation is not linear: 5X+4X2 + 15X3 = 100 LP uses, in many cases, inequalities like: X1 + X2  C or X1 + X2  C

LP Solutions The maximization or minimization of some quantity is the objective in all linear programming problems. A feasible solution satisfies all the problem's constraints. Changes to the objective function coefficients do not affect the feasibility of the problem. An optimal solution is a feasible solution that results in the largest possible objective function value, z, when maximizing or smallest z when minimizing.

LP Solutions A feasible region may be unbounded and yet there may be optimal solutions. This is common in minimization problems and is possible in maximization problems. The feasible region for a two-variable linear programming problem can be a single point, a line, a polygon, or an unbounded area. Any linear program falls in one of three categories: is infeasible has a unique optimal solution or alternate optimal solutions has an objective function that can be increased without bound (Unbounded)

LP Solutions A graphical solution method can be used to solve a linear program with two variables. If a linear program possesses an optimal solution, then an extreme point will be optimal. If a constraint can be removed without affecting the shape of the feasible region, the constraint is said to be redundant. A non-binding constraint is one in which there is positive slack or surplus when evaluated at the optimal solution. A linear program which is over-constrained so that no point satisfies all the constraints is said to be infeasible.

Guidelines for Model Formulation Understand the problem thoroughly. Write a verbal statement of the objective function and each constraint. Define the decision variables. Write the objective function in terms of the decision variables. Write the constraints in terms of the decision variables.

A Simple Maximization Problem Olympic Bike is introducing two new lightweight bicycle frames, the Deluxe and the Professional, to be made from special aluminum and steel alloys. The anticipated unit profits are $10 for the Deluxe and $15 for the Professional. The number of pounds of each alloy needed per frame is summarized below. A supplier delivers 100 pounds of the aluminum alloy and 80 pounds of the steel alloy weekly. How many Deluxe and Professional frames should Olympic produce each week? Aluminum Alloy Steel Alloy Deluxe 2 3 Professional 4 2

Max. Example: Olympic Bike Co. Model Formulation Verbal Statement of the Objective Function Maximize total weekly profit. Verbal Statement of the Constraints Total weekly usage of aluminum alloy < 100 pounds. Total weekly usage of steel alloy < 80 pounds. Definition of the Decision Variables x1 = number of Deluxe frames produced weekly. x2 = number of Professional frames produced weekly.

Max. Example: Olympic Bike Co. Model Formulation (Continued) Max 10x1 + 15x2 (Total Weekly Profit) s.t. 2x1 + 4x2 < 100 (Aluminum Available) 3x1 + 2x2 < 80 (Steel Available) x1, x2 > 0 (Non-negativity)

Max. Example: Olympic Bike Co. Graphical Solution Procedure x2 3x1 + 2x2 < 80 (Steel) 40 35 Optimal x1 = 15, x2 = 17 1/2, z = $ 412.50 30 2x1 + 4x2 < 100 (aluminum) 25 20 MAX 10x1 + 15x2 15 10 5 x1 5 10 15 20 25 30 35 40 45 50

Slack and Surplus Variables A linear program in which all the variables are non-negative and all the constraints are equalities is said to be in standard form. Standard form is attained by adding slack variables to "less than or equal to" constraints, and by subtracting surplus variables from "greater than or equal to" constraints. Slack and surplus variables represent the difference between the left and right sides of the constraints. Slack and surplus variables have objective function coefficients equal to 0.

A Simple Minimization Problem Solve graphically for the optimal solution: Min z = 5x1 + 15x2 s.t. x1 + x2 > 500 x1 < 400 x2 > 200 x1, x2 > 0

Special Cases Alternative Optimal Solutions Infeasible Solutions Unbounded Problem

Alternative Optimal Solutions In the graphical method, if the objective function line is parallel to a boundary constraint in the direction of optimization, there are alternate optimal solutions, with all points on this line segment being optimal. Example: Max z = 8x1 + 6x2 s.t. 4x1 + 3x2 < 12 9x1 + 12 x2 < 36 x1, x2 > 0

Example: Alternative Optimal Solutions There are numerous optimal points. The objective function (8x1 + 6x2) is parallel to the first constraint. x2 4x1 + 3x2 < 12 4 9x1 + 12 x2 < 36 3 Objective function x1 3 4

Example: Infeasible Problem Solve graphically for the optimal solution: Max z = 2x1 + 6x2 s.t. 4x1 + 3x2 < 12 2x1 + x2 > 8 x1, x2 > 0

Example: Infeasible Problem There are no points that satisfy both constraints, hence this problem has no feasible region, and no optimal solution. x2 8 4x1 + 3x2 < 12 2x1 + x2 > 8 4 x1 3 4

Example: Unbounded Problem Solve graphically for the optimal solution: Max z = 3x1 + 4x2 s.t. x1 + x2 > 5 3x1 + x2 > 8 x1, x2 > 0

Example: Unbounded Problem The feasible region is unbounded and the objective function line can be moved parallel to itself without bound so that z can be increased infinitely. x2 3x1 + x2 > 8 8 x1 + x2 > 5 5 Max 3x1 + 4x2 x1 2.67 5

Using Excel for solving LP problems Use “Solver” in Excel and solve the LP problems given previously. Tools/Solver End of chapter 2