Linear Programming II HSPM J716. Crawling along the simplex The simplex method moves from one corner to the next until the amount to be maximized stops.

Slides:



Advertisements
Similar presentations
PowerPoint Slides by Robert F. BrookerCopyright (c) 2001 by Harcourt, Inc. All rights reserved. Linear Programming Mathematical Technique for Solving Constrained.
Advertisements

Max output (Q) subject to a cost constraint
1 © 2006 by Nelson, a division of Thomson Canada Limited Slides developed by: William Rentz & Al Kahl University of Ottawa Web Appendix 4A Production Decisions.
Session II – Introduction to Linear Programming
Linear Programming (graphical + simplex with duality) Based on Linear optimization in application by Sui lan Tang. Linear Programme (LP) for Optimization.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Postscript on assignment 8 One E.R. faster than two separate ones Emergency Dept.
Operations Management Dr. Ron Lembke
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.
Linear Programming II HSPM J716. Crawling along the simplex The simplex method moves from one corner to the next until the amount to be maximized stops.
Linear Programming Intro HSPM J716. Linear Programming Optimization under constraint Linear constraints and objective function.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
Linear Programming: Fundamentals
1 Linear Programming Jeff Edmonds York University COSC 3101 Lecture 5 Def and Hot Dog Example Network Flow Def nNetwork Flow Def n Matrix View of Linear.
Chapter 4 The Simplex Method
Linear-Programming Applications
Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University.
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.
Linear Programming.
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
Linear Programming Chapter 13 Supplement.
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
Spreadsheet Modeling & Decision Analysis:
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 6 Supplement Linear Programming.
Introduction to Operations Research
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming Sensitivity Analysis.
LP: Summary thus far Requirements Graphical solutions Excel Sensitivity Analysis.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
PowerPoint Slides by Robert F. BrookerHarcourt, Inc. items and derived items copyright © 2001 by Harcourt, Inc. Managerial Economics in a Global Economy.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Linear Programming Models: Graphical and Computer Methods
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
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 Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Linear Programming II. George Dantzig 1947 Narendra Karmarkar Pioneers of LP.
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
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.
Introduction to Linear Programming Romil Jain. The Nutrition Problem Each fruit contains different nutrients Each fruit has different cost An apple a.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming for Solving the DSS Problems
Micro Economics in a Global Economy
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Graphical Analysis – the Feasible Region
Managerial Economics in a Global Economy
MON TUE WED THU
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Sun Mon Tue Wed Thu Fri Sat
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Sun Mon Tue Wed Thu Fri Sat
1/○~1/○ weekly schedule MON TUE WED THU FRI SAT SUN MEMO
2016 | 10 OCT SUN MON TUE WED THU FRI SAT
Sun Mon Tue Wed Thu Fri Sat
Linear Programming.
Presentation transcript:

Linear Programming II HSPM J716

Crawling along the simplex The simplex method moves from one corner to the next until the amount to be maximized stops rising.

Learning Objectives Competencies for linear programming Competency 1: Recognize problems that linear programming can handle: Linear programming lets you optimize an objective function subject to some constraints. The objective function and constraints are all linear.

Linear Programming Competencies Competency 2: Know the elements of a linear programming problem: an objective function that shows the cost or profit depending on what choices you make, constraint inequalities that show the limits of what you can do, and non-negativity restrictions, because you cannot turn outputs back into inputs.

Linear Programming Competencies Competency 2: Know the elements of a linear programming problem: an objective function that shows the cost or profit depending on what choices you make, constraint inequalities that show the limits of what you can do, and non-negativity restrictions, because you cannot turn outputs back into inputs.

Linear Programming Competencies Competency 3: Understand the principles that the computer uses to solve a linear programming problem. The computer uses the simplex method to systematically move along the edges of the feasible area (the simplex). It goes from one corner to the next and stops when the objective function stops getting better.

Linear Programming Competencies Competency 3: Understand the principles that the computer uses to solve a linear programming problem. The computer uses the simplex method to systematically move along the edges of the feasible area (the simplex). It goes from one corner to the next and stops when the objective function stops getting better.

Linear Programming Competencies Competency 4a: What linear programming problems have no solution? Those that have no feasible area. This means it's impossible to satisfy all the constraints at once.

Linear Programming Competencies Competency 4b: What difference does linearity make? If the constraints are not linear, the feasible area has curved edges. The simplex method doesn't work because you can't be sure that the solution is at a corner. The solution may be in the middle of a curved edge. If the objective function is not linear, the solution may not even be on an edge. It may be in the interior of the feasible area.

Minimization problem Animals need: – 14 units of nutrient A, – 12 units of nutrient B, and – 18 units of nutrient C. A bag of X has 2 units of A, 1 unit of B, and 1 unit of C. A bag of Y has 1 unit of A, 1 unit of B, and 3 units of C. A bag of X costs $2. A bag of Y costs $4.

Minimization problem Constraints: 2X + 1Y >= 14 nutrient A requirement 1X + 1Y >= 12 nutrient B requirement 1X + 3Y >= 18 nutrient C requirement – Read vertically to see how much of each nutrient is in each grain. Cost = 2X + 4Y – objective function to be minimized

Minimization problem

Linear Programming Competencies Competency 5: Be able to solve small linear programming problems yourself. The tricky part is setting up the objective function and the constraints. Write them on paper. Then set up your spreadsheet and solve. Then comes the other tricky part – coaxing Excel to work!

Rear Admiral Grace Hopper Navy Reserve Lt.(J.G.) 1943 (age 36) 3 rd programmer of Mark I computer at Harvard Invented the compiler “Mother” of COBOL First female Admiral

Bug in Mark II (1947)

Linear Programming Competencies Competency 6: Understand shadow prices. Shadow Prices are what-it’s-worth-to-you-for- another-unit-of-input prices. Other names for shadow prices: Lagrange Multiplier (if you don’t check Assume Linear Model) Opportunity Cost (other spreadsheets use this) Reduced Cost (if you check Assume Linear Model) Reduced Gradient (if you don’t)

Shadow prices for nutrient example

Multiple optima if Iso-cost line and constraint are parallel

Mixed constraints if constraint is D9 >= E9 Shadow prices are below

Mixed constraints if constraint is B2 >= 5 its shadow price is “Reduced Cost”

Primal and Dual PrimalDual

Primal and Dual Solutions Primal Dual

Applications -- steps Identify the activities Specify the constraints Specify the objective function Solve! Get Sensitivity Report Get results from spreadsheet Get shadow prices from Sensitivity Report

Scheduling Application DayNeed for Staff Mon180 Tue160 Wed150 Thu160 Fri190 Sat140 Sun120 Staff work 5 days straight, then get 2 off. Objective is to minimize the total cost. – Which is roughly proportional to the number of hires.

Scheduling Application Identify the activities – Each hiring schedule is an activity Specify the constraints – How many people you need at different times Specify the objective function – Minimize the total number of people hired

Transportation Application Identify the activities – Each route from a distribution center to a customer is an activity Specify the constraints – Each distribution center starts with a limited amount – Each customer has a requirement Specify the objective function – Minimize total cost of all product movements