
Fleet Fuel Optimization Without the Black Box: A Technical Look at How OptiMile Pro Actually Works
Direct Answer
OptiMile Pro's fuel optimizer is a dynamic-programming engine over the contracted price matrix per route. It evaluates thousands of fuel-stop combinations against tank capacity, MPG, detour cost, and HOS-aware mile budgets, then returns the global optimum as a stop sequence. The system is delivered as a hosted multi-tenant SaaS, requires no telematics integration to start, and exposes a REST API for downstream dispatch tools.
Key Statistics
- Dynamic-programming optimizer evaluates thousands of fuel-stop combinations per route in sub-second time.
- Zero-integration onboarding: a fleet can run its first optimized route from a contracted-price spreadsheet upload alone.
- Optional Samsara/Geotab/Motive integrations stream live MPG and tank state for higher-fidelity recommendations.
No mystery algorithms. No painful integrations. No vendor lock-in. Here's the architecture, the math, and the security model, so you can evaluate it properly.
You've seen the pitch deck. Someone from ops or the fleet owner forwarded you a link about fuel savings (27-34%) and asked you to "take a look at this."
So here you are. And your first three questions are probably:
- How does it actually work?
- What does it need to integrate with?
- What's the security and data exposure?
Fair. Let's answer all three with enough technical detail to actually be useful.
The Problem Statement (From an Engineering Perspective)
Trucking fleets negotiate contracted fuel pricing with major networks: Love's, Pilot Flying J, TA/Petro, and others. These contracts provide per-station pricing that varies significantly across locations, even within the same network.
The optimization problem: given a fixed route, a set of contracted station prices along that route, fuel tank constraints, and a fuel network topology, determine the optimal sequence of fuel stops and fill quantities that minimizes total fuel cost.
This is a constrained optimization problem with the following characteristics:
- Decision variables: which stations to stop at and how many gallons to purchase at each
- Constraints: tank capacity, minimum fuel thresholds, station availability within a defined corridor, driver MPG, fuel on board at final destination, and contracted network membership
- Objective function: minimize total fuel expenditure across the route
It's not a trivial problem. For even a 5-stop route with dozens of candidate stations per stop, the solution space is combinatorially large. Spreadsheets and manual heuristics leave significant money on the table, which is exactly what the route data shows.
How OptiMile Pro Solves It
Input: Contracted Pricing Ingestion
The system starts with your fleet's actual contracted pricing. Not retail. Not national averages. Your rates, at your stations, under your agreements.
Pricing data is ingested via:
- Direct feed from fuel networks: where available, we pull contracted pricing programmatically
- Fleet-provided rate tables: CSV/Excel upload of your negotiated rates by station or network
The pricing model accounts for:
- Station-level price variation within the same network
- Time-based price fluctuations
- Volume-based pricing tiers where applicable
- Multi-network optimization (if your fleet has contracts with multiple networks, the system optimizes across all of them)
Processing: Route Corridor Analysis
Given a route (origin, destination, waypoints), the system defines a corridor (typically 25 miles on either side of the planned route) and identifies every contracted fuel station within that corridor.
Each candidate station is geocoded and mapped to the route with:
- Distance from route centerline
- Position along the route (mile marker equivalent)
- Detour cost (time and fuel to reach the station and return to route)
- Station attributes (amenities, parking, operational hours)
This generates a directed graph of possible fueling sequences along the route, with stations as nodes and route segments as edges.
Optimization: Dynamic Programming Engine
Why Dynamic Programming?
The core solver uses a dynamic programming approach, not a greedy heuristic, not a generic algorithm, not a neural network making opaque decisions.
- Optimal substructure: the best fueling decision at station k depends only on your tank state and remaining route, not on how you got there
- Globally optimal solution: not an approximation
- Deterministic and explainable: you can trace exactly why the system recommended each stop
- Polynomial time: fast enough for real-time plan generation
The solver evaluates the cost of every feasible fueling sequence, accounting for:
- Purchase price per gallon at each station (contracted rate)
- Fuel consumed between stations (route distance x fleet MPG)
- Detour fuel cost for off-route stations
- Tank constraints (capacity, current level, minimum reserve, fuel levels at arrival)
Output: an ordered list of fuel stops with specific gallon quantities at each, total route fuel cost, and the delta versus unoptimized (baseline) fueling.
What "Unoptimized" Means
The baseline comparison isn't arbitrary. We model unoptimized fueling as the typical driver behavior: fueling at the most convenient contracted station when the tank reaches a threshold (usually 1/8 tank). This reflects real-world patterns, not a worst-case strawman.
| Miles | Savings | % |
|---|---|---|
| 4,796 mi | $737 | 26.9% |
| 4,796 mi | $754 | 27.5% |
| 6,893 mi | $1,433 | 33.6% |
| 1,989 mi | $211 | 29.3% |
These are real routes with real contracted pricing, not synthetic benchmarks.
Integration Architecture: Start With One, Scale When Ready
This is where most fleet tech tools fail your evaluation. They require TMS integration before you can see a result. Six weeks of API work before anyone knows if the product delivers value.
OptiMile Pro is designed for zero-integration onboarding. You get more out of the system if you integrate with your telematics provider but you sure don't have to!
Day One (No Integration)
- Upload routes manually (CSV, Excel, or through the web UI)
- Upload or provide contracted pricing
- Receive optimized fuel plans immediately
- Evaluate real savings on real routes before committing to anything
This isn't a "limited trial." The full optimization engine runs on manually uploaded data.
When You're Ready (Optional Integration)
- REST API: fully documented, versioned API for programmatic route submission and plan retrieval
- TMS integration: push routes from your TMS, pull optimized fuel plans back. Standard data formats with custom schema support
- Telematics hookup: ingest real-time truck position and fuel level data for dynamic re-optimization mid-route
The integration path is incremental. You don't need to boil the ocean. Start manual, automate what makes sense, expand at your own pace.
Security and Data Handling
Data Architecture
Tenant isolation
Each fleet's data is logically isolated. No cross-customer data sharing, blending, or aggregation. Your contracted pricing is your competitive advantage; we treat it accordingly.
Encryption at rest
AES-256 for all stored data, including pricing, routes, and generated plans.
Encryption in transit
TLS 1.2+ for all API and web communications.
Data retention
Configurable retention policies. You own your data. Export or delete at any time.
Compliance
- No third-party data sharing: your data is used exclusively to generate your fuel plans. Period. We don't sell data, share it with fuel networks, or use it to train models that benefit other customers.
- Access controls: role-based access with audit logging. You control who in your organization sees what.
Infrastructure
- Cloud-hosted on major provider infrastructure (GCP)
- Multi-AZ deployment for availability
- Automated backups with point-in-time recovery
- Infrastructure as code: reproducible, auditable deployments
What We Don't Need Access To
This is as important as what we do need. OptiMile Pro does not require:
- Access to your TMS (unless you want integration)
- Driver PII
- Load or customer data
- Financial systems
- ELD/HOS data
Minimum Data Required
Routes (origin/destination/waypoints) and contracted fuel pricing. That's it. Everything else is optional and additive.
Vendor Evaluation Checklist
If you're doing a proper vendor evaluation, here's what you'd want to verify. We'll provide documentation or live demonstration for each:
| Criterion | OptiMile Pro Status |
|---|---|
| Deterministic, explainable optimization | Dynamic programming, fully traceable |
| Real contracted pricing (not retail estimates) | Your actual rates |
| No integration required to evaluate | Manual upload, results same day |
| API available for automation | REST API, documented, versioned |
| Tenant data isolation | Logical isolation, no cross-customer sharing |
| Encryption (rest + transit) | AES-256 + TLS 1.2+ |
| No vendor lock-in | Month-to-month available, data portable |
| Quantified ROI before purchase | Free route analysis with your data |
What a Proof of Concept Looks Like
We're engineers talking to engineers here. A POC should answer one question: does this work with our data, on our routes, at our scale?
Here's the POC structure:
Week 1: Data Submission
You provide 5-10 representative routes and your contracted pricing. We run them through the optimization engine and deliver detailed results: per-route savings, station selections, and how much the driver should buy at each stop.
Week 2: Review & Verification
Your team reviews the results. We walk through the optimization logic for any route you want to examine. You verify the contracted pricing is accurate, the station selections are reasonable, and the savings calculations are correct.
Week 3: Decision
If the numbers hold, we discuss integration path (or you continue with manual upload, plenty of fleets do). If they don't, we part ways. No cost for the POC.
The entire evaluation requires zero changes to your existing infrastructure. No staging environment. No sandbox integration. No IT tickets. Just data in, results out.
Request a Technical Walkthrough
If you've read this far, you're the person who's going to make the recommendation. You need to see the system, ask hard questions, and verify the claims.
We'll show you:
- The optimization engine running on sample routes (or yours, if you bring them)
- A live proof of concept plan using your actual contracted pricing
No sales team. You'll talk to the people who built it. Bring your hardest questions.
Frequently Asked Questions
Sources
- Hours of Service Regulations, Federal Motor Carrier Safety Administration
- An Analysis of the Operational Costs of Trucking, American Transportation Research Institute (ATRI)
- FleetOwner: Fuel & Lubricants, FleetOwner
Ready to Stop Leaking Cash at the Pump?
OptiMile Pro calculates the true cost of every fuel stop, so your drivers always make the smartest choice.
Start Free Trial