Tugas Simplex - Farouk Abdillah - 02411750012003
Tugas Simplex - Farouk Abdillah - 02411750012003
Tugas Simplex - Farouk Abdillah - 02411750012003
NRP : 02411750012003
KONSENTRASI : MANAJEMEN KUALITAS DAN MANUFAKTUR
TUGAS SIMPLEX PROBLEM
1
ERO 1 Create a coefficient of 1 for x2 in row 1 by multiplying row 3 by 2
1 1
Row 1' 2
x1 + x2 + 2
s1 = 9
ERO 2 To create a zero coefficient for x2 in row 0, replace row 0 with 3(row 1’) + row 0
1 3
Row 0' Z - x1 + s1 = 3
2 2
ERO 3 To create a zero coefficient for x2 in row 2, replace row 2 with -(row 1’) + row 2
3 1
Row 2' 2
x1 - 2
s1 + s2 = 5
Canonical Form 1
Basic
Row
Variable
1 3
0’ Z - 2
x1 + 2
s1 = 3 Z=9
1 1
1’ 2
x1 + x2 + 2
s1 = 3 x2 = 3
3 1
2’ 2
x1 - 2
s1 + s2 = 5 s2 = 5
Basic Variables = {z, x2, s2} ; Non - Basic Variables = {s1, x1}
Canonical form 1 z-value = initial z-value + 3(3)
=0+9 = 9
Do trials on canonical form 1 by using same algorithm steps and repeat until satisfying result
found.
By Using Lindo:
6
2 0 2 3 0 1 6 s2 = 6 2
=3
1
ERO 1 Create a coefficient of 1 for x1 in row 2 by multiplying row 2 by 2
ERO 2 To create a zero coefficient for x1 in row 0, replace row 0 with 3(row 2’) + row 0
ERO 3 To create a zero coefficient for x2 in row 2, replace row 2 with -4(row 2’) + row 1
1
2 0 1 0 3 0 1 1 s2 = 1 1
=1
ERO 1 Create a coefficient of 1 for x1 in row 2 by multiplying row 2 by 1
ERO 2 To create a zero coefficient for x1 in row 0, replace row 0 with (row 2’) + row 0
ERO 3 To create a zero coefficient for x2 in row 1, replace row 1 with (row 2’) + row 1
2 0 1 0 3 0 1 1 x1 = 1
z-value = initial z-value + [1(x1)]
= 0 + [1(1)] = 1 (point at (1,0,0))
Do trial on optimize tableau by using same algorithm steps and repeat until satisfying result found.
1
2 0 1 0 3 0 1 1 s2 = 1 0
= no feasible
ERO 1 Create a coefficient of 1 for x2 in row 1 by multiplying row 1 by 1
ERO 2 To create a zero coefficient for x1 in row 0, replace row 0 with (row 1’) + row 0
ERO 3 since coefficient of x2 at row 2 already 0, not needed to modify the row
2 0 1 0 3 0 1 1 s2 = 1
z-value = initial z-value + [1(x2)]
= 0 + [1(1)] = 1 (point at (0,1,0))
Result: z = 1 found at two optimum point (1,0,0) and (0,1,0)
By Using Lindo:
1
2 0 -2 1 0 1 1 s2 = 1 1
=1
ERO 1 Create a coefficient of 1 for x2 in row 2 by multiplying row 2 by 1
ERO 2 To create a zero coefficient for x2 in row 0, replace row 0 with 2(row 2’) + row 0
ERO 3 To create a zero coefficient for x2 in row 2, replace row 2 with -(row 2’) + row 1
2’ 0 -2 1 0 1 1 x2 = 1
Because the coefficient of x1 in all row of Optimized Tableau for LP is negative, it can be
concluded that solution of this problem is unbounded
By Using Lindo: