Question 6 - Traveling Salesman

 Consider a traveling salesman who needs to visit 5 cities: A, B, C, D, and E. The distances (in kilometers) between the cities are as follows:

  • A to B: 10 km
  • A to C: 15 km
  • A to D: 20 km
  • A to E: 25 km
  • B to C: 35 km
  • B to D: 30 km
  • B to E: 20 km
  • C to D: 15 km
  • C to E: 30 km
  • D to E: 10 km

What is the shortest possible route that the salesman can take, visiting each city exactly once and returning to the starting city?

A) 70 km
B) 85 km
C) 90 km
D) 100 km

E) None of above

Comentários

  1. That's a wonderful question, but I noticed that the distances do not follow the triangle inequality. However, it is said that these are distances between cities, which should obey the triangle inequality. The reader will be confused.

    ResponderExcluir
  2. If we change -> B to C: 25 km and C to D: 30 km. This will no longer be a concern

    ResponderExcluir

Postar um comentário

Postagens mais visitadas deste blog

Questão 1

Question 3 - Scale-free networks