Industrial Engineering
Operations Research
31/10/2016
Teori Dualitas
Operations Research
31/10/2016
Konsep Dualitas
Dilatar belakangi teori bahwa setiap permasalahan LP
(program linier) mempunyai suatu LP (program linier)
yang lain yang saling berkaitan yang disebut dual
Masalah LP dual adalah sebuah masalah LP yang
diturunkan secara matematis dari satu model LP semula (
yang disebut primal)
Sehingga solusi pada permasalahan semula (primal) juga
mempunyai solusi pada permasalahan dualnya
Operations Research
31/10/2016
Bentuk Standar
Masalah Primal
n
Masalah Dual
m
max Z c j x j ,
min W bi yi ,
ST :
ST :
j 1
a x
j 1
ij
bi , i 1,2,..., m
x j 0, j 1,2,..., n
4
i 1
a
i 1
ij
yi c j , j 1,2,..., n
yi tak dibatasi
Operations Research
31/10/2016
Bentuk Standar
Masalah Primal
n
Masalah Dual
m
min Z c j x j ,
max W bi yi ,
ST :
ST :
j 1
a x
j 1
ij
bi , i 1,2,..., m
x j 0, j 1,2,..., n
5
i 1
a
i 1
ij
yi c j , j 1,2,..., n
yi tak dibatasi
Operations Research
31/10/2016
Operations Research
31/10/2016
Aturan-aturan (Taha)
Untuk setiap batasan primal terdapat sebuah variabel dual
Untuk setiap variabel primal terdapat sebuah batasan dual
Koefisien batasan dari sebuah variabel primal membentuk
koefisien sisi kiri dari batasan dual yang bersesuaian; dan
koefisien tujuan dari variabel yang sama menjadi sisi kanan
dari batasan dual
Operations Research
31/10/2016
x1
x2
xj
xn
c1
c2
cj
cn
bi
a11
a12
a1j
a1n
b1
y1
a21
a22
a2j
a2n
b2
y2 Variabel
dual
:
amn
bm
am1 am2
amj
ym
tujuan dual
Operations Research
31/10/2016
y1
y2
yi
ym
b1
b2
bi
bm
cj
a11
a12
a1j
a1n
c1
x1
a21
a22
a2j
a2n
c2
x2 Variabel
primal
:
amn
cn
am1 am2
amj
Batasan primal
ke-j
9
xn
tujuan primal
Operations Research
31/10/2016
Hubungan Primal-Dual
Dual
Tujuan Primal
Standar
Tujuan
Batasan
Variabel
Maksimisasi
Minimisasi
Tidak dibatasi
Minimisasi
Maksimisasi
Tidak dibatasi
10
Operations Research
31/10/2016
Contoh:
Primal
Max z = 5 x1 + 12 x2 + 4 x3
ST
x1 + 2 x2 +
x3 10
2 x1 x2 + 3 x3 = 8
x1,
x2,
x3 0
11
Operations Research
31/10/2016
Contoh:
Primal Standar
Max z = 5 x1 + 12 x2 + 4 x3 +0s1
ST
x1 + 2 x2 +
x3 + s1 = 10
2 x1 x2 + 3 x3
= 8
x1,
x2,
x3, s1 0
12
Operations Research
31/10/2016
Contoh:
Dual
Min W = 10 y1 +
ST
y1 +
2 y1 y1 +
y1 +
y1,
13
8 y2
2 y2 5
y2 12
3 y2 4
0 y2 0 (y1 0)
y2 tak dibatasi
Operations Research
31/10/2016
2.
14
Operations Research
31/10/2016
Contoh
Primal
Dual
Min Z = 5 X1 + 2 X2
ST
X1 X2 3
2 X1 + 3 X2 5
X1, X2 0
Max w = 3 y1 + 5 y2
ST
y1 + 2 y2 5
- y1 + 3 y2 2
- y1 0 (y1 0)
- y2 0 (y2 0)
15
Operations Research
31/10/2016
Contoh
Primal (min)
Dual (max)
Pemecahan Layak
x1 = 3
x2 = 0
Pemecahan Layak
y1 = 3
y2 = 1
Nilai tujuan
z = 15
Nilai tujuan
w = 14
16
Operations Research
31/10/2016
Contoh
Primal
Dual
Pemecahan Optimal
x1 = 3
x2 = 0
Pemecahan Optimal
y1 = 5
y2 = 0
Nilai tujuan
z = 15
Nilai tujuan
w = 15
17
Operations Research
31/10/2016
18
Operations Research
31/10/2016
19
Operations Research
31/10/2016
20
Dasar
z
s1
R1
z
1
0
0
x1
-2M-5
1
2
x2
M-12
2
-1
x3
-3M-4
1
3
s1
0
1
0
R1
0
0
1
RHS
-8M
10
8
Dasar
z
s1
x3
z
1
0
0
x1
-2 1/3
1/3
2/3
x2
-13 1/3
2 1/3
-1/3
x3
0
0
1
s1
0
1
0
Dasar
z
x2
x3
z
1
0
0
x1
-3/7
1/7
5/7
x2
0
1
0
x3
0
0
1
s1
5 5/7
3/7
1/7
R1
-4/7 + M
-1/7
2/7
RHS
Rasio
52 4/7
3 1/7
22
3 5/7 5 1/5
Dasar
z
x2
x1
z
1
0
0
x1
0
0
1
x2
0
1
0
x3
3/5
-1/5
1 2/5
s1
5 4/5
2/5
1/5
R1
-2/5 + M
-1/5
2/5
RHS
54 4/5
2 2/5
5 1/5
Rasio
10
2 2/3
R1
RHS
Rasio
1 1/3 + M 10 2/3
-1/3
7 1/3 3 1/7
1/3
2 2/3
~
Operations Research
31/10/2016
Solusi optimal:
X1 = 5 1/5
X2 = 2 2/5
X3 = 0
S1 = 0
R1 = 0
Zmaksimum = 54 4/5
21
Operations Research
31/10/2016
12
x2
2
-1
4
x3
1
3
0
s1
1
0
-M
R1
0
1
Z
bi
10
8
22
8
y2
2
-1
3
0
1
W
Cj
>=
>=
>=
>=
>=
5
12
4
0
-M
Operations Research
31/10/2016
Operations Research
31/10/2016
24
Operations Research
31/10/2016
y1
4M - 10
1
2
1
Dasar W
y1
W
1 8/3 M - 22/3
R1
0
1/3
R2
0
2 1/3
y2' 0
1/3
y2'
4M - 8
2
-1
3
y2"
-4M + 8
-2
1
-3
s1
-M
-1
0
0
s2
-M
0
-1
0
s3
-M
0
0
-1
R1
0
1
0
0
R2
0
0
1
0
R3
0
0
0
1
RHS
21M
5
12
4
y2'
0
0
0
1
y2"
0
0
0
-1
s1
-M
-1
0
0
s2
-M
0
-1
0
s3
1/3 M - 8/3
2/3
-1/3
-1/3
R1
0
1
0
0
R2
0
0
1
0
R3
-4/3 M + 8/3
-2/3
1/3
1/3
RHS
15 2/3 M
2 1/3
13 1/3
1 1/3
s1
0
-1
0
0
s2
0
0
-1
0
s3
3M - 10
1
2
-1
R1
0
1
0
0
R2
0
0
1
0
R3
-4M + 10
-1
-2
1
RHS
5M + 40
1
4
4
Dasar W
W
1
R1
0
R2
0
y1
0
y1
0
0
0
1
Dasar W
W
1
R1
0
y2" 0
y1
0
y1
0
0
0
1
y2'
0
0
-1
0
y2"
0
0
1
0
s1
-M
-1
0
0
Dasar W
W
1
s3
0
y2" 0
y1
0
y1
0
0
0
1
y2'
0
0
-1
0
y2"
0
0
1
0
s1
-5 1/5
-1 2/5
2/5
-1/5
25
y2'
y2"
-8M + 22 8M - 22
-1
1
-7
7
3
-3
s2
s3
1/7 M - 22/7 5/7 M - 26/7
1/7
5/7
-1/7
2/7
-3/7
-1/7
s2
-2 2/5
1/5
-1/5
-2/5
s3
0
1
0
0
R1
0
1
0
0
R1
26/5 - M
1 2/5
-2/5
1/5
R2
R3
RHS
-8/7 M + 22/7 -12/7 M + 18/7 3/7 M + 44/7
-1/7
-5/7
3/7
1/7
-2/7
4/7
3/7
1/7
5 5/7
R2
12/5 - M
-1/5
1/5
2/5
Operations Research
R3
-M
-1
0
0
31/10/2016
RHS
54 4/5
3/5
2/5
5 4/5
Rasio
2,5
-12
1,333333333
Rasio
7
5 5/7
4
Rasio
1
4/7
-4/3
Rasio
3/5
2
-40
Solusi Optimal:
Y1 = 5 4/5
Y2 = 0
Y2 = 2/5
Y2 = Y2 Y2 = -2/5
S1 = 0
S2 = 0
S3 = 3/5
Wminimum = 54 4/5
26
Operations Research
31/10/2016
1.
2.
27
Operations Research
31/10/2016