A sales manager has to find out the most cost-effective route of his products from a city A to a city K. The route consists of several sections of different costs.
Use Dynamic Programming to solve the following tasks.
Some settings:
S = {A,B,C,D,E,F,G,H,I,J,K}: Set of all cities P(x): Set of all predecessors of city x c(x,y): Cost from city x to city y m(x): minimal cost from city A to city x
|