Ask HN: Algorithm for Scheduling appointments by location
Is there a good general purpose algorithm that can be used to schedule appointments given time and location constraints. Say someone wants me to come to their house to fix a computer at a certain time on a particular day and their neighbor also needs a computer fixed and is flexible with time. The algorithm would work it out to show the neighbor that I am near by and available on a certain time slot. Another potential client that is 50 miles away wants to schedule something close to the same time slots, but the algorithm considers they are much farther away and offers them a time slot much later in the day.