= $ 10000
Keput usan Variabel (x
= ( x
1
, x
2
) ) : keput usan dal am t ahap i t er di r i dar i j uml ah uang unt uk
ber i nvest asi , x
1
, dal am keli pat an sebesar $ 10000, dan j eni s i nvest asi yang akan di buat , , x
2
{ 0, A, B} ,
di mana 0 ber ar t i t i dak ada i nvest asi yang di buat .
Kebijakan Opt imal (
( S
) = S
) : i nvest asi yang opt i mal mer encanakan unt uk t ahun i , mengi ngat
bahw a uang di t angan S
.
unt uk menyeder hanakan sol usi , ki t a gunakan $1000 sebagai sat uan uang, maka
Hubungan Berulang: Unt uk 0 S
10, x
= ( x
1
, x
2
) = ( 0,0) ,
( S
) = S
untuk S
10,
k =
+1
( S
) , untuk ( x
1
, x
2
) = ( 0,0)
m ax
x
i1
A
{ 0,4
+1
( S
x
1
) + 0,6
+1
( S
+ x
1
) } , untuk x
2
= A
m ax
x
i1
A
{ 0,9
+1
( S
) + 0,1
+1
( S
+ x
1
) } , untuk x
2
= B
Dimana A = { o: o = 10,20, ; o S
} adal ah himpunan j uml ah i nvest asi yang mungki n (dal am r i buan dol ar ).
Bat as Kondisi :unt uk 0 S
3
< 10, x
3
= ( x
31
, x
32
) = ( 0,0) ,
3
( S
3
) = S
3.
untuk S
3
10,
k =
S
3
, untuk ( x
31
, x
32
) = ( 0,0)
m ax
x
31
A
{ 0,4 ( S
3
x
31
) + 0,6 ( S
3
+ x
31
) } , untuk x
32
= A
m ax
x
31
A
{ 0,9 ( S
3
) + 0,1 ( S
3
+ x
31
) } , untuk x
32
= B
di mana A = { o: o = 10,20, ; o S
3
}
Jaw aban :
1
( 10)
Numerik Solusi:
Tabel di baw ah i ni menganal isi s semua pel uang i nvest asi yang m ungki n unt uk set i ap t ahun (t a ha p)
t er gant ung pada uang yang ada di t angan pada aw al t ahun (kea da a n). Keput usan yang di ambi l adal ah
yang memberi kan pengembali an yang di har apkan maksi mal pada akhi r t ahun ket i ga di pi li h.
t ahap 3(i=3)
S
3
X
31
S
3
, 4 ( S
3
x
31
) + , ( S
3
+ x
31
) , 9 ( S
3
) + , 1 ( S
3
+ x
31
)
x
31
x
32
3
( S
3
)
X
32
=0 X
32
=A X
32
=B
0 0 0 - - 0 0 0
10 0 10 - -
10 - 0,4x(10-10)+0,6x(10+10)= 12 0,9x(10)+0,1x(10+10)= 11 10 A 12
20 0 20 - -
10 - 0,4x(20-10)+0,6x(20+10)= 22 0,9x(20)+0,1x(20+10)= 21 20 A 24
20 - 0,4x(20-20)+0,6x(20+20)= 24 0,9x(20)+0,1x(20+20)= 22
30 0 30
10 - 0,4x(30-10)+0,6x(30+10)= 32 0,9x(30)+0,1x(30+10)= 31
20 - 0,4x(30-20)+0,6x(30+20)= 34 0,9x(30)+0,1x(30+20)= 32
30 - 0,4x(30-30)+0,6x(30+30)= 36 0,9x(30)+0,1x(30+30)= 33 30 A 36
40 0 40
10 - 0,4x(40-10)+0,6x(40+10)= 42 0,9x(40)+0,1x(40+10)= 41
20 - 0,4x(40-20)+0,6x(40+20)= 44 0,9x(40)+0,1x(40+20)= 42
30 - 0,4x(40-30)+0,6x(40+30)= 46 0,9x(40)+0,1x(40+30)= 43
40 - 0,4x(40-40)+0,6x(40+40)= 48 0,9x(40)+0,1x(40+40)= 44 40 A 48
Tahap 2(i=2)
S
2
X
21
3
( S
2
) , 4
3
( S
2
x
21
) + ,
3
( S
2
+ x
21
) , 9
3
( S
2
x
21
) + , 1
3
( S
2
+ x
21
)
x
21
x
22
2
( S
2
)
X
22
= 0 X
22
=A X
22
=B
0 0
3
( 0)
= 0 - - 0 0 0
10 0
3
( 10)
= 12 - -
10 -
0,4xf
3
(10-10)+0,6x f
3
(10+10)
= 0,4 x 0 + 0,6x24=14,4
0,9xf
3
(10)+0,1x f
3
(10+10)
= 0,9x12 + 0,1x24=13,2 10 A 14,4
20 0
3
( 20)
= 24 - -
10 -
0,4xf
3
(20-10)+0,6x f
3
(20+10)
= 0,4 x12 + 0,6x36=26,4
0,9xf
3
(20)+0,1x f
3
(20+10)
= 0,9x24 + 0,1x36=25,2
20 -
0,4xf
3
(20-20)+0,6x f
3
(20+20)
= 0,4 x0 + 0,6x48=28,8
0,9xf
3
(20)+0,1x f
3
(20+20)
= 0,9x24 + 0,1x48=26,4
20 A 28,8
Tahap 1(i=1)
S
1
X
11
2
( S
1
) , 4
2
( S
1
x
11
) + ,
2
( S
1
+ x
11
) , 9
2
( S
1
x
11
) + , 1
2
( S
1
+ x
11
)
x
11
x
12
1
( S
1
)
X
12
= 0 X
12
=A X
12
=B
10 0
2
( 10)
= 14,4 - - 0 0 0
10 -
0,4xf
2
(10-10)+0,6x f
2
(10+10)
= 0,4 x0 + 0,6x28,8=17,28
0,9xf
2
(10)+0,1x f
2
(10+10)
=0,9x14,4+0,1x28,8=15,84 10 A 17,28
Solusi Opt imal :
x
( x
1
, x
2
) = ( 10, A) Invest asi $10000 dal am A
2
( 10) = 17,28 Juml ah uang yang di har apkan pada akhi r t ahun ket i ga akan menj adi
$17280
Daft ar Pust ak a
Ravi ndr a, A.Rani . 2009. Oper at i ons Resear ch Met hodol ogi es . New Yor k : CRC Pr ess.
Bel l man, R.E. 1952, On t he Theor y of Dynami c Pr ogr ammi ng . Pr oceedi ngs of t he Nat i onal
Academy of Sci ences, 38, pp.716- 719.