Home / Work / Case study 03

PULSE

Predictive Urban Logistics & Supply Exchange

Why do rides and food orders go unserved when partners are available?

5 min readJump to the Monday actions →

Domain
Mobility & food-delivery marketplace
Timeline
Oct – Nov 2026
Data
Simulated Bengaluru: 24 zones, 850 partners
Stack
Python · SQL Server · OR-Tools · Power BI
Read as
The 30-second version
Problem
Only 71.9% of rides completed while 52.8% of partner time sat idle.
Result
72% of lost jobs were a timing problem: partners in the wrong zones. Repositioning cut lost jobs by 13% at no measurable cost.
Decision
Forecast shortages weekly, reposition daily, and use bonuses only for surges (₹43–55 per extra job).
In the four kinds of analytics:DiagnosticPredictivePrescriptivesee all four →
Guess first · then read on

When a ride or food order went unserved, how often were idle partners in the city, just in the wrong place?

Your guess
The data72%
72% of lost jobs.

It was a timing problem, not a shortage of partners. So the fix is moving partners, not hiring more.

01 · The problem

Enough partners. Wrong place, wrong time.

Every evening, customers in Bengaluru's office zones ask for rides and no partner can reach them in 20 minutes. At the same moment, more than half of all partner time is idle a few kilometers away. Partners start where they live and drift with the jobs they take, so supply follows yesterday's demand, not the next hour's.

1.1Mrides and food orders over 16 weeks
52.8%of partner time idle
71.9%of rides completed (food: 93.7%)
72%of lost jobs fixable by moving partners
10 partnersjobs going unserved
09:00
Partners in office zones
47%
Lost jobs
low

Office-zone shares (47% at 09:00, 3% at 19:00) and the −13% are model results; the dot layout is illustrative.
02 · What kind of shortage?

It's a timing problem, not a capacity problem.

I built a Marketplace Pressure Index and classified every lost job by the lever that would fix it. That changes which fix is worth paying for.

72.3%
22.0%
Reposition ahead · 72.3%Neighborhood short, city has spare partners. Move supply before demand.
Citywide shortage · 22.0%Needs more partners online.
Fix now · 1.0%Better same-hour dispatch.
No shortage · 4.7%Lost for other reasons.
02b · Where it happens

Two zones lose a third of the city's jobs.

All 24 zones, drawn from real Bengaluru ward boundaries. Kempegowda Airport and Electronic City lose 315 jobs a day, 34% of the city's 935. Switch the view to see which ones repositioning can actually fix.

View as table

Pressure Index (Phase 8): work requested ÷ partner time available in the zone; under-supplied above 1.10, balanced 0.80–1.10, over-supplied below 0.80. Lost jobs: average day across the simulation. OR-Tools recovery: the 28 held-out days (weeks 13–16), profit policy vs status quo. Sources: PULSE repo, Phase 8 pressure and shortage types, Phase 10 optimization, Phase 6 demand profile.

03 · Seeing it coming

A week ahead, 31% more accurate.

A rain-aware gradient-boosting forecast, tuned on weeks 9 to 12 and tested once on the untouched weeks 13 to 16.

Forecast error (WAPE, lower is better)
Seasonal naive
37.2%
4-week mean
29.9%
History profile
27.0%
GBM calendar
27.4%
GBM + rain
25.6%
The early-warning list

A short list that catches most of the loss.

29%of zone-hours flagged91%of later lost jobs inside them
04 · Moving partners

Which policy wins depends on what a job is worth.

An OR-Tools linear program moves idle partners every hour. Every policy, including the status quo, is replayed on exactly the same customers. Slide the value of one completed job to the business:

Value of one completed job to the business
₹12
₹0₹19.5 break-even₹40
Profit repositioning

−13% lost jobs

At no measurable cost: +0.06% contribution, with a 95% range that spans zero.

Service-first repositioning

−24% lost jobs

About ₹17 per extra job served. Worth it once a job is worth more than ₹19.5 to the business.

05 · Should we pay partners more?

Standing bonuses don't pay.

Guaranteed-hour bonuses win back the most jobs, but each recovered job costs ₹43–55. They only pay on rain and festival days, below about ₹25 per partner-hour: a surge tool, not a program.

₹0₹30₹60 per extra job
Profit repositioning−13% lost jobs
≈ ₹0
Service-first−24% lost jobs
₹17
Standing bonusesmost jobs won back
₹43–55
06 · The command center

Ten Power BI pages that end in a decision.

A ward-based zone map, what-if sliders for job value and bonus, drill-through on any zone, a play axis through the day and a color-coded playbook. 148 DAX measures, 30 of them proved equal to SQL. Click any screen to enlarge it.

07 · Why the numbers can be trusted

Built so I could be proven wrong.

117automated tests, from the optimizer on a hand-checked toy city to stress tests
30/30DAX measures proved equal to SQL, to two decimals
Weeks 13–16held out and simulated once; nothing was tuned on the test
◆
An honest downgrade: the optimizer gained +9% profit on a toy model. Under realistic economics that became a service gain, not a profit gain, and the project says so.
08 · What to do on Monday

Five actions, in order.

Forecast shortages a week aheadThe warning list is short and catches most of the lost demand.
Run profit repositioning every dayIt serves more customers at no net cost.
Switch to service-first above ₹19.5 per jobThat value is a business judgment, so the Policy Simulator makes it a slider.
Use bonuses only as a surge toolOn rain and festival days, below the break-even bonus.
Station dedicated supply where moving can't helpStarting with the airport (KIA).
Diagnose before you prescribe."Hire more partners" sounded obvious. Classifying shortages showed 72% needed timing, not headcount.
Let the business set the trade-off.Profit-first or service-first depends on what a job is worth, so I made it a slider instead of my opinion.
Ranges, not just averages.A gain whose 95% range spans zero is reported as no measurable change.
Limitations, stated plainly
  • The city is synthetic, so every result is a model-based estimate, not real-world causal impact.
  • Travel times use a detour factor, not real road routing.
  • Partner behavior (accepting jobs, logging in, responding to bonuses) is rule-based, and partners are assumed to follow every move.
  • The test is one replay of four held-out weeks; money values are illustrative and reported with sensitivity ranges.

Shortcuts

Press Esc to close