Algorithm

กก

    (or near) the best solution.

กก

    the H function as follows:

กก

          H (n, p) = n.current_time + TravelTime (n, p) + ServeTime (p)

กก

    still has enough time to serve another patient. As Figure 4 shows: