MATH143 Lec 10 Quantitative Methods

Slides:



Advertisements
Similar presentations
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Advertisements

Lesson 08 Linear Programming
BA 452 Lesson B.3 Integer Programming 11ReadingsReadings Chapter 7 Integer Linear Programming.
Linear Programming Models & Case Studies
Introduction to Management Science
Optimization Models Module 9. MODEL OUTPUT EXTERNAL INPUTS DECISION INPUTS Optimization models answer the question, “What decision values give the best.
Operations Management Linear Programming Module B - Part 2
BA 555 Practical Business Analysis
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
© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Integer Programming.
4-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Modeling Examples Chapter 4.
Optimization using Calculus
QM B Linear Programming
Introduction to Management Science
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 10. Resource Allocation
Introduction to Linear Programming
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Modeling
1 OM2, Supplementary Ch. C Modeling Using Linear Programming ©2010 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Example 15.1 Daily Scheduling of Postal Employees Workforce Scheduling Models.
Chapter 7 Transportation, Assignment & Transshipment Problems
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Transportation and Assignment Problems
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
Two Discrete Optimization Problems Problem: The Transportation Problem.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Chapter 4: Linear Programming Lesson Plan Mixture Problems  Combining Resources to Maximize Profit Finding the Optimal Production Policy Why the Corner.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
The number of procedures by type and data about rev/costs. The summary section, includes a change area, which shows the difference between the current.
Assignment Problem: Hungarian Algorithm and Linear Programming collected from the Internet and extended by Longin Jan Latecki.
MATH143 Lec 7 Quantitative Methods
The Transportation and Assignment Problems
MATH143 Lec 3 Quantitative Methods
Chapter 2 Linear Programming Models: Graphical and Computer Methods
A Multiperiod Production Problem
Solver Feature Excel’s KY San Jose State University Engineering 10.
Engineering Economics (2+0)
MATH143 Lec 4 Quantitative Methods
Chapter 4: Linear Programming Lesson Plan
Lecture 3.
Chapter 19 – Linear Programming
Linear Programming Dr. T. T. Kachwala.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
MATH143 Lec 9 Quantitative Methods
Assignment Problem: Hungarian Algorithm and Linear Programming collected from the Internet and extended by Longin Jan Latecki.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Integer linear programming
LMP calculations Congestion evaluation
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Wyndor Example; Enter data
Assignment Problem: Hungarian Algorithm and Linear Programming collected from the Internet and extended by Longin Jan Latecki.
Chapter 7 Transportation, Assignment & Transshipment Problems
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Constraint management
Chapter 5 Transportation, Assignment, and Transshipment Problems
Chapter 6 Network Flow Models.
Optimization Models Module 9.
Linear Programming Integer Linear Models.
Assignment Problem: Hungarian Algorithm and Linear Programming collected from the Internet and extended by Longin Jan Latecki.
Transportation and Assignment Problems
Presentation transcript:

MATH143 Lec 10 Quantitative Methods Charles W Jackson Andrew Nunekpeku MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Agenda for today Solve A3 and Quiz 2 Issues with identifying D.V. Transposition – Make Story Easy to tell Mixture Problems – Volume Fractions Transportation Problems – Matrix D.V. Sensitivity Analysis Integer Programs MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

A3: Oxbridge Computer Scheduling Beryl needs to cover 8am-10pm each day at minimum cost while guaranteeing 8 or 7 hrs/wk to workers, depending on grade. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Oxbridge Computer Scheduling Beryl’s “program” assigns each worker to various shifts to cover the need, so there are 30 numbers required to spec the program, not five or six. Layout D.V. and supplied availability constraints in same directions to ease explanations and solver setup. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Oxbridge Computer Scheduling MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Oxbridge Computer Scheduling Tell everyone their hours to work each day of the week Minimize total payroll bill Cover 14 hrs each day Without exceeding available hours per worker Or working negative hours per shift While keeping everyone sharp by working a minimum number of hours, based on rank MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Test 2: Nunekpeku § - Transportation A company ships frozen orange juice concentrate from processing plants A and B to distributors C, D, and E. Each plant can produce 20 tons of concentrate each week. The company has just received orders of 10 tons from C for the coming week, 15 tons from D, and 10 tons from E. The cost per ton for supplying each of the distributors from each of the processing plants is shown in the following table. C D E A $260 $220 $290 B $230 $240 $310 The company wants to determine the least costly plan for filling their orders for the coming week. (a) Formulate a Linear Programming model for this problem. [6 marks] (b) Implement the model in a spreadsheet and solve it. [12 marks] (c) What is the optimal solution? [2 marks] MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Test 2: Nunekpeku § - Transportation Algebraic statement: Minimize 260 AC + 220 AD + 290 AE + 230 BC + 240 BD + 310 BE Subject to: AC+AD+AE ≤ 20 BC+BD+BE ≤ 20 AC+BC ≥ 10 AD+BD ≥ 15 AE+BE ≥ 10 AC, AD, AE, BC, BD, BE ≥ 0 MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Test 2: Nunekpeku § - Transportation Spreadsheet statement and solver parameters: MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Quiz 2 Jackson § : “Trouble” MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Quiz 2 Jackson § 4-way Mixture The Slick Spread Paint Co. has a custom order for 5,000 gallons of red paint from a customer planning to paint the town. The paint must meet the following specifications. For fire safety during application, the combustion point must be no lower than 225 degrees Fahrenheit. For proper application, the specific weight may be no more than 1.0. The customer is particularly concerned that the paint not fade, but retain its vivid hue. Thus, he has restricted the proportions of the common, but fugitive, pigments Red-1 and Red-3. The Red-1 content may be no more than 10% by volume and the Red-3 content no more than 1% by volume. The paints approaching these specifications that are available to Slick Spread are riot red, alarm crimson, racy rouge and cherry. The table below gives their costs and relevant characteristics. When the paints are mixed, these characteristics are assumed to combine linearly, that is you compute the mixture’s value of a characteristic by multiplying the volume fraction of each component by its characteristic and summing the products. If the required paint can be mixed using these stock paints, determine their proportions to produce the minimum material cost. MATH143 – Fall 2011 –Tuesday Week 4 5/29/2018

Quiz 2 Jackson § 4-way Mixture Riot Red Alarm Crimson Racy Rouge Cherry Combustion point 200◦ 225◦ 350◦ 200◦ Specific Weight 0.92 1.08 1.10 0.92 Red-1 Content 9.8% 9.6% 9.6% 10.4% Red-3 Content 0.9% 0.8% 1.2% 0.9% Cost per gallon $0.90 $0.80 $0.60 $0.75 Commentary “Mixture” problems. Blend a combination of ingredients to obtain characteristics not found in any of them, but some sort of weighted average value. Often found in oil refineries, continuous processing plants. Decision variables are the recipe ratios, either weight or volume fractions for each of the components. There is always a hidden, or implicit, constraint in these problems, where the sum of the proportions of all the ingredients must be 100%. MATH143 – Fall 2011 –Tuesday Week 4 5/29/2018

Quiz 2 Jackson § Solution MATH143 – Fall 2011 –Tuesday Week 4 5/29/2018

Sensitivity Reports - Transportation Red-circled entries indicate we do not have a unique solution, more can be found by moving about the rectangle ABDE MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Finding Alternate Solution - Transportation Push on one of the corners in direction allowed While not letting the optimum cost shift from what we already had Fix objective, then shove traffic onto other lanes, making checkerboard adds and subtracts to find other solution. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Found Alternate Solution - Transportation Notice we moved 5 tons into AD and BE from AE and BD without changing total cost. This is because 220+310=240+290=530. MATH143 – Fall 2011 – Tuesday Week 3 5/29/2018

Sensitivity Reports - Transportation Shadow price column shows impact to Objective at the margin for one more of each resource. The -20 tells us that we save 20 by increasing output from A by one ton, and shifting off the B paths, which are more costly. The 230/240/310 for deliveries to C, D, and E show that at the margin, we send from B, which has slack. Shadow price of zero on the output from B means we wouldn’t use any more B if we got some, it’s already got slack. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Sensitivity Reports - Transportation Reduced Cost column shows impact to Objective at the margin for one more of each activity. This reduced cost is zero because of the slack available from B. Reduced Cost on the lane A to C means we would pay 50 more if we pulled one more ton that way, with adjustments to the cells in its rectangle. These reduced costs are zero because of the alternate solutions. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Sensitivity Reports - Transportation Reduced Cost column shows impact to Objective at the margin for one more of each activity. Reduced Cost on the lane A to C means we would pay 50 more if we pulled one more ton that way, with adjustments to the cells in its rectangle. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Sensitivity Reports - Transportation Reduced Cost column shows impact to Objective at the margin for one more of each activity. Constraining AC to 1 and re-running, the total cost rises from $8600 to $8650, a change of $50, the reduced cost on lane AC. This is the net of paying 260+240=500 and avoiding paying 220+230=450. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Araba’s Bakeshop MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Araba’s Bakeshop – Sensitivity Report We won’t make any custards until they sell for $16.65, $6.65 more than currently. We would make $1.24 more from each egg up to 23.2 more. Likewise, $0.21 per minute cook time up to 443 minutes more, and $0.084 per cup of flour up to 20.37 cups more. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Araba’s Bakeshop We don’t make any custard. We are left with some sugar. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Valu-Comm Layout after Solving MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Valu-Comm Solver Specification MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Valu-Comm Solution Report MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Valu-Comm – Sensitivity Report Use Reduced Costs to consider entry/exit of activities Watch % variation of objectives still at same corner to identify “tipping point” sensitivity. Use Shadow Prices to consider “bite” of various constraints MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018

Integer Programs Situations where the decision variables are naturally unitized. We had seen this in Araba’s Bakeshop, where you do not waste fractional hours on partial recipes, just as you would not suggest a family plan on having 3.2 children! Solutions could be guessed by rounding, or exhaustively searched for via integer constraints, although cannot do sensitivity with those. Special case – binary variables as in assignment problems and the like where the decision is yes/no or go/no go. MATH143 – Fall 2011 – Tuesday Week 4 5/29/2018