Carbon-Aware Electric Vehicle Routing Problem with Decision-Focused Learning
Organizations: Architecture and Civil Engineering, Chalmers University of Technology, Gothenburg, Sweden · Electrical Engineering, Chalmers University of Technology, Gothenburg, Sweden
Abstract
Electric vehicles produce no tailpipe emissions, but charging them produces emissions that depend on the time-varying generation mix of the electricity consumed. We study an Electric Vehicle Routing Problem with a carbon-aware objective that accounts for charging-related emissions alongside conventional routing costs. The problem determines routing, charging, and waiting decisions, allowing charging demand to be shifted toward periods with lower grid carbon intensity. Because these decisions depend on forecasts of future carbon intensity, we propose a decision-focused learning approach so that the training of the model employed for predicting the carbon intensity of the grid over time is solver-aware. In particular, we train a linear predictor using approximate SPO+ directions and employ a time-limited Large Neighborhood Search followed by exact postprocessing as the underlying solver. Experiments on realistic Germany-based instances show that explicitly considering charging-related emissions reduces realized emissions by 28.76% on average relative to carbon-blind optimization, although at the expense of higher non-carbon operating cost. Moreover, decision-focused training reduces realized total cost by 2.30% on average relative to conventional prediction-focused learning and performs better on 75.5% of the test instances, despite substantially lower pointwise predictive accuracy. Finally, we show that its average advantage remains positive across varied solver configurations and carbon-cost weights.
Figures & tables
| Model | MAE | RMSE |
| PFL | 57.70 | 72.46 |
| DFL | 402.70 | 410.71 |
| Naive 24-hour persistence | 90.88 | 120.03 |
| Customers | Mean stations | Optimality Proven | Mean gap (%) | Median gap (%) |
| 3 | 5.6 | 10/10 | 1.46 | 0.77 |
| 4 | 7.5 | 5/10 | 2.48 | 1.43 |
| 5 | 9.3 | 0/10 | – | – |
Vehicle Routing
Vehicle routing studies how to assign and sequence trips for fleets while meeting capacity, time, energy, and service constraints.
See all 135 papers