Professional Documents
Culture Documents
Chapter VI
Chapter VI
Chapter VI
1
Content
• Introduction
• Changes in the objective function coefficients
• Changes in the RHS
• Introducing a new constraint
• Deleting a constraint
• Introducing a new variable
• Deleting a variable
2
Introduction
In real situations:
these parameters can effect of changes in
Problem parameters:
only be good the problem
known and accurate
estimates of the real parameters
problem inputs
3
Introduction-continued
Sensitivity Sensitive
analysis parameters
process of those for which
determining the a small change
range of may affect
parameter(s) for optimality
which optimality
or the optimal
basis remains
unchanged should be
estimated with a
lot of care
4
Change in the objective
function coefficients
5
one or more of the
OF coefficients
change
6
• For each coefficient, it is possible to determine the range
for which optimality is preserved: optimality interval
optimality
preserved
Z-value changes
when the changing the Z-value remains
coefficient unchanged for NBV
corresponds to a BV
7
Example
Max Z = 10X1 + 20X2
X1 + X2 15
4X1 + 2X2 40
-X1 + X2 10
X1 20
X1, X2 0
8
Example-continued
We are interested in
The OS* is given by: determining by how much
we may change the
X1*= 2.5; X2* = 12.5;
coefficient c1 of X1 in the
Z* = 275 OF without affecting
optimality.
In order to answer, we
need to carry out a
sensitivity analysis to c1.
9
Optimal Simplex tableau
CJ 10 20 0 0 0 0
Basis X1 X2 S1 S2 S3 S4 RHS
10 X1 1 0 1/2 0 -1/2 0 2.5
0 S2 0 0 -3 1 1 0 5
20 X2 0 1 1/2 0 1/2 0 12.5
0 S4 0 0 -1/2 0 1/2 1 17.5
ZJ 10 20 15 0 5 0 275
J 0 0 -15 0 -5 0
10
By varying c1, the optimal tableau is modified as:
Cj 10+ c1 20 0 0 0 0
VB X1 X2 S1 S2 S3 S4 RHS
10+c1 X1 1 0 1/2 0 -1/2 0 2.5
0 S2 0 0 -3 1 1 0 5
20 X2 0 1 1/2 0 1/2 0 12.5
0 S4 0 0 -1/2 0 1/2 1 17.5
Zj 10 +c1 20 15 +1/2c1 0 5 -1/2c1 0 275 +2.5c1
j 0 0 -15 -1/2c1 0 -5+1/2c1 0
-5 + ½ c1 0
Equivalently, -20 c1 20
13
By performing the next iteration, we obtain the
following optimal tableau:
Cj 25 20 0 0 0 0
VB X1 X2 S1 S2 S3 S4 bi
25 X1 1 0 -1 1/2 0 0 5
0 S3 0 0 -3 1 1 0 5
20 X2 0 1 2 -1/2 0 0 10
0 S4 0 0 1 -1/2 0 1 15
Zj 25 20 15 2,5 0 0 325
j 0 0 -15 -2,5 0 0
c2 = 20 c2’ = 20 + c2
15
Cj 10 20 +c2 0 0 0 0
VB X1 X2 S1 S2 S3 S4 bi
10 X1 1 0 1/2 0 -1/2 0 2.5
0 S2 0 0 -3 1 1 0 5
20+c2 X2 0 1 1/2 0 1/2 0 12.5
0 S4 0 0 -1/2 0 1/2 1 17.5
Zj 10 20 +c2 15 +1/2c2 0 5 +1/2c2 0 275+12.5c2
j 0 0 -15 -1/2c2 0 -5 -1/2c2 0
16
-15 – ½ c2 0 Or just -30 c2
c2 = 20 c2’ = 25 ≥ 10
17
18
Change in the RHS of a
constraint
19
Question: In what range it is possible to vary the RHS of the
20
The change in the RHS of the constraints would only affect the
o Note that the parameter b1 & the variable S1 have the
22
For the basis to remain optimal, the corresponding solution must be
feasible.
b1 -5
2.5+1/2 b1 0
b1 5/3
5 – 3 b1 0
b1 -25
12.5 + 1/2 b1 0
b1 35
17.5 – 1/2 b1 0
-5 b1 5/3
23
Question: Determine the effect on Z if b1 takes the value 12.
Feasibility interval
24
In the previous example, we have
25
Let: X1’* & X2’* form the new optimal solution
Y1*, Y2*, Y3* & Y4* constitute the dual optimal solution.
27
redundant and
Satisfied by the
optimality is
OS*
Introducing a preserved
new constraint
Not satisfied by optimality is
the OS* not preserved
New solution
will be worse
28
In the previous example, consider the
additional constraint:
2X1 + X2 15
Z decreases by 25 units
29
Deleting a constraint
30
Deleted
constraint
Inactive Binding
32
CJ 10 20 0 0 0 0 0
Basis X1 X2 S1 S2 S3 S4 S5 RHS
10 X1 1 0 0 0 -1/3 0 1/3 5/3
0 S2 0 0 0 1 0 0 -2 10
20 X2 0 1 0 0 2/3 0 1/3 35/3
0 S4 0 0 0 0 1/3 1 -1/3 55/3
0 S1 0 0 1 0 -1/3 0 -2/3 5/3
J 0 0 0 0 -10 0 -10 250
33
CJ 10 20 0 0 0 0 0
Basis X1 X2 S1 S2 S3 S4 S5 RHS
0 S5 3 0 0 0 -1 0 1 5
0 S2 6 0 0 1 -2 0 0 20
20 X2 -1 1 0 0 1 0 0 10
0 S4 1 0 0 0 0 1 0 20
0 S1 2 0 1 0 -1 0 0 5
J 30 0 0 0 -20 0 0 200
34
After deleting the row and the column of S5 and
performing one iteration, we obtain the following optimal
tableau:
CJ 10 20 0 0 0 0
Basis X1 X2 S1 S2 S3 S4 RHS
0 S2 0 0 -3 1 1 0 5
20 X2 0 1 1/2 0 1/2 0 12.5
0 S4 0 0 -1/2 0 1/2 1 17.5
10 X1 1 0 1/2 0 -1/2 0 2.5
J 0 0 -15 0 -10 0 275
35
Introducing a new variable
36
Reconsider the last example and suppose that a 3rd
respectively.
37
The new LP is then:
X1+X2+X3 15
4X1+2X2+2X3 40
-X1+X2 10
X1 20
X1, X2, X3 0
38
optimality will be
degraded with
respect to the dual
and hence
improved with
Constraint not respect to the
satisfied by the OS* primal
Introducing a
variable in the It is worthwhile
primal = adding a introducing this
new constraint in variable in this case
the dual
39
In the previous example, variable X3 corresponds in the dual
Y1 + 2Y2 ≥ 10
40
Introducing a new variable is We are usually interested in
41
Deleting a variable
42
Deleting a variable X
=
introducing a new
constraint: X = 0
43