Problem
A food delivery platform connects customers, merchants and independent delivery partners, who can decline any order and leave at will. The platform must decide in seconds which courier gets which order, what fee to offer, what time to promise and how far each merchant delivers. Each decision trades off delivery time, cost per order (CPO), courier acceptance and the long tail of late orders. Wrong calls mean late or cold food, declined orders, lost conversions and a higher CPO.
Example from the article: in a two-order case, giving order o1 to its closest courier d2 forces order o2 onto courier d1, whose pickup distance is above 1 km.
Solution in brief
Treat each problem as a prediction step feeding an optimization step. Models predict courier preference, price sensitivity, preparation and delivery time, and supply-demand imbalance. Optimizers then choose assignments, prices, adjustments and delivery areas, with weights tuned for each business goal.
Questions this case answers
- How to match arriving demand units to scarce supply units within seconds so that the total match quality is maximal and not just locally best
- How to price a task paid to independent workers who may decline it, when the true cost of each task cannot be measured directly
- How to assign incoming food orders to couriers in real time without a greedy nearest-courier rule?
- How to set delivery fees per region and per task when courier supply and demand shift during the day?
Tools and methods
- Score-based global assignment — bipartite matching of orders to couriers that maximizes the total matching score.
- Hierarchical pricing — static base fee and missions plus dynamic regional and task-level adjustments.
- Price sensitivity model — acceptance rate as a function of price per task type.
- Supply and demand forecast — prediction of the ratio ahead of time to avoid lagging price changes.
- Quantile regression — conservative or aggressive preparation-time estimates.
- Isochrone delivery scope — travel-time areas instead of fixed-radius circles.
Google or a one-time email code. No password.