PROProduction

Workflow-grade Pro analysis with audit-ready outputs.

workflow pro

Workflow Narrative

Fleet Routing and Dispatch Optimization

Who It Is For

Primary User

Logistics operations leaders, municipal service planners, and fleet-dispatch platform teams.

What It Does

How It Works

Inputs

ParameterTypeRequiredDescription
`network`LineVector pathRequiredStreet/network layer used by routing workflow
`depots`PointVector pathRequiredDepot or start/end locations for vehicles
`stops`PointVector pathRequiredStops/tasks to assign to routes
`vehicles_csv`pathRequiredFleet specs (vehicle_id, capacity, available_time_minutes, cost_per_minute, cost_per_km, depot_id)
`objective`stringOptionalObjective mode: `minimize_distance`, `minimize_time`, `minimize_cost`, `balanced`
`restrictions`pathOptionalOptional restrictions CSV (`from_x,from_y,to_x,to_y[,closed][,penalty_factor]`) used for edge closures or impedance penalties
`routes_output`vector pathRequiredOutput route vector path
`assignment_csv_output`pathRequiredOutput stop-to-route assignment CSV
`route_kpis_csv_output`pathRequiredOutput per-route/fleet KPI CSV
`exceptions_csv_output`pathRequiredOutput infeasible stop diagnostics CSV

Outputs

OutputTypeContents
`routes_output`VectorRoute geometries and route-level summaries by vehicle
`assignment_csv_output`CSVstop_id, route_id, vehicle_id, sequence_order, arrival/departure times
`route_kpis_csv_output`CSVPer-route metrics and fleet roll-up summary
`exceptions_csv_output`CSVstop_id with reason code (`demand_exceeds_max_vehicle_capacity`, `no_feasible_route`)

Python Example

env = WbEnvironment(license_tier="pro")

result = env.run_tool("fleet_routing_and_dispatch_optimizer",
    network="city_network.gpkg",
    depots="depots.gpkg",
    stops="daily_stops.gpkg",
    vehicles_csv="fleet_specs.csv",
    objective="minimize_cost",
    routes_output="output/routes.gpkg",
    assignment_csv_output="output/assignments.csv",
    route_kpis_csv_output="output/route_kpis.csv",
    exceptions_csv_output="output/exceptions.csv",
)

print(result)

License Notice

Use of this function requires a license for Whitebox Workflows Professional (WbW-Pro). Please visit www.whiteboxgeo.com to purchase a license.

Project Links

WbW Homepage User Manual Learn More