- IB
- Question Type 9: Applying the traveling salesman problem in real world contexts
This question requires the formulation of an integer linear programming (ILP) model for the Traveling Salesperson Problem (TSP) on four cities using the Miller-Tucker-Zemlin (MTZ) subtour elimination constraints.
Formulate an integer linear programming model for a Traveling Salesperson Problem (TSP) on four cities . Define the decision variables, the objective function, and all necessary constraints (do not solve).
[7]Formulate a general subtour elimination constraint for a TSP on cities using set notation, and explain how it prevents subtours.
[4]A traveling salesperson problem with six nodes has the following distance matrix:
Calculate a lower bound for the optimal tour length by summing the two smallest distances from each node and dividing the total by 2. Given a feasible tour length of 23, determine the percentage gap between this lower bound and the feasible tour length.
[5]Given the distance matrix for cities , , , :
Find the shortest Hamiltonian circuit (starting and ending at ) and its total length.
[4]Given a TSP tour on five cities with the following distance matrix:
Perform a 2-opt swap by replacing the edges and with the edges and . State the new tour, calculate its length, and determine whether this swap improves the original tour.
[6]Apply Christofides’ algorithm to the symmetric 5-city Traveling Salesperson Problem (TSP) with the following distance matrix:
Give the resulting approximate tour and its total length.
[7]Use the nearest insertion heuristic on six cities 1–6 with symmetric distances defined by the following matrix:
Start with the edge . Show each insertion step, the final tour, and its total length.
[11]The following distance matrix shows the distances between four cities: , , , and .
Apply the nearest neighbor heuristic starting at city . Determine the tour produced and its total length.
[4]Solve the asymmetric traveling salesperson problem (TSP) for four cities A, B, C, and D with travel times given in the following weight matrix:
Find the shortest directed Hamiltonian circuit and its total time.
[5]For six cities with coordinates , , , , , and , compute a lower bound for the Traveling Salesman Problem (TSP) using the weight of the minimum spanning tree (MST).
[4]Solve the Traveling Salesperson Problem (TSP) for five cities 1–5 with symmetric distances given in the matrix below using the branch and bound method. Show the initial lower bound calculation, the branching process, and determine the optimal tour and its total cost.
[8]