recategorized by
1,023 views
6 votes
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$
recategorized by

1 Answer

4 votes
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:

Related questions

1 votes
1 votes
3 answers
2
admin asked Feb 10, 2020
3,456 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)$