PERTEMUAN- 05
Optimasi Fungsi Dengan Kendala Kesamaan
(Metode Substitusi Langsung)
HARPITO, ST., MT
1
Metode Substitusi Langsung
Jika fungsi objektif: z = f(x, y)
s.t. u = g(x, y) → fungsi kendala
1) manipulasi fungsi kendala menjadi
persamaan salah satu variabel
2) Substitusi persamaan tersebut kedalam
fungsi objektifitasnya
3) Cari turunan pertama dari fungsi tersebut
(untuk mencari nilai ekstrim)
4) Selidiki maksimum/minimum dengan mencari
turunan kedua sesuai dengan persyaratan
Contoh (1) Metode Substitusi
Minimumkan f(x1, x2, x3)= ½(x12+ x22+ x32)
Kendala g1= x1- x2
g2= x1+x2+x3-1
Jawab:
g1= 0 ⇒x1= x2
g2= 0 ⇒x1+x1+x3-1=0 ⇒ x3=1-2x1
f(x1, x2, x3)= ½(x12+ x12+ (1-2x1)2)=½(2x12+(1-2x1)2)⇒ f(x1)
δf
= ½(4x1+2(1-2x1)(-2)) = 2x1-2(1-2x1)
δx1
δf = 0 ⇒ x1-(1-2x1)= 0 ⇒ x1-1+2x1= 0 ⇒ 3x1= 1
δx1 x1= 1/3, x2= 1/3
x3= 1-2/3 = 1/3
δ2f = 2+4=6>0, f(1/3,1/3,1/3)= 1/6 ⇒ Optimum Minimum
δx1 2
Contoh (1) Metode Substitusi
Minimumkan f(x1, x2, x3)= ½(x12+ x22+ x32)
Kendala g1= x1- x2
g2= x1+x2+x3-1
Jawab:
g1= 0 ⇒x1= x2
g2= 0 ⇒x1+x1+x3-1=0 ⇒ x3=1-2x1
f(x1, x2, x3)= ½(x12+ x12+ (1-2x1)2)=½(2x12+(1-2x1)2)⇒ f(x1)
δf
= ½(4x1+2(1-2x1)(-2)) = 2x1-2(1-2x1)
δx1
Contoh (2) Metode Substitusi
π = 80X – 2X2 – XY – 3Y2 + 100Y .…...… (1)
s.t. X + Y = 12 ............ (2)
Rearrange (2): X = 12 – Y ………. (3)
Substitusi (3) ke (1):
– 3Y2 + 100Y
THANK YOU