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.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming (graphical + simplex with duality) Based on Linear optimization in application by Sui lan Tang. Linear Programme (LP) for Optimization.
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
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
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 Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
Linear Programming Chapter 13 Supplement.
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
Spreadsheet Modeling & Decision Analysis:
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.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.6 Linear Programming.
Chapter 6 Supplement Linear Programming.
Introduction to Operations Research
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming 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 ≥
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.
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
Lecture 3.
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.
2008 Calendar.
Sun Mon Tue Wed Thu Fri Sat
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Sun Mon Tue Wed Thu Fri Sat
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
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.
2008 Calendar.
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 Learning Objective 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.

Learning Objectives Learning objective 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.

Learning Objectives Learning objective 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.

Learning Objectives Learning objective 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.

Learning Objectives Learning objective 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.

Learning Objectives Learning objective 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.

Learning Objectives Learning objective 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

Learning Objectives Learning objective 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)

Learning Objectives Learning objective 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 framework Identify the activities Specify the constraints Specify the objective function

Scheduling Application DayNeed for Staff Mon180 Tue160 Wed150 Thu160 Fri190 Sat140 Sun120 Staff work 5 days, then get 2 off.

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 distribution center to customer is an activity Specify the constraints – Only so much at each distribution center – Each customer’s requirement Specify the objective function – Minimize total cost of all product movements