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 1 n X n <= b 1 : a k 1 X 1 + a k.

Slides:



Advertisements
Similar presentations
3.4 Linear Programming 10/31/2008. Optimization: finding the solution that is either a minimum or maximum.
Advertisements

© 2003 Anita Lee-Post Linear Programming Part 2 By Anita Lee-Post.
Linear Programming Problem
Linear Programming Graphical Solution Procedure. Two Variable Linear Programs When a linear programming model consists of only two variables, a graphical.
Ch 3 Introduction to Linear Programming By Kanchala Sudtachat.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Linear Programming Models: Graphical Methods
8/27: Linear Programming Lecture: LP Small Groups Homework.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Modeling with Linear Programming and Graphical Solution
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Linear Programming Unit 2, Lesson 4 10/13.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 6 th edition Cliff T. Ragsdale © 2011 Cengage Learning. All Rights.
Linear Programming Special Cases Alternate Optimal Solutions No Feasible Solution Unbounded Solutions.
Chapter 2: Introduction to Linear Programming
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
Spreadsheet Modeling & Decision Analysis:
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.
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
Graphical Solutions Plot all constraints including nonnegativity ones
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Linear Programming Models: Graphical and Computer Methods
1-1 Introduction to Optimization and Linear Programming Chapter 1.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
3.4 Linear Programming.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
ISE 195 Introduction to Industrial Engineering. Lecture 3 Mathematical Optimization (Topics in ISE 470 Deterministic Operations Research Models)
Special Conditions in LP Models (sambungan BAB 1)
Readings Readings Chapter 3
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.
Spreadsheet Modeling & Decision Analysis:
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
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.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin
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 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.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
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.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Lecture 8 Integer Linear Programming
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
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
Linear Programming. What is linear programming? Use a system of constraints (inequalities) to find the vertices of the feasible region (overlapping shaded.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
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.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Spreadsheet Modeling & Decision Analysis:
An Introduction to Linear Programming
Chapter 2 An Introduction to Linear Programming
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Introduction to Optimization and Linear Programming (LP)
Spreadsheet Modeling & Decision Analysis
Graphical Solution Procedure
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
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.
Spreadsheet Modeling & Decision Analysis:
Presentation transcript:

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 1 n X n <= b 1 : a k 1 X 1 + a k 2 X 2 + … + a kn X n >=b k : a m 1 X 1 + a m 2 X 2 + … + a mn X n = b m © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

An Example LP Problem Blue Ridge Hot Tubs produces two types of hot tubs: Aqua-Spas & Hydro-Luxes. There are 200 pumps, 1566 hours of labor, and 2880 feet of tubing available. Aqua-SpaHydro-Lux Pumps11 Labor 9 hours6 hours Tubing12 feet16 feet Unit Profit$350$300 © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

5 Steps In Formulating LP Models: X 1 =number of Aqua-Spas to produce X 2 =number of Hydro-Luxes to produce. MAX: 350X X 2 1X 1 + 1X 2 <= 200} pumps 9X 1 + 6X 2 <= 1566} labor 12X X 2 <= 2880} tubing X 1 >= 0 X 2 >= 0 © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Solving LP Problems: An Intuitive Approach  Idea: Each Aqua-Spa (X 1 ) generates the highest unit profit ($350), so let’s make as many of them as possible!  How many would that be? –Let X 2 = 0  1st constraint:1X 1 <= 200  2nd constraint:9X 1 <=1566 or X 1 <=174  3rd constraint:12X 1 <= 2880 or X 1 <= 240  If X 2 =0, the maximum value of X 1 is 174 and the total profit is $350*174 + $300*0 = $60,900  This solution is feasible, but is it optimal?  No! © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Solving LP Problems: A Graphical Approach  The constraints of an LP problem defines its feasible region.  The best point in the feasible region is the optimal solution to the problem.  For LP problems with 2 variables, it is easy to plot the feasible region and find the optimal solution. © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

X2X2 X1X (0, 200) (200, 0) boundary line of pump constraint X 1 + X 2 = 200 Plotting the First Constraint © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

X2X2 X1X (0, 261) (174, 0) boundary line of labor constraint 9X 1 + 6X 2 = 1566 Plotting the Second Constraint © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

X2X2 X1X (0, 180) (240, 0) boundary line of tubing constraint 12X X 2 = 2880 Feasible Region Plotting the Third Constraint © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

X2X2 Plotting A Level Curve of the Objective Function X1X (0, ) (100, 0) objective function 350X X 2 = © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

A Second Level Curve of the Objective Function X2X2 X1X (0, 175) (150, 0) objective function 350X X 2 = objective function 350X X 2 = © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Using A Level Curve to Locate the Optimal Solution X2X2 X1X objective function 350X X 2 = objective function 350X X 2 = optimal solution © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Calculating the Optimal Solution  The optimal solution occurs where the “pumps” and “labor” constraints intersect.  This occurs where: X 1 + X 2 = 200 (1) and 9X 1 + 6X 2 = 1566(2)  From (1) we have, X 2 = 200 -X 1 (3)  Substituting (3) for X 2 in (2) we have, 9X (200 -X 1 ) = 1566 which reduces to X 1 = 122  So the optimal solution is, X 1 =122, X 2 =200-X 1 =78 Total Profit = $350*122 + $300*78 = $66,100 © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Understanding How Things Change See file Fig2-8.xlsmFig2-8.xlsm © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Special Conditions in LP Models  A number of anomalies can occur in LP problems: –Alternate Optimal Solutions –Redundant Constraints –Unbounded Solutions –Infeasibility © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Example of Alternate Optimal Solutions X2X2 X1X X X 2 = objective function level curve alternate optimal solutions © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Example of a Redundant Constraint X2X2 X1X boundary line of tubing constraint Feasible Region boundary line of pump constraint X1+X2 <= 220 boundary line of labor constraint © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Example of an Unbounded Solution X2X2 X1X X 1 + X 2 = 400 X 1 + X 2 = 600 objective function X 1 + X 2 = 800 objective function -X 1 + 2X 2 = 400 © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Example of Infeasibility X2X2 X1X X 1 + X 2 = 200 X 1 + X 2 = 150 feasible region for second constraint feasible region for first constraint © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.