MNK/portfolio
Backend & data

Fuel Route Optimizer

~8,150 stations · 500-mile range plan

Geocoded ~8,150 fuel stations with OSRM routing, an 8-mile corridor filter and a Dijkstra cheapest-fuel plan with a 500-mile range. Regression-tested.

Problem

Find the cheapest places to refuel along a route while staying within a vehicle's range.

Approach

  1. Geocode ~8,150 fuel stations
  2. Route with OSRM and keep stations within an 8-mile corridor
  3. Dijkstra search for the cheapest fuel plan with a 500-mile range
  4. Django service with regression tests
Fuel Route Optimizer workflow: 4 stages from input to result
Workflow

Results

  • Cheapest-fuel plan for a 500-mile range
  • Regression-tested

Stack

  • Django
  • OSRM
  • Dijkstra
  • Geocoding

By Muzammil Nawaz Khan, AI Engineer.