L16 LP part2 Homework Review N design variables, m equations Summary 1.

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
Operation Research Chapter 3 Simplex Method.
L17 LP part3 Homework Review Multiple Solutions Degeneracy Unbounded problems Summary 1.
Linear Programming – Simplex Method
SIMPLEX METHOD FOR LP LP Model.
Nonstandard Problmes Produced by E. Gretchen Gascon.
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Dr. Sana’a Wafa Al-Sayegh
Sections 4.1 and 4.2 The Simplex Method: Solving Maximization and Minimization Problems.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Minimization by Dr. Arshad zaheer
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
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Chapter 6 Linear Programming: The Simplex Method
The Two-Phase Simplex Method LI Xiao-lei. Preview When a basic feasible solution is not readily available, the two-phase simplex method may be used as.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Simplex method (algebraic interpretation)
EE/Econ 458 The Simplex Method using the Tableau Method
Simplex Algorithm.Big M Method
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
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.
The big M method LI Xiao-lei.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Linear Programming – Simplex Method
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
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
L8 Optimal Design concepts pt D
1 Chapter 4 The Simplex Algorithm PART 2 Prof. Dr. M. Arslan ÖRNEK.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
1 Simplex Method (created by George Dantzig in late 1940s) A systematic way of searching for an optimal LP solution BMGT 434, Spring 2002 Instructor: Chien-Yu.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm file Simplex2_AMII_05a_gr.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
L15 LP Problems Homework Review Why bother studying LP methods History N design variables, m equations Summary 1.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Perturbation method, lexicographic method
The Two-Phase Simplex Method
Chapter 4 Linear Programming: The Simplex Method
L18 LP part4 Homework Review Summary Test 3.
Chapter 4 The Simplex Algorithm
Practical Issues Finding an initial feasible solution Cycling
Presentation transcript:

L16 LP part2 Homework Review N design variables, m equations Summary 1

H15 Prob 1 2

H15 prob ≥

H15 Prob 8.8 and 8.9 4

H15 prob

H15 Prob 21 6

7

x1=0 8

x2=0 9

x3=0 10

x4=0 11

Prob 8.21 cont’d 12

Linear Programming Prob.s 13 Must convert to standard form LP Problem!

Transforming LP to Std Form LP 1.If Max, then f(x) = - F(x) 2.If x is unrestricted, split into x + and x -, and substitute into f(x) and all g i (x) and r enumber all x i 3.If b i < 0, then multiply constraint by (-1) 4.If constraint is ≤, then add slack s i 5.If constraint is ≥, then subtract surplus s i 14

Std Form LP Problem 15 Matrix form All “ ≥0 ” i.e. non-neg. All “=“

Canonical form Ex 8.4 & TABLEAU 16 basis

Ex 8.4 cont’d 17 Pivot row Pivot column

Terms basic solutions - solutions created by setting (n-m) variables to zero basic feasible sol’ns - vertices of feasibility polygon feasible solution - any solution in S polyhedron basic variables - dependent variables, not set to zero non-basic variables - independent variables, set to zero, i.e. not in basis. basis – identity columns of the coefficient matrix A 18

Method? 1.Set up LP prob in “tableau” 2.Select variable to leave basis 3.Select variable to enter basis (replace the one that is leaving) 4.Use Gauss-Jordan elimination to form identity sub-matrix, (i.e. new basis, identity columns) 5.Repeat steps 2-4 until opt sol’n is found! 19

Can we be efficient? Are we at the min? If not which non-basic variable should be brought into basis? Which basic variable should be removed to make room for the new one coming on? SIMPLEX METHOD! 20

Simplex Method – Part 1 of 2 Single Phase Simplex Method When the Standard form LP Problem has only ≤ inequalties…. i.e. only slack variables, we can solve using the Single-Phase Simplex Method! If surplus variables exist… we need the Two-Phase Simplex Method –with artificial variables… Sec 8.6 (after Spring Break) 21

Single-Phase Simplex Method 1. Set up LP prob in a SIMPLEX tableau add row for reduced cost, c j ’ and column for min-ratio, b/a label the rows (using letters) of each tableau 2. Check if optimum, all non-basic c’ ≥0? 3. Select variable to enter basis(from non-basic) Largest negative reduced cost coefficient/ pivot column 4. Select variable to leave basis Use min ratio column / pivot row 5. Use Gauss-Jordan elimination on rows to form new basis, i.e. identity columns 6.Repeat steps 2-5 until opt solution is found! 22

23 Figure 8.3 Graphical solution to the LP problem Example 8.7. Optimum solution along line C–D. z*=4. Ex phase Simp Meth All constraints are “slack” type Therefore, can use single-phase Simplex Method

Step 1. Set up Simplex Tableau 24 Simplex Tableau rowbasicx1x2x3x4x5bb/a_pivot ax bx cx dc' Step 2. check if optimum? X1 and x2 are <0! Continue!

Step3 & Select variable to enter basis(from non-basic) Largest negative reduced cost coefficient/ pivot column 4. Select variable to leave basis Use min ratio column / pivot row

Why use Min Ratio Rule? 26 We want to add x1 into basis, i.e. no longer is x1=0 How much of x1 can we add? Whoops!!!!

Step 5 Use Gauss-Jordan form new basis, i.e. identity columns 27 Step 6. Repeat steps 2-5. Step 2. Check if optimal? Since all c’ ≥ 0… We have found the optimal solution!

Use Excel to help with arithmetic? 28 See Excel spreadsheet on website simplexEx8_7.xls

Summary Need to transform into Std LP format Unrestricted, slack, surplus variables, min = - Max Opt solution is on a vertex Simplex Method moves efficiently from one feasible combination of basic variables to another. Use Single-Phase Simplex Method when only “slack” type constraints. Use Excel to assist w/arithmetic 29