DP 2
DP 2
DP 2
Contents
4
2 6
7 5
8
8
5 8
8 8
5 10 9
1 3 6 10
5 7
6 9 9
4 5
5
4 7 7
7
s X1 f1*(s) X1*
8 10 8 10
9 10 9 10
Backward Recursive Approach
✔ n=2: Two more stage to go
s X2 f2*(s) X2*
8 9
5 6+8 8+9 14 8
=14 =17
6 9+8 7+9 16 9
=17 =16
7 5+8 7+9 13 8
=13 =16
Corresponding
Backward Recursive Approach
✔ n=3: Three more stage to go
s X3 f3*(s) X3*
5 6 7
2 4+14 16+7 8+13 18 5
=18 =23 =21
3 8+14 10+16 5+13 18 7
=22 =26 =18
Corresponding
Backward Recursive Approach
✔ n=4: Four more stage to go
s X4 f4*(s) X4*
2 3 4
1 5+18 5+18 6+18 23 2, 3
=23 =23 =24
Corresponding
Final solution
• 1-2-5-8-10
• 1-3-7-8-10
• Z=23.
Terminology
A B C D
Terminology
70-74 2 0.85 2
75-79 3 0.88 3
80-145 4 0.90 4
Corresponding value
✔ n=2: Two more stage to go
s X3 f2*(s) X3*
1 2 3 4
135-139 0.7X0.8 -- -- -- 0.56 1
=0.56
140-144 0.7X0.8 0.8X0.8 -- -- 0.64 2
=0.56 =0.64
145-149 0.7X0.85 0.8X0.8 0.9X0.8 -- 0.72 3
=0.595 =0.64 =0.72
150-154 0.7X0.88 0.8X0.85 0.9X0.8 0.95X0.8 0.76 4
=0.616 =0.68 =0.72 =0.76
155-159 0.7X0.9 0.8X0.88 0.9X0.85 0.95X0.8 0.765 3
=0.63 =0.704 =0.765 =0.76
160-164 0.7X0.9 0.8X0.9 0.9X0.88 0.95X0.85 0.8075 4
=0.63 =0.72 =0.792 =0.8075
165-169 0.7X0.9 0.8X0.9 0.9X0.9 0.95X0.88 0.836 4
=0.63 =0.72 =0.81 =0.836
170-220 0.7X0.9 0.8X0.9 0.9X0.9 0.95X0.9 0.855 4
=0.63 =0.72 =0.81 =0.855
Recursive relation
✔ n=2: Two more stage to go
Corresponding value
✔ n=3: Two more stage to go
s X2 f3*(s) X2*
1 2 3 4
215-219 0.7X0.56 -- -- -- 0.392 1
=0.392
220-224 0.7X0.64 -- -- -- 0.448 1
=0.448
225-229 0.7X0.72 -- -- -- 0.504 1
=0.504
230-234 0.7X0.76 -- -- -- 0.532 1
=0.532
235-239 0.7X0.765 0.75X0.56 -- -- 0.5355 1
=0.5355 =0.42
240-244 0.7X0.8075 0.75X0.64 -- -- 0.56525 1
=0.56525 =0.48
Corresponding value
Backward Recursive Approach
✔ n=4: Four more stage to go
s X1 f4*(s) X1*
1 2 3 4
Corresponding value
Final solution
• Solution 1:
• Solution 2: