What optimization do these kind of apps use?
You must log in or register to comment.
Traveling salesmen being NP-hard only means that you cannot prove you have the optimal solution without checking all possible solutions. Uber doesnt care if the solution is optimal it only wants a solution that’s good enough. It does this using heuristics, checkout https://medium.com/opex-analytics/heuristic-algorithms-for-the-traveling-salesman-problem-6a53d8143584 as an example