LP EXAMPLES: ANOTHER MAX AND A MIN Dr. Ron Lembke.

Slides:



Advertisements
Similar presentations
QingPeng (QP) Zhang  Sensitivity analysis is concerned with how changes in an linear programming’s parameters affect the optimal.
Advertisements

Is the shape below a function? Explain. Find the domain and range.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Linear Programming Problem
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
LINEAR PROGRAMMING (LP)
Linear Programming Operations Management Dr. Ron Tibben-Lembke.
1 Chapter 11 Here we see cases where the basic LP model can not be used.
Linear Programming – Simplex Method
Lesson 11 Multicriteria Decisions within LP Framework.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
LINEAR PROGRAMMING (LP)
8/27: Linear Programming Lecture: LP Small Groups Homework.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 Integer Linear Programming Chapter 8.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Linear Programming Introduction George B Dantzig developed LP in It is a problem solving approach designed to help managers/decision makers in planning.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Operations Management Dr. Ron Lembke
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 6 th edition Cliff T. Ragsdale © 2011 Cengage Learning. All Rights.
Chapter 4: Linear Programming Sensitivity Analysis
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
QM B Lego Simplex. Scenario You manufacture tables and chairs. Tables and chairs are manufactured from small and large bricks. Small brick Large brick.
Linear Programming Example 2 Alternate Optimal Solutions.
Linear Programming Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
9/1 More Linear Programming Collect homework Roll call Review homework Lecture - More LP Small Groups Lecture - Start using MS Excel Assign Homework.
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel.
Module B: Linear Programming
1 1 Slide © 2005 Thomson/South-Western Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions.
Sensitivity Analysis What if there is uncertainly about one or more values in the LP model? 1. Raw material changes, 2. Product demand changes, 3. Stock.
1/17: DSCB Getting Started, Linear Programming Administrative Issues –Syllabus –Calendar –Get usernames, addresses, majors Linear Programming.
Linear Programming – Simplex Method
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 (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
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Integer LP In-class Prob
Graphics Assignment. For my assignment I used several different components : 1.My actual tv.
Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions for an All- Integer Linear Program.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Warm-upWarm-up Sketch the region bounded by the system of inequalities: 1) 2) Sketch the region bounded by the system of inequalities: 1) 2)
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
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
Learning Objective We will learn how to graph Linear Inequalities. We will apply linear inequalities to real-world situations and understand where appropriate.
1. Solve this system and find the product of its solutions. x + y = 7 2x – y =8 2. The feasible region for a set of constraints has vertices (2,0), (8,2)
Don Sutton Spring LP Basic Properties Objective Function – maximize/minimize profit/cost Resource Constraints – labor, money Decision.
LP Galaxy problem riješen SOLVEROM Prof. dr Lazo Roljić.
Managerial Decision Modeling with Spreadsheets Chapter 4 Linear Programming Sensitivity Analysis.
爱迪科森 网上报告厅 WANGSHANGBAOGAOTING.  公司简介  发展历程  产品简介  2009 年新亮点  产品规模及内容  功能介绍及使用说明  产品特点  后台管理  制作系统  售后服务  公司资质  典型用户 目录.
SOLVING LINEAR PROGRAMS Dr. Ron Lembke. Solving LPs Need a more formal method How to find points to solve for? A picture is worth a thousand words.
P1 Embed mp4.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Spreadsheet Modeling & Decision Analysis:
Name : Class: Date: By rounding each price to the nearest whole pound then work out cost of:
Introduction to Linear Programs
BACK SOLUTION:
Solutions Sample Games 1
Game Theory Solutions 1 Find the saddle point for the game having the following payoff table. Use the minimax criterion to find the best strategy for.
Linear Programming A potter wants to make and sell serving bowls and plates. A bowl uses 5 pounds of clay. A plate uses 4 pounds of clay. The potter has.
Sensitivity Analysis and
ENGM 435/535 Optimization Adapting to Non-standard forms.
Name: Player number Session 1 Session 2 Session 3 Session 4 Table Seat
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Graphing Solutions of Trig Functions
7.5 – Constrained Optimization: The Method of Lagrange Multipliers
Linear Programming Problem
1.6 Linear Programming Pg. 30.
Spreadsheet Modeling & Decision Analysis:
Simplex Tableau Method
Presentation transcript:

LP EXAMPLES: ANOTHER MAX AND A MIN Dr. Ron Lembke

Example 2 mp3- 4 min electronics - 2 min assembly DVD- 3 min electronics - 1 min assembly Min available: 240 (elect) 100 (assy) Profit / unit: mp3 $7, DVD $5 X 1 = number of mp3 players to make X 2 = number of DVD players to make

Standard Form Max7x 1 +5x 2 s.t. 4x 1 +3x 2 <=240 2x 1 +1x 2 <=100 x 1 >=0 x 2 >=0 electronics assembly

Graphical Solution DVD players mp3 X2X2 X1X1

Graphical Solution DVD players mp3 X 1 = 0, X 2 = 80 X 1 = 60, X 2 = 0 Electronics Constraint X2X2 X1X1 4x 1 + 3x 2 <=240 x 1 =0, x 2 =80 x 2 =0, x 1 =60

Graphical Solution DVD players mp3 X 1 = 0, X 2 = 100 X 1 = 50, X 2 = 0 Assembly Constraint X2X2 X1X1 2x 1 + 1x 2 <=100 x 1 =0, x 2 =100 x 2 =0, x 1 =50

Graphical Solution DVD players mp3 Assembly Constraint Electronics Constraint Feasible Region – Satisfies all constraints X2X2 X1X1

DVD players mp3 Isoprofit Line: $7X 1 + $5X 2 = $210 (0, 42) (30,0) Isoprofit Lnes X2X2 X1X1

Isoprofit Lines DVD players mp3 $210 $280 X2X2 X1X1

Isoprofit Lines DVD players mp3 $210 $280 $350 X2X2 X1X1

Isoprofit Lines DVD players mp3 (0, 82) (58.6, 0) $7X 1 + $5X 2 = $410 X2X2 X1X1

Mathematical Solution Obviously, graphical solution is slow We can prove that an optimal solution always exists at the intersection of constraints. Why not just go directly to the places where the constraints intersect?

Constraint Intersections DVD players mp3 X 1 = 0 and 4X 1 + 3X 2 <= 240 So X 2 = 80 X2X2 X1X1 4X 1 + 3X 2 <= 240 (0, 0) (0, 80)

Constraint Intersections DVD players mp3 X 2 = 0 and 2X 1 + 1X 2 <= 100 So X 1 = 50 X2X2 X1X1 (0, 0) (0, 80) (50, 0)

Constraint Intersections DVD players mp3 4X 1 + 3X 2 = 240 2X 1 + 1X 2 = 100 – multiply by -2 X2X2 X1X1 (0, 0) (0, 80) (50, 0) 4X 1 + 3X 2 = X 1 -2X 2 = -200 add rows together 0X 1 + 1X 2 = 40 X 2 = 40 substitute into #2 2 X = 100 So X 1 = 30

Constraint Intersections DVD players mp3 X2X2 X1X1 (0, 0) $0 (0, 80) $400 (50, 0) $350 (30,40) $410 Find profits of each point. Substitute into $7X 1 + $5X 2

Do we have to do this? Obviously, this is not much fun: slow and tedious Yes, you have to know how to do this to solve a two-variable problem. We won’t solve every problem this way.

Constraint Intersections DVD players mp3 X2X2 X1X1 Start at (0,0), or some other easy feasible point. 1.Find a profitable direction to go along an edge 2.Go until you hit a corner, find profits of point. 3.If new is better, repeat, otherwise, stop. Good news: Excel can do this for us. Using the Simplex Algorithm

Minimization Example Min8x 1 +12x 2 s.t. 5x 1 +2x 2 ≥20 4x 1 +3x 2 ≥ 24 x 2 ≥ 2 x 1, x 2 ≥ 0

Minimization Example Min8x 1 +12x 2 s.t. 5x 1 +2x 2 ≥20 4x 1 +3x 2 ≥ 24 x 2 ≥ 2 x 1, x 2 ≥ 0 5x 1 + 2x 2 =20 If x 1 =0, 2x 2 =20, x 2 =10 (0,10) If x 2 =0, 5x 1 =20, x 1 =4 (4,0) 4x 1 + 3x 2 =24 If x 1 =0, 3x 2 =24, x 2 =8 (0,8) If x 2 =0, 4x 1 =24, x 1 =6 (6,0) x 2 = 2 If x 1 =0, x 2 =2 No matter what x 1 is, x 2 =2

Graphical Solution x 1 +2x 2 =20 X2X2 X1X1 4x 1 +3x 2 =24 x 2 =2

x 1 +2x 2 =20 X2X2 X1X1 4x 1 +3x 2 =24 x 2 =2 (0,10) [5x 1 +2x 2 =20]*3 [4x 1 +3x 2 =24]*2 15x 1 +6x 2 = 60 8x 1 +6x 2 = x 1 = 12 x 1 = 12/7= x 1 +2x 2 =20 5* x 2 =20 2x 2 = x 2 = (1.71,5.73)

x 1 +2x 2 =20 X2X2 X1X1 4x 1 +3x 2 =24 x 2 =2 (0,10) (1.71,5.73) 4x 1 +3x 2 =24 x 2 =2 4x 1 +3*2 =24 4x 1 =18 x 1 =18/4 = 4.5 (4.5,2)

x 1 +2x 2 =20 X2X2 X1X1 4x 1 +3x 2 =24 x 2 =2 (0,10) (1.71,5.73) Z=8x 1 +12x 2 8*0 + 12*10 = 120 (4.5,2) Z=8x 1 +12x 2 8* *5.73 = Z=8x 1 +12x 2 8* *2 = 60 Lowest Cost

IsoCost Lines x 1 +2x 2 =20 X2X2 X1X1 4x 1 +3x 2 =24 x 2 =2 Z=8x 1 +12x 2 Try 8*12 = 96 x 1 =0 12x 2 =96, x 2 =8 x 2 =0 8x 1 =96, x 1 =12

Summary Method for solving a two-variable problem graphically 1. Find end points of each constraint 2. Draw constraints 3. Figure out which intersections are interesting 4. Use algebra to solve for intersection pts 5. Find profits (or costs) of intersections 6. Choose the best one Iso-profit (or Iso-Cost) lines can help find the most interesting points