Fleet Fuel Optimization Without the Black Box: A Technical Look at How OptiMile Pro Actually Works
    Technical

    Fleet Fuel Optimization Without the Black Box: A Technical Look at How OptiMile Pro Actually Works

    February 10, 2026
    UpdatedMarch 18, 2026
    9 min read

    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:

    1. How does it actually work?
    2. What does it need to integrate with?
    3. 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.

    MilesSavings%
    4,796 mi$73726.9%
    4,796 mi$75427.5%
    6,893 mi$1,43333.6%
    1,989 mi$21129.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:

    CriterionOptiMile Pro Status
    Deterministic, explainable optimizationDynamic programming, fully traceable
    Real contracted pricing (not retail estimates)Your actual rates
    No integration required to evaluateManual upload, results same day
    API available for automationREST API, documented, versioned
    Tenant data isolationLogical isolation, no cross-customer sharing
    Encryption (rest + transit)AES-256 + TLS 1.2+
    No vendor lock-inMonth-to-month available, data portable
    Quantified ROI before purchaseFree 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:

    1

    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.

    2

    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.

    3

    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.

    OptiMile Pro is fuel stop optimization for trucking fleets with 10+ tractors. Built for fleets that want results, not marketing.

    Frequently Asked Questions

    OptiMile Pro uses a dynamic-programming approach that decomposes a route into mile-budget states and selects the globally optimal sequence of contracted fuel stops given tank size, MPG, detour cost, and station prices.

    No. Optimization runs against an uploaded contracted-price spreadsheet and route inputs. Samsara, Geotab, and Motive integrations are optional and improve fidelity but are not required to get value on day one.

    OptiMile Pro is a hosted multi-tenant SaaS. Each company's data is logically isolated; security controls follow industry standards for SaaS in regulated trucking workflows.

    Yes. OptiMile Pro exposes a REST API for trip creation, optimization, and result retrieval, designed to be called from dispatch and TMS systems.

    The optimizer reasons about mile-budget states between feasible stops, which lets it respect drive-time constraints implied by HOS rules without modeling the HOS regulations themselves.

    Contracted prices are uploaded as Excel/CSV from major networks (Love's, Pilot Flying J, TA/Petro and others). The system geocodes stations and maps prices into the optimizer's price matrix.

    Sources

    1. Hours of Service Regulations, Federal Motor Carrier Safety Administration
    2. An Analysis of the Operational Costs of Trucking, American Transportation Research Institute (ATRI)
    3. 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

    Related insights