Anticipatory algorithms for same-day courier dispatching