Lecture 6: Algorithm Approach to LP Soln AGEC 352 Fall 2012 – Sep 12 R. Keeney.

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

Chapter 5: Linear Programming: The Simplex Method
Lecture 3 Linear Programming: Tutorial Simplex Method
Standard Minimization Problems with the Dual
Simplex Method Example 4.2 # 17 Produced by E. Gretchen Gascon.
SIMPLEX METHOD FOR LP LP Model.
Assignment (6) Simplex Method for solving LP problems with two variables.
Nonstandard Problmes Produced by E. Gretchen Gascon.
Transportation Problem (TP) and Assignment Problem (AP)
Chapter 6 Linear Programming: The Simplex Method
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Sections 4.1 and 4.2 The Simplex Method: Solving Maximization and Minimization Problems.
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
1. The Simplex Method for Problems in Standard Form 1.
Linear Inequalities and Linear Programming Chapter 5
Chapter 7 LINEAR PROGRAMMING.
The Simplex Method: Standard Maximization Problems
5.4 Simplex method: maximization with problem constraints of the form
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Operation Research Chapter 3 Simplex Method.
1 Linear programming simplex method This presentation will help you to solve linear programming problems using the Simplex tableau.
Lecture 6: Algorithm Approach to LP Soln AGEC 352 Fall 2012 – Sep 12 R. Keeney.
Lecture 7: Linear Programming in Excel AGEC 352 Spring 2011 – February 9, 2011 R. Keeney.
Lecture 5: Objective Equations AGEC 352 Spring 2011 – January 31 R. Keeney.
Lecture 1: Basics of Math and Economics AGEC 352 Spring 2011 – January 12 R. Keeney.
Linear Programming (LP)
5.6 Maximization and Minimization with Mixed Problem Constraints
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
Learning Objectives for Section 6.2
Simplex Linear Programming I. Concept II. Model Template III. Class Example IV. Procedure V. Interpretation MAXIMIZATION METHOD Applied Management Science.
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Simplex Algorithm.Big M Method
Chapter 6 Linear Programming: The Simplex Method Section 2 The Simplex Method: Maximization with Problem Constraints of the Form ≤
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Public Policy Modeling Simplex Method Tuesday, October 13, 2015 Hun Myoung Park, Ph.D. Public Management & Policy Analysis Program Graduate School of International.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Mechanical Engineering Department 1 سورة النحل (78)
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Simplex Method for solving LP problems with two variables.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
MCCARL AND SPREEN TEXT CH. 2 T Y/MCCARL-BRUCE/BOOKS.HTM Lecture 2: Basic LP Formulation.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
LINEAR PROGRAMMING.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Agricultural Economic Students and Faculty!
SOLVING LINEAR PROGRAMMING PROBLEMS: The Simplex Method
Chapter 4 Linear Programming: The Simplex Method
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chapter 3 The Simplex Method and Sensitivity Analysis
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Solving a System of Equations in Two Variables by the Addition Method
Simplex Tableau Method
Presentation transcript:

Lecture 6: Algorithm Approach to LP Soln AGEC 352 Fall 2012 – Sep 12 R. Keeney

Lab Discussion Questions Opportunity cost of specialization 2200 – 2025 = 175 = Op cost chair spec 2200/45 = ? <- GM/chair required for spec to be equally profitable Corner PointChairsTables Total Gross Margin GM/unit4580

Linear Programming Corner Point Identification ◦ Solution must occur at a corner point ◦ Solve for all corners and find the best solution What if there were many (thousands) of corner points? ◦ Want a way to intelligently identify candidate corner points and check when we have found the best Simplex Algorithm does this…

Assigned Reading 5 page handout posted on the class website ◦ Spreadsheet that goes with the handout Lecture today will point out the most important items from that handout

Problem Setup Let: C = corn production (measured in acres) B = soybean production (measured in acres) The decision maker has the following limited resources: 320 acres of land 20,000 dollars in cash 19,200 bushels of storage The decision maker wants to maximize profits and estimates the following per acre net returns: C = $60 per acre B = $90 per acre

Problem Setup (cont) The two crops the decision maker produces use limited resources at the following per acre rates: ResourceCornSoybeans Land11 Cash50100 Storage10040

Algebraic Form of Problem

Problem Setup in Simplex Note the correspondence between algebraic form and rows/columns

Simplex Procedure: Perform some algebra that is consistent with equation manipulation ◦ Multiply by a constant ◦ Add/subtract a value from both sides of an equation Goal: Each activity column to have one cell with a 1 and the rest of its cells with 0 Result: A solution to the LP can be read from the manipulated tableau

Simplex Steps The simplex conversion steps are as follows: 1)Identify the pivot column: the column with the most negative element in the objective row. 2)Identify the pivot cell in that column: the cell with the smallest RHS/column value. 3)Convert the pivot cell to a value of 1 by dividing the entire row by the coefficient in the pivot cell. 4)Convert all other elements of the pivot column to 0 by adding a multiple of the pivot row to that row.

Step 1 B has the most negative ‘obj’ coefficient ◦ Most profitable activity

Step 2 ID pivot cell: Divide RHS by elements in B column Most limiting resource identifcation 320/1 20K/ /40

Step 3 Convert pivot cell to value of 1 (*1/100)

Step 4 Convert other elements of pivot col to 0, by multiplying the new cash row and adding to the other rows Multiplying factor for land row ◦ -1  (-1*1 + 1 = 0) Multiplying factor for stor row ◦ -40  (-40* = 0)

Example CBs1s2s3PRHS New cash row New cash row * Old land row New land row Explanation of rows: New Cash Row: Multiply all elements by 1/100 New Cash Row *-1: Multiply new cash row by -1 Old Land Row: From initial tableau New Land Row: Add New cash row*-1 to old land row

Tableau after 1 st iteration IF all negative values are eliminated from obj row, we are done If negative values remain, repeat the four Simplex steps 1) New pivot column is C, …(see handout)

Tableau after 2 nd iteration of Simplex No negatives in obj row, so we are done. Solution values: Look under the activity column, find the one and read the corresponding RHS value: C = 140, B = 130, Slack Land = 50; P=Profit=20,100

Simplex Programmed into Excel as one of the solution options When we begin LP, we will make sure that we are choosing the simplex method Time consuming by hand but we need to understand how solutions are generated by the computer Key points for exam: ◦ Steps, reading a solution

Next week Solving LP in Excel ◦ Standard problem setup ◦ Solution elements ◦ Interpretation of plan and evaluation of how sensitive the best plan is to changed assumptions