Bitmask DP & the Exact Tour
In short: when the rest of a route depends only on which stops are
already visited and where the van is now — never on the order it took to
get there — the set of done stops is the whole state, and a set of up to
about 20 items fits in the bits of one integer. dp[S][j] is the shortest
route that visits exactly the stops in set S and ends at j; filling it in
plain numeric order always has every smaller set ready first, because turning
on a bit only ever makes a number bigger.

The afternoon courier leaves the depot, drops parcels at a handful of stops and comes back. The streets are one-way, so going from stop 2 to stop 3 isn't the same distance as going from 3 to 2. With 4 stops there are 6 possible orders, and with 10 stops there are 362,880. Trying every order is fine today and too slow by next month. Guessing (always drive to the nearest unvisited stop) is fast, and it's often wrong by a lot.
Between those two there's an exact method that works well up to about 15 stops. It rests on one question: what does the rest of the route actually depend on? It doesn't depend on the order you've driven so far. It depends only on which stops are done and where the van is now.
A set is the state
Suppose two partial routes have both visited stops {0, 1, 3} and are both standing at stop 3. One took 14 km to get there and the other took 6. Whatever the best way to finish is, it's the same for both, because the same stops are left and the van is in the same place. So the 14 km route can never be part of the best tour, and you only need to remember the 6.
That gives the state:
dp[S][j]= the shortest route that starts at the depot, visits exactly the stops in setS, and ends at stopj.
To fill it, ask which stop came just before j. It was some k in S
other than j, and the route to k visited exactly S without j:
dp[S][j] = min over k of dp[S − {j}][k] + dist[k][j]
Then the full tour is min over j of dp[all][j] + dist[j][0].