recategorized by
1,938 views
6 6 votes

The figure below describes the network of streets in a city where Motabhai sells $\text{pakoras}$ from his cart. The number next to an edge is the time (in minutes) taken to traverse the corresponding street.

 

At present, the cart is required to start at point $s$ and, after visiting each street at least once, reach point $t$. For example, Motabhai can visit the streets in the following order $$s-a-c-s-e-c-d-a-b-d-f-e-d-b-t-f-d-t$$

in order to go from $s$ to $t$. Note that the streets $\{b,d\}$ and $\{d, f \}$ are both visited twice in this strategy. The total time taken for this trip is $440$ minutes [which is, $380$ (the sum of traversal times of all streets in the network) $+ 60$ (the sum of the traversal times of streets $\{b,d\}$ and $\{d,f\}$)].

Motabhai now wants the cart to return to $s$ at the end of the trip. So the previous strategy is not valid, and he must find a new strategy. How many minutes will Motabhai now take if he uses an optimal strategy?

Hint: $s, t, b$ and $f$ are the only odd degree nodes in the figure above.

  1. $430$
  2. $440$
  3. $460$
  4. $470$
  5. $480$

1 Answer

4 4 votes
The way to approach this question is to know that proof of "Euler Circuit" problem. Know the proof to get the idea why the following that I am writing, makes sense.
Here we have 4 vertices of odd degree, so, Euler circuit doesn't exist But if you still want to go from S to S by visiting every edge at least once and with minimum cost (i.e. visiting every edge at least once and as minimum repetition as possible) then for every odd degree vertex you have to re-visit one edge incident on that vertex. So, to get minimum cost,
For S, you can revisit(i.e. visit two times ) s-a (cost 10)
For t, f, you can revisit(i.e. visit two times ) t-f (cost 20)
For b, you can revisit(i.e. visit two times ) b-a (cost 20)

So, 380 + 20 + 20 + 10 = 430
Answer:
Position:
Show:

Related questions

5 5 votes
2 2 answers
1.6k
1.6k views
admin asked Feb 10, 2020
1,561 views
Let $G$ be an undirected graph. An Eulerian cycle of $G$ is a cycle that traverses each edge of $G$ exactly once. A Hamiltonian cycle of $G$ is a cycle that traverses ea...
3 3 votes
5 5 answers
5.4k
5.4k views
admin asked Feb 10, 2020
5,435 views
Which of the following graphs are bipartite?Only $(1)$Only $(2)$Only $(2)$ and $(3)$None of $(1),(2),(3)$All of $(1),(2),(3)$
10 10 votes
1 answers 1 answer
3.3k
3.3k views
go_editor asked Dec 29, 2016
3,315 views
Which of the following graphs DOES NOT have an Eulerian circuit? (Recall that an Eulerian circuit in an undirected graph is a walk in the graph that starts at a vertex an...
0 0 votes
1 1 answer
2.8k
2.8k views
admin asked Mar 30, 2020
2,795 views
Which of the following statements is/are TRUE?$S1$:The existence of an Euler circuit implies that an Euler path exists.$S2$:The existence of an Euler path implies that an...