Consider a network with nodes 1, 2, 3, 4, 5 and 6. The nodes are connected with directed arcs as shown in the table below. The respective costs (in INR) incurred while traversing the directed arcs are also mentioned. Directed arcs  1 → 2 1 → 3 2 → 4 2 → 5 3 → 2 3 → 4 3 → 5 4 → 5 4 → 6 5 → 6 Cost (in INR) 3 9 3 2 2 4 8 7 2 2 The second shortest path from node 1 to node 6 (i.e. the path that has the second least total cost and does not use any part of the shortest path) has a total cost (in INR) of

Consider a network with nodes 1, 2, 3, 4, 5 and 6. The nodes are connected with directed arcs as shown in the table below. The respective costs (in INR) incurred while traversing the directed arcs are also mentioned. Directed arcs  1 → 2 1 → 3 2 → 4 2 → 5 3 → 2 3 → 4 3 → 5 4 → 5 4 → 6 5 → 6 Cost (in INR) 3 9 3 2 2 4 8 7 2 2 The second shortest path from node 1 to node 6 (i.e. the path that has the second least total cost and does not use any part of the shortest path) has a total cost (in INR) of Correct Answer 15

Calculation:

Given:

[ alt="F1 Shraddha Ateeb 21.06.2021 D4" src="//storage.googleapis.com/tb-img/production/21/06/F1_Shraddha_Ateeb_21.06.2021_D4.png" style="width: 309px; height: 156px;">

Path Duration
1 - 3 - 4 - 6 9 + 4 + 2 = 15
1 - 3 - 2 - 4 - 6 9 + 2 + 3 + 2 = 16
1 - 3 - 4 - 5 - 6 9 + 4 + 7 + 2 = 22
1 - 3 - 2 - 5 - 6 9 + 2 + 2 + 2 = 15
1 - 3 - 2 - 4 - 5 - 6 9 + 2 + 3 + 7 + 2 = 23
1 - 2 - 4 - 6 3 + 3 + 2 = 8
1- 2 - 5 - 6 3 + 2 + 2 = 7
1 - 2 - 4 - 5 - 6 3 + 3 + 7 + 2 = 15


∴ The second shortest path from node-1 to node-6 has a total cost of 15

Related Questions