15-Module - 3 Integer Programming Problems-03-09-2024
15-Module - 3 Integer Programming Problems-03-09-2024
subject to
Two methods:
Simplex method
Gomory’s constraint
Minimize Z= 2x1+3x2
subject
x1+x2 ≥6 ; 7x1+x2 ≥ 14 ;
Minimize Z= 2x1+3x2
subject
Now, consider the following maximize type LP problem for the given minimize type LP
problem:
Maximize P = -2x1-3x2
subject
Maximize P = -2x1-3x2
subject
x1, x2 ≥ 0.
Maximize P = -2x1-3x2
subject
-x1-x2 +x3 = -6 ;
x1, x2 , x3, x4 ≥ 0
Initial table:
C -2 -3 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
0 x3 -1 -1 1 0 -6 6
0 x4 -7 -1 0 1 -14 2
Zj-Cj 2 3 0 0 0
Ratio -2/7 -3 - -
C -2 -3 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
0 x3 0 -6/7 1 -1/7 -4 28
-2 x1 1 1/7 0 -1/7 2
Zj-Cj 0 19/7 0 2/7
Ratio -19/6 -2
C -2 -3 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
0 x4 0 -6 -7 1 28
-2 x1 1 1 -1 0 6
Zj-Cj 0 1 2 0 -12
Ratio
P2: Using cutting plane method, solve the following integer L P problem
Maximize Z= 5x1+8x2
subject to
Soln:
Maximize Z= 5x1+8x2
subject to
The Std. form of the LP problem corresponding to the given Integer LP problem.
Maximize Z= 5x1+8x2+0x3+0x4
subject to
x1+2x2 +x3 = 8 ;
4x1+x2+ x4 = 10,
x1 , x2, x3, x4 ≥ 0 .
Initial table
C 5 8 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
0 x3 1 2 1 0 8 8/2=4
0 x4 4 1 0 1 10 10/1=10
Zj-Cj -5 -8 0 0 0
Entering variable – x2 and Leaving variable –x3.
C 5 8 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
8 x2 1/2 1 1/2 0 4 8
0 x4 7/2 0 -1/2 1 6 12/7
Zj-Cj -1 0 4 0 32
C 5 8 0 0
CBV BV x1 x2 x3 x4 Soln Ratio
8 x2 0 1 4/7 -1/7 22/7
5 x1 1 0 -1/7 2/7 12/7
Zj-Cj 0 0 27/7 2/7 236/7
Since Zj-Cj ≥ 0, for all j, the current table is optimal. We stop the process.
Since x1 and x2 are not integer, it is not optimal solution to the given problem.
Now, x1 = 1+5/7
x2 = 3+1/7
Now, we have
x1+0x2+(-1/7)x3+(2/7)x4=12/7
x1+0x2+(-1+6/7)x3+(2/7)x4=1+5/7
Gomory’s constraint:
(6/7)x3+(2/7)x4 ≥ 5/7
That is, -(6/7)x3-(2/7)x4 ≤ -5/7
C 5 8 0 0 0
CBV BV x1 x2 x3 x4 x5 Soln
8 x2 0 1 4/7 -1/7 0 22/7
5 x1 1 0 -1/7 2/7 0 12/7
0 x5 0 0 -6/7 -2/7 1 -5/7 x
Zj-Cj 0 0 27/7 2/7 0 236/7
Ratio - - -27/6 -1 -
C 5 8 0 0 0
CBV BV x1 x2 x3 x4 x5 Soln
8 x2 0 1 1 0 -1/2 7/2
5 x1 1 0 -1 0 1 1
0 x4 0 0 3 1 -7/2 5/2
Zj-Cj 0 0 3 0 66/2
Now, x2 = 3+1/2
Now, we have
0x1+x2+x3+0x4+(-1/2)x5=7/2
Gomory’s constraint:
(1/2)x5 ≥ 1/2
C 5 8 0 0 0 0
CBV BV x1 x2 x3 x4 x5 x6 Soln
8 x2 0 1 1 0 -1/2 0 7/2
5 x1 1 0 -1 0 1 0 1
0 x4 0 0 3 1 -7/2 0 5/2
0 x6 0 0 0 0 -1/2 1 -1/2 X
Zj-Cj 0 0 3 0 1 0 66/2
Ratio - - - - -2 -
C 5 8 0 0 0 0
CBV BV x1 x2 x3 x4 x5 x6 Soln
8 x2 0 1 1 0 0 -1 4
5 x1 1 0 -1 0 0 2 0
0 x4 0 0 3 1 0 -7 6
0 x5 0 0 0 0 1 -2 1
Zj-Cj 0 0 3 0 1 0 32
Since the values of x1 and x2 are integers, this is the optimal solution . We stop the computation.