Download presentation

1
**Lecture 15 Special cases by Dr. Arshad Zaheer**

Simplex Method Lecture 15 Special cases by Dr. Arshad Zaheer

2
**Four Special cases in Simplex**

3
**Simplex Algorithm – Special cases**

There are four special cases arise in the use of the simplex method. Degeneracy Alternative optimal Unbounded solution infeasible solution

4
**Degeneracy ( no improvement in objective)**

Degeneracy: It is situation when the solution of the problem degenerates. Degenerate Solution: A Solution of the problem is said to be degenerate solution if value or values of basic variable(s) become zero It occurs due to redundant constraints.

5
**Degeneracy – Special cases (cont.)**

This is in itself not a problem, but making simplex iterations form a degenerate solution, give rise to cycling, meaning that after a certain number of iterations without improvement in objective value the method may turn back to the point where it started.

6
**Degeneracy – Special cases (cont.)**

Example: Max f = 3x1 + 9x2 Subject to: x1 + 4x2 ≤ 8 X1 + 2x2 ≤ 4 X1, x2 ≥ 0

7
**Degeneracy – Special cases (cont.)**

The solution: Step 1. write inequalities in equation form Let S1 and S2 be the slack variables X1 + 4X2 + s1= 8 X1 + 2X2 + s2= 4 X1, X2 ,s1,s2≥ 0 Let X1=0, X2=0 f=0, S1=8, S2=4

8
**Degeneracy – Special cases (cont.)**

X2 will enter the basis because of having minimum objective function coefficient. Initial Tableau Entering Variable Leaving Variable Basis X1 X2 S1 S2 RHS Ratio 1 4 8 8/4=2 2 4/2=2 f -3 -9 S1 and S2 tie for leaving variable( with same minimum ratio 2) so we can take any one of them arbitrary.

9
**Degeneracy – Special cases (cont.)**

Tableau 1 Basis X1 X2 S1 S2 RHS Ratio 1/4 1 2 8 -1/2 0 min f -3/4 9/4 18 Here basic variable S2 is 0 resulting in a degenerate basic solution.

10
**Degeneracy – Special cases (cont.)**

Tableau 2 Same objective function no change and improvement ( cycle) Basis X1 X2 S1 S2 RHS 1 1/2 -1/2 2 -1 f 3/2 18 Same objective

11
**Degeneracy – Special cases (cont.)**

This is redundant constraint because its presence or absence does not affect, neither on optimal point nor on feasible region. Feasible Region

12
Alternative optimal If the f-row value for one or more non basic variables is 0 in the optimal tableau, alternate optimal solution exists. When the objective function is parallel to a binding constraint, objective function will assume same optimal value. So this is a situation when the value of optimal objective function remains the same. We have infinite number of such points

13
**Alternative optimal – Special cases (cont.)**

Example: Max 2x1+ 4 x2 ST x1 + 2x2 ≤ 5 x1 + x2 ≤ 4 x1, x2 ≥0

14
**Alternative optima – Special cases (cont.)**

The solution Max 2x1+ 4x2 Let S1and S2 be the slack variables x1 + 2x2 + s1= 5 x1 + x2 + s2 = 4 x1, x2, s1, s2 ≥0 Initial solution Let x1 = 0, x2 = 0, f=0, s1= 5, s2 = 4

15
**Alternative optima – Special cases (cont.)**

Initial Tableau Entering Variable Leaving Variable Basis X1 X2 S1 S2 RHS Ratio 1 2 5 5/2=2.5 4 4/1=4 f -2 -4

16
**Alternative optima – Special cases (cont.)**

Optimal solution is 10 when x2=5/2, x1=0. How do we know that alternative optimal exist ? Basis X1 X2 S1 S2 RHS Ratio 1/2 1 5/2 5 -1/2 3/2 3 min f 2 10

17
**Alternative optima – Special cases (cont.)**

Entering Variable By looking at f-row coefficient of the nonbasic variable. The coefficient for x1 is 0, which indicates that x1 can enter the basic solution without changing the value of f. Optimal sol. f= x1=0, x2=5/2 Leaving Variable Basis X1 X2 S1 S2 RHS Ratio 1/2 1 5/2 5 -1/2 3/2 3 f 2 10

18
**Alternative optima – Special cases (cont.)**

The second alternative optima is: The new optimal solution is 10 when x1=3, x2=1 Basis X1 X2 S1 S2 RHS 1 -1 2 3 f 10

19
**Any point on BC represents an alternate optimum with f=10**

As the objective function line is parallel to line BC so the optimal solution lies on every point on line BC Objective Function

20
**Alternative optimal – Special cases (cont.)**

In practice alternate optimals are useful as they allow us to choose from many solutions experiencing deterioration in the objective value.

21
Unbounded Solution When determining the leaving variable of any tableau, if there is no positive ratio (all the entries in the pivot column are negative and zeros), then the solution is unbounded.

22
**Unbounded Solution – Special cases (cont.)**

Example Max 2x1+ x2 Subject to x1 – x2 ≤10 2x1 ≤ 40 x1, x2≥0

23
**Unbounded Solution – Special cases (cont.)**

Max 2x1+ x2 Let S1and S2 be the slack variables x1 – x2 +s1 =10 2x1+0x2 + s2 =40 x1, x2,s1,s2 ≥0 Initial Solution: x1 = 0, x2=0, f=0, s1 =10, s2 =40

24
**Unbounded Solution – Special cases (cont.)**

Basis X1 X2 S1 S2 RHS Ratio 1 -1 10 10 min 2 40 20 f -2 24

25
**Unbounded Solution – Special cases (cont.)**

Basis X1 X2 S1 S2 RHS Ratio 1 -1 10 - 2 -2 20 f -3 25

26
**Unbounded Solution – Special cases (cont.)**

The values of non basic variable are either zero or negative. So, solution space is unbounded Basis X1 X2 S1 S2 RHS Ratio 1 20 - -1 1/2 10 f -3 3/2 50 26

27
**Unbounded Solution Space**

Unbounded Solution – Special cases (cont.) Graphical Solution Objective function Unbounded Solution Space 2x1 ≤ 40 x1 – x2 ≤10 Optimal Point 27

28
Infeasible Solution A problem is said to have infeasible solution if there is no feasible optimal solution is available

29
Example: Max f=3x1+2x2 S.T. 2x1+x2 ≤ 2 3x1+4x2 ≥ 12 x1, x2=0

30
**Solution (Graphical):**

31
THANK YOU

Similar presentations

OK

1. 2 We studying these special cases to: 1- Present a theoretical explanation of these situations. 2- Provide a practical interpretation of what these.

1. 2 We studying these special cases to: 1- Present a theoretical explanation of these situations. 2- Provide a practical interpretation of what these.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Maths addition ppt on blocks Ppt on human chromosomes genes Download ppt on surface area and volume for class 9th Ppt on parliament of india Ppt on bluetooth architecture Ppt on employee provident fund act 1952 republican Ppt on peer pressure Ppt on breastfeeding advantages Ppt on ms excel 2007 tutorial Ppt on power quality and energy management