Question: Math 3 1 5 Homework 1 6 - Dynamic Programming: Travelling Salesperson 1 . While on holiday, a family wants to visit five sites in
Math Homework Dynamic Programming: Travelling Salesperson
While on holiday, a family wants to visit five sites in Wisconsin: the Milwaukee Art Museum
M Lambeau Field L the Wisconsin State Capitol W Bayfield Maritime Museum B
and Grandad Bluff G in La Crosse. In order to save gas, they want the shortest route
between these sites. The table below indicates the distances between pairs of places:
M L W B G
M
L
W
B
G
The family flies into General Mitchell Airport so will start their trip by visiting the Milwaukee
Art Museum.
What is the shortest tour between these places and how far will they drive?
This is the overall aim of the travelling salesperson problem. For this homework problem,
however, you are to use the backwards recursion of dynamic programming to determine the
values for only some of the states.
The stages correspond to the different sites visited, starting at M The states in each of
stages are:
Stage Stage Stage Stage Stage Stage
LMBM LWM B LGM B L W
WM LBM L W
GM LGM L W
WMBM WGM B WLM B G W
M GM WBM G WMM L W B G
LM WLM B W
BMLM BGM B LWM B G L
GM BLM B G
WM BWM B G
GMLM GWM G LBM G L W
WM GLM G W
BM GBM G L
a Explain the meaning of the first state BM L in Stage
b Using backwards recursion so beginning with Stage fill in the table to give the value
of VM i j k for each of the states in Stage and identify the destination.
Stage
State VM i j k Destination
GM B L W
LM B G W
WM B G L
BM G L W
c Now use backwards recursion again to determine VkM i j for the two indicated
states and fill in the table, including the optimal destination from each of these states.
Stage
State VkM i j Destination
WM B L
GM B L
d Use backwards recursion one more time to determine the value of VBM L and
identify the optimal destination from this state.
Stage
State VjM i Destination
BM L
e Identify the shortest route from BM L to the terminus MM B G L W and
state how many miles it is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
