Download presentation

Presentation is loading. Please wait.

Published byKatie Huck Modified over 2 years ago

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

2
H15 Prob 1 2

3
H15 prob 8.3 3 ≥

4
H15 Prob 8.8 and 8.9 4

5
H15 prob 8.19 5

6
H15 Prob 21 6

7
7

8
x1=0 8

9
x2=0 9

10
x3=0 10

11
x4=0 11

12
Prob 8.21 cont’d 12

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

14
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

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

16
Canonical form Ex 8.4 & TABLEAU 16 basis

17
Ex 8.4 cont’d 17 Pivot row Pivot column

18
Terms basic solutions - solutions created by setting (n-m) variables to zero basic feasible sol’ns - 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

19
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

20
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

21
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

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

24
Step 1. Set up Simplex Tableau 24 Simplex Tableau rowbasicx1x2x3x4x5bb/a_pivot ax34310012 bx4210104 cx5120014 dc'-20000 Step 2. check if optimum? X1 and x2 are <0! Continue!

25
Step3 & 4 25 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

26
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!!!!

27
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!

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

29
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

Similar presentations

OK

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.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on artificial intelligence techniques Ppt on effect of western culture on indian youth Download ppt on equations of motion Free ppt on brain machine interface ethics Ppt on statistics and probability Ppt on sales closing techniques Ppt on negative list of service tax Ppt on age of exploration Ppt on networking related topics on typhoons Ppt on biodegradable and non biodegradable items