2025-005
A salesperson wants to plan their route between five cities — A, B, C, D, and E — using the Farthest Insertion algorithm.
The initial cycle considered is B–D–E–B, highlighted in dark blue in the figure below.
The distances between cities (in arbitrary units) are indicated on the edges of the graph:
![]() |
Map of cities and distances |
Applying the Farthest Insertion algorithm, determine:
-
The order of insertion of cities outside the initial cycle (A and C).
-
The final cycle resulting after all insertions.
B) Order: C, A → Final cycle: B–D–C–E–A–B
C) Order: C, A → Final cycle: B–C–D–E–A–B
D) Order: A, C → Final cycle: B–D–E–C–A–B
E) None of the above
Original idea by: Giancarlo Maldonado Cárdenas

O ciclo inicial não está em azul escuro.
ResponderExcluir