PROGRAMMING
TEORI
DUALITAS
Ketentuan Umum
1. Koefisien fungsi tujuan primal menjadi
konstanta ruas kanan dual
2. Konstanta ruas kanan primal menjadi
koefisien fungsi tujuan dual
3. Semua kolom primal menjadi kendala
dual
4. Semua kendala primal menjadi variabel
keputusan dual
5. Koefisien
kendala
variable
primal
menjadi
koefisien
yang
berkorespondensi dengan kendala dual
Contoh 1
Maksimum Z = 5x1 +
12x2 + 10x3
d.k
1. x1 + 2x2 + x3 10
2. 2x1 + x2 + 3x3 15
3. x1 x2 x3 0
Standarisasi Primal
Z maks = 5x1 + 12x2 + 10x3 + 0S1 +
0S2
dk
1. x1 + 2x2 + x3 +S1 = 10
2. 2x1 + x2 + 3x3 + S2 = 15
3. x1 x2 x3 S1 S2 0
Standarisasi
Dual
Minimum W = 10y1 +
15y2
dk
1. y1 + 2y2 5
2. 2y1 + y2 12
3. y1 + 3y2 10
4. y1 + 0y2 0
5. 0y1 + y2 0
Contoh 2
Minimum Z = 5x1 +
2x2
d.k
1. -x1 + x2 3
2. 2x1 + 3x2 5
3. x1 x2 0
Standarisasi Primal
Z min = 5x1 + 2x2 + 0S1 + 0S2
dk
1. -x1 + x2 +S1 = 3
2. 2x1 + 3x2 + S2 = 5
3. x1 x2 S1 S2 0
Standarisasi Dual
Maksimum W = 3y1 + 5y2
dk
1. -y1 + 2y2 5
2. y1 + 3y2 2
3. y1 + 0y2 0
4. 0y1 + y2 0
Contoh
3
Maksimum Z = 5x1 + 12x2 +
4x3
d.k
1. x1 + 2x2 + x3 10
2. 2x1 - x2 + 3x3 = 8
3. x1 x2 x3 0
Standarisasi Primal
Z maks = 5x1 + 12x2 + 4x3 + 0S1
dk
1. x1 + 2x2 + x3 + S1 = 10
2. 2x1 - x2 + 3x3 + 0S1 = 8
3. x1 x2 x3 S1 0
Standarisasi Dual
Minimum W = 10y1 + 8y2
dk
1. y1 + 2y2 5
2. 2y1 - y2 12
3. y1 + 3y2 4
4. y1 0
5. y2 tidak bertanda
Contoh 4
Minimum Z = 15x1 + 12x2
d.k
1. x1 + 2x2 3
2. 2x1 - 4x2 5
3. x1 x2 0
Standarisasi Primal
Z min = 15x1 + 12x2 + 0S1 + 0S2
dk
1. x1 + 2x2 - S1 = 3
2. 2x1 - 4x2 + S2 = 5
3. x1 x2 S1 S2 0
Standarisasi Dual
Maksimum W = 3y1 + 5y2
dk
1. y1 + 2y2 15
2. 2y1 - 4y2 12
3. -y1 + 0y2 0
4. 0y1 + y2 0
Contoh 5
Maksimum Z = 5x1 + 6x2
d.k
1. x1 + 2x2 = 5
2. -x1 + 5x2 3
3. 4x1 + 7x2 8
4. x2 0
5. x1 tak bertanda
Standarisasi Primal
x1 = x1 + - x1Z max = 5x1+ - 5x1- + 6x2
dk
1. x1 + - x1- + 2x2 = 5
2. -x1 + + x1- + 5x2 S1 = 3
3. 4x1 + - 4x1- + 7x2 + S2 = 8
4. x1 + x1- x2 0
Standarisasi Dual
Minimum W = 5y1 + 3y2 + 8y3
dk
1. y1 - y2 + 4y3 5
2. -y1 + y2 4y3 -5
3. 2y1 + 5y2 + 7y3 6
4. -y2 0
5. y3 0
6. y1 y2 y3 tak terbatas
Contoh
Primal Z maks = 5x1 + 12x2 +
10x3
d.k
1) x1 + 2x2 + x3 10
2) 2x1 + x2 + 3x3 15
3) x1 x2 x3 0
1) y1 + 2y2 5
2) 2y1 + 1y2 12
3) y1 + 3y2 10
4) y1 + 0y2 0
5) 0y1 + y2 0
Iterasi
1
C
B
VB
0
0
S1
S2
ZjCj
x
1
2
0
1
Optimu 2
m
1
0
S2
ZjCj
x
2
x3
Zj-
Cj 5
1
2
b
x1
x2
j 10
1 2
15
2 1
0
-5 5
0,5 1
1
2
10 1,5 0
60
1 0
3
4
76
10 0
x3 S1
1 1
3 0
0
10
0, 0,5
5
2, 0,5
-4
6
5
0,2 1 0 0,6
0,6 0 1
3,4 0 0 0,2
5,2
0
S2
0
1
0
0
1
0
0,2
0,4
1,6
Cj
CB
Iter
asi
1
Iter
asi
3
Opti
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