Question

Problem No. 10.2-3. Consider the following project network (as described in Sec. 9.8), where the number over each node is the

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Consider the following network problem and the associated figure from the textbook, the objective is to find the longest distance from start to finish.

(a)

There are four stages that have been taken from the origin to the destination in the given problem. The first stage is the origin or the Start. The second stage is the next step from origin towards the destination. It can take any of the two states 13954-11.2-3P-i2.pngorВ.

Now at stage-2 contains states 13954-11.2-3P-i4.pngandВ.

At third stage are the next possible nodes in the route. So the stage-3 has three states C,DandE. As move further, the possible nodes in the route are F,G,Hand1.

At states form the stage-4. The next stage will then have just one more step before the finish. This is stage-5 and it has states JAKand7. Thus finally reach the Finish of the network through these stages and states in the given dynamic programming formulation

(9)

In the dynamic programming problem, start from the destination node and compute the longest distance at each stage. Eliminate the shorter routes at each stage in the process. In the given figure, it is given that

f: ()=5 fs *(K)=4 f (L)= 7

To obtain fi(F)compute the distance of pathF-J– Finish.

f. (F)= f4(F,J)+f; (1) = 1+5 = 6

To obtain f. (6)compute the distance of pathG-K– Finish.

f. (G)= f,(G,K)+f, (K) = 4+4 = 8

To obtain f. (H)compute the distance of pathH-K– Finish.

f. (H)= f:(H,K)+f, (K) = 6+4 = 10

To obtain 1:1)compute the distance of path7-1– Finish.

f. (1)=f4(1,1)+f, (L) = 2 +7 = 9

Now at stage-3 computations,

To obtain f(C)compute the largest distance from pathsC-F-– Finish and C-G-K– Finish.

$ (C)= max{;(C,F)+ fi(F)] (C,G)+f: (G) $ (C)= max(4+67 4+8) (10) f: (C)= max 12 = 12

To obtain 3 (D)compute the largest distance from pathsD-H-K– Finish and D-1-L– Finish.

S1;(D,H)+f: (H) f (D)=max 1 (0,1)+1: (1) 2+10 $ (D)=max (2+9 12 L (D)=max 11 = 12

To obtain f3(E)compute the largest distance from pathsE-H-K– Finish and E-1-L– Finish.

1. (E)= max {(E,H)+ fi (H) (6 (1,1)+1: (1) (3+10 f; (E)= max 13+9) 13 f; (E)= max 12) = 13

Now at stage-2, to obtain the value of (4)

f2 (A)=max $13(4,0)+f; (C)] 13(A,D)+f; (D) 5+12 fi (A) = max 5+12 171 f. (A)= max (17) = 17

Similarly find,

fi (B) = f(BE)+f; (E) = 3+13 = 16

Finally the stage-1 computations,

fi (S)= max (S, A)+fi (A (S,B)+f? (B) ti (S)= max {0+17) 10+16 (171 f (S)= max (16) = 17

So the graphical solution of the dynamic programming problem is,

Stages: 2 3 States: 17 А 12 C 17 G 4 K S X 12 D 10 Н. 16 13 L B E 7 1

So the longest path from start to finish is Start - A-C-G-K - FinishorStart - A-D-H-K - Finish, both giving the longest time as 17.

(c)

The finish node can be reached through either stateJ,K or L. Therefore at stage-5 the solution is,

n= 5

s

f* 5 (s)

x 5 *

J

5

J

K

4

K

L

7

L

As we proceed to stage-4, we compute the table forn=4. So,

n= 4

s

f 4 (s)

f* 4 (s)

x 4 *

J

K

L

F

6

-

-

6

J

G

-

8

-

8

K

H

-

10

-

10

K

I

-

-

9

9

L

Further for stage-3 we have table for n=3as,

n= 3

s

f 3 (s)

f* 3 (s)

x 3 *

F

G

H

I

C

10

12

-

-

12

G

D

-

-

12

11

12

H

E

-

-

13

12

13

H

The next step is to compute the table for n = 2 at stage-2,

n= 2

s

f 2 (s)

f* 2 (s)

x 2 *

C

D

E

A

17

17

-

17

C or D

B

-

-

16

16

E

To proceed further, node can go to states A and B so,

n= 1

s

f 1 (s)

f* 1 (s)

x 1 *

A

B

Start

17

16

17

A

Thus the longest path is Start - A-C-G-K - Finishor Start - A-D-H-K - Finishwith longest duration as[17].

Add a comment
Know the answer?
Add Answer to:
Problem No. 10.2-3. Consider the following project network (as described in Sec. 9.8), where the number...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT