Global supply chains are increasingly vulnerable to disruptions arising from external events, such as natural disasters and geopolitical crises, and from internal operational inefficiencies, including supplier delays and bottlenecks in order shipping. This work, conducted within the Horizon Europe project M4ESTRO, introduces a hybrid modelling approach combining graph theory and machine learning to represent supply chain logistics operations, with a focus on predicting delays in inbound flows between industrial suppliers and manufacturing entities. The various stages of order fulfilment are modelled through a formal mathematical framework, by defining disruption indicators computed from both historical and real-time data drawn from heterogeneous sources, including traffic and weather conditions and supplier dispatch readiness. Building on a graph-based representation of the supply chain, stochastic methods based on Markov chains are applied to estimate delivery times, detect schedule deviations, quantify prediction uncertainty, and produce interpretable metrics to support operational decision-making. Within the M4ESTRO project, the proposed framework was applied to build a web application for real-time tracking of inbound logistics, and was validated in a use case with an industrial project partner. The web application successfully enabled early detection of logistics disruptions along the supply chain and provided stakeholders with the visibility needed to act before delays propagated. The underlying model proved effective as the basis of a resilient, data-driven logistics tracking system, aligned with the digital transformation objectives of industry and with Manufacturing-as-a-Service paradigms.
Figures & tables
Figure 1: Sequence diagram of the order fulfilment process. The manufacturer places an order with the supplier (1), who prepares and dispatches it (2). The supplier books the shipment with a third-party logistics (3PL) provider (3a), which plans the load and assigns a carrier (3b); the goods are then handed over to the carrier for pickup (3c). The carrier ships the goods and tracks them, reporting tracking events to the 3PL (4a), which forwards status updates to the manufacturer (4b). The carrier delivers the shipment to the manufacturer (5), who confirms delivery (6a), after which the carrier closes the shipment with the 3PL (6b). The bold blue markers indicate the order time, shipment time, and delivery time as timestamps referenced throughout the LCDI framework.
Figure 2: Supply Chain Graph representation. Supplier sites constitute the source vertices and are shown in red, intermediate logistics nodes are shown in light blue, and the manufacturer acts as the sink vertex, shown in green. A route r is a single edge connecting two vertices, and a path π is any walk from a source to the sink vertex. The graph shown is a simplified representation with ∣S∣=3 supplier sites, ∣I∣=6 intermediate nodes, and a single manufacturer, for a total of ∣V∣=10 vertices. A route is exemplified in red r=(s1,i1) , and a path is exemplified in blue π=(s2,i1,i4,m) .
Figure 3: Time sequence of the order fulfilment process. As introduced in Figure 1 , the order fulfilment process comprises the time between order placement and delivery. The total time is decomposed into two components: the dispatch interval , from the order time t0(s) to the shipment time t1(s,c) , and the shipment interval , from t1(s,c) to the delivery time tn(s,c) . Since these times are generated by individual orders, they are inherently order- and carrier-dependent, and are to be understood as such throughout, even where the dependence is omitted from the notation for brevity.
Figure 4: Vertex-level indicators on the Supply Chain Graph. Building on the SCGM representation, the vertex-level indicators are computed at supplier sites and intermediate nodes. For a supplier site s=s1 , the Estimated Dispatch Time (EDT) is shown, whose computation differs depending on dispatching and shipping stages. For a vertex v=i4 , the Overall Residence Index (ORI) distribution and the statistically derived Vertex Time (VT) indicator are shown.
Figure 5: Route-level indicators on the Supply Chain Graph. Building on the SCGM representation, the route-level indicators are computed along a single route between two vertices. The Traffic Meta Index (TMI), Weather Meta Index (WMI), and Overall Transit Index (OTI) are shown, together with the statistically derived Route Time (RT), and the Dynamic Route Time (DRT), obtained via a machine learning regression model on the feature vector x(r,t) .
Figure 6: Path-level indicators on the Supply Chain Graph. Building on the SCGM representation, the path-level indicators are computed along a sequence of routes from a supplier site to the manufacturer, exemplified for π=(i1,i4,m) . The Transit Time (TT), derived from the Shipment Time (ST), and the Path Time (PT), derived from the Vertex Time (VT) and Dynamic Route Time (DRT), are shown, together with the Total Forecasted Shipment Time (TFST), obtained as their convex combination by the TFST weighting factor α as hyperparameter.
Figure 7: Graph-level indicators on the Supply Chain Graph. Building on the SCGM representation, the graph-level indicator aggregates information across all possible paths from the current vertex to the manufacturer, exemplified here for the graph set Π(v) where v=i2 . The Expected Path Time (E-PT) and Expected Total Forecasted Shipment Time (E-TFST) are shown, together with the Estimated Overall Delivery Time (EODT) as the final indicator.
Figure 8: Time sequence for the interval-based EODT at the dispatching stage. The elapsed portion of the order fulfilment process spans only the dispatch time (EDT). Thus, the future portion of shipment time is estimated by the bounds of the interval-based E-TFST, with lower and upper bounds Lβ and Uβ denoting the β -level confidence intervals.
Figure 9: Time sequence for the interval-based EODT at the shipping stage. The elapsed portion of the order fulfilment process spans the dispatch time (EDT) and shipment time (t−t1) , forming the order time to the most recent tracking update (t−t0) . Thus, the future portion of shipment time is estimated by the bounds of the interval-based E-TFST, with lower and upper bounds Lβ and Uβ denoting the β -level confidence intervals.
Figure 10: SCGM-LCDI Framework Implementation Process. Starting from the order-level dataset, data cleaning and preprocessing yield the route-level dataset, which feeds two branches: SCGM construction, producing the Supply Chain Graph, and the featurization and augmentation phase, generating twelve dataset variants (three augmentation versions ds_0 to ds_2 , each with four feature subsets A to D). Candidate ML regression models are evaluated on these variants for the DRT indicator, resulting in the selection of a model trained on a specific dataset. The Supply Chain Graph, the selected dataset, and the DRT model are combined in the LCDI computation to produce the EODT estimates.
Name
Type
Source
17Track
Shipping Events
https://www.17track.net/en/api
TomTom
Traffic
https://docs.tomtom.com/traffic-api/api-explorer
Visual Crossing
Weather
https://www.visualcrossing.com/weather-api/
Calendarific
Supplier Holidays
https://calendarific.com/api-documentation
Table 1: External services integrated for dataset featurisation. For each service, the type of information it provides, namely traffic, weather, or supplier holiday data, is reported alongside its source.
Figure 11: Supply Chain Graph constructed from FAE Technology S.p.A. order-level dataset. Following the same colour scheme as Figure 2 . Vertex and edge size are proportional to the normalized flow associated with the corresponding node or edge. Country codes label intermediate vertices according to their geographic location. The graph comprises ∣S∣=21 supplier sites and ∣I∣=44 intermediate vertices, connected by ∣ASI∣=24 supplier-to-intermediate arcs, ∣AII∣=55 intermediate-to-intermediate arcs, and ∣AIM∣=3 intermediate-to-manufacturer arcs.
Component
Unit
Description
rt
[h] or [d]
Route Time indicator RTμ(r)
tmi
[0,1]
TMI computed for the route
avg_tmi
[0,1]
Averaged TMI over observations on the route
wmi
[0,1]
WMI computed for the route
avg_wmi
[0,1]
Averaged WMI over observations on the route
d
[km]
Geodesic distance between route vertices
Table 2: Feature vector components for a single route-level dataset sample. Each i-th dataset sample is described by a collection of features xi(r,t) including the historical RT ( rt ), the current and averaged TMI and WMI ( tmi , avg_tmi , wmi , avg_wmi ), and the geodesic distance ( d ) between the route’s origin and destination vertices.
Name
Iteration
Size
Training
Validation
Test
ds_0
0
441
307
45
89
ds_1
1
765
631
45
89
ds_2
2
991
857
45
89
Table 3: Data augmentation iterations for the route-level dataset. Each version’s size is obtained by adding its new samples to the size of the previous version. New samples are added exclusively to the training split, while the validation and test splits remain fixed across all versions, resulting in ratios 82 : 6 : 12 and 86 : 5 : 9 respectively; the small validation set splitting is acceptable because hyperparameters were not tuned.
Subset
rt
tmi
avg_tmi
wmi
avg_wmi
d
A
∙
∙
∙
∙
∙
∙
B
∙
∙
∙
∙
C
∙
∙
∙
∙
∙
D
∙
∙
∙
Table 4: Feature availability across the four subset configurations (A-D). Each subset includes ( ∙ mark) or excludes (empty) geographical information ( d ) and aggregated historical traffic and weather indicators ( avg_tmi , avg_wmi ), to test their individual contribution to prediction accuracy.
Object
Description
Model
XGBoost
Featurized Dataset
Full Feature Set, Subset A from Table 4
Data Augmentation
Single Iteration, ds_1 from Table 3
Hyperparameter Optimization
Default, from Table H2
Table 5: Selected configuration for the DRT Model implementation. This table summarizes the chosen regression model, feature subset, augmentation level, and hyperparameter setting, as determined by the evaluation method.
Variant
TFST α Factor
Description
v0.0
1.0
TT-only contribution to TFST
v0.1
0.0
PT-only contribution to TFST
v0.2
0.5
Equal TT and PT contribution to TFST
v1.0
linear
Linear functional between TT and PT contribution to TFST
v2.0
polynomial
Polynomial functional between TT and PT contribution to TFST
v3.0
polynomial
Similar to v2.0 with DRT contribution to TFST ( γ = 0.44)
Table 6: Overview of TFST model variants. Variants v0.0-v0.2 employ fixed values of the weighting factor α , variants v1.0-v2.0 employ linear and polynomial functional of α , and variants v3.0-v3.1 replace the baseline Route Time with the DRT Model, using the ML-derived best MAPE, and the baseline MAPE respectively.
Set
Variant
Sharpness
Coverage
Interval Score
Hourly / Daily
Hourly / Daily
Hourly / Daily
Train
v2.0
1.03 / 1.18
0.52 / 0.84
1.45 / 1.63
v3.0
0.87 / 0.91
0.35 / 0.76
1.37 / 1.54
v3.1
0.99 / 1.11
0.50 / 0.82
1.41 / 1.59
Test
v2.0
1.30 / 1.55
0.63 / 0.86
1.99 / 2.20
v3.0
1.11 / 1.25
0.44 / 0.81
1.92 / 2.11
Table 7: Performance comparison of model variants v2.0-v3.1. Bold values indicate the variant with lower metric values obtained for the test set, evaluated at both granularities.
Figure 12: Observed coverage against nominal confidence for variants v2.0 and v3.0. Both models have been evaluated on the test set at hourly and daily granularities. The dashed line indicates the ideal calibration (observed coverage equal to nominal confidence).
Figure 13: Evolution of EODT estimates for supplier Site 1 (Order 20) and Site 4 (Order 12). Order 20’s delivery time is initially underestimated, with the actual delivery falling outside the predicted interval, until a sharp correction occurs near the end of the shipment, after which the estimate becomes accurate and well-calibrated through delivery. Order 12’s delivery time falls well within EODT bounds until a specific point, after which estimates are well-calibrated through delivery.
Figure 14: Evolution of EODT estimates for supplier Site 3 (Orders 54, 93, and 96). Order 54 and Order 96 start noticeably overestimated, with the actual delivery time falling near or outside the EODT upper bound, before converging to accurate, well-calibrated estimates. Order 93 instead starts strongly underestimated, remaining outside the EODT interval until a sharp correction at the same point, after which it becomes accurate and well-calibrated through delivery.
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Column
Type
Description
id
int
Order identifier number
distributorID
int
Supplier identifier number
createdAt
datetime
Order issuance time
confirmedDeliveryDate
datetime
Actual delivery time
trackingLink
string
Shipment tracking URL from carrier
Appendix
Table B1: Order-level dataset schema. The schema reports for each order, the identifier, associated supplier site, order issuance and confirmed delivery timestamps, and carrier tracking link.
Site ID
Supplier ID
Location of Origin
Country
Orders
1
1
Leeds, Leeds
GB
5
2
2
Louisville, Kentucky
US
3
3
2
Thief River Falls, Minnesota
US
61
4
3
Grand Prairie, Texas
US
5
5
4
Montagnola, Ticino
CH
1
6
4
Peabody, Massachusetts
US
3
Appendix
Table B2: Order procurement overview. The data table reports for each supplier site ID, the associated supplier ID, geographic origin, country, and number of orders. Site ID 3 accounted for the majority of the orders, reflecting the data imbalance discussed in the Use Case Implementation section.
Carrier
Orders
DHL Express
4
DHL
12
FedEx
13
UPS
69
Appendix
Table B3: Distribution of orders across carriers in the pilot dataset. A set of logistics providers, namely UPS, FedEx, DHL, and DHL Express, accounted for the entirety of the observed shipments.
Name
Type
Description
Historical LCDIs
DTμ
Scalar
Expected dispatch time, calculated per supplier site
DTβ
Interval
Estimate of dispatch time, calculated per supplier site
STμ
Scalar
Expected shipment time, calculated per supplier site and carrier
STβ
Interval
Estimate of shipment time, calculated per supplier site and carrier
DLTμ
Scalar
Expected total delivery time, calculated per supplier site and carrier
Appendix
Table C1: Summary of the LCDIs, grouped into historical indicators and real-time indicators at the vertex, route, path, and graph levels.
Subset A
Subset B
Model
Dataset
MAE
RMSE
MAPE (%)
MAE
RMSE
MAPE (%)
Baseline
All
1.1776
2.0302
0.9643
1.1776
2.0302
0.9643
LinReg
ds_0
1.4014
2.0558
1.3895
1.1884
1.9532
0.6812
RndForest
1.0748
2.0248
0.7869
1.0837
2.1047
0.8400
XGBoost
1.0451
2.1634
0.4940
1.1010
2.2753
0.5644
LightGBM
1.3724
2.2733
1.4150
1.4249
2.3456
2.0049
Appendix
Table E1: DRT Model performance evaluation for all datasets with featurized subsets A and B. The results include MAE (days), RMSE (days), and MAPE metrics, together with the historical baseline. Bold* values indicate the best performing combination in terms of each minimum metric across all performance tests, including featurized subsets C and D.
Subset C
Subset D
Model
Dataset
MAE
RMSE
MAPE (%)
MAE
RMSE
MAPE (%)
Baseline
All
1.1776
2.0302
0.9643
1.1776
2.0302
0.9643
LinReg
ds_0
1.4665
2.0478
1.5430
1.2623
1.9361
0.8049
RndForest
1.0838
2.1048
0.8400
1.0942
1.8193
1.5767
XGBoost
1.1010
2.2753
0.5644
1.1608
2.3298
0.7349
LightGBM
1.4249
2.3456
2.0049
1.2857
2.1548
1.5421
Appendix
Table E2: DRT Model performance evaluation for all datasets with featurized subsets C and D. This table is a continuation of results from Table E1 including MAE (days), RMSE (days), and MAPE metrics, together with the baseline.
HyOpt
Subset
Dataset
MAE (days)
RMSE (days)
MAPE (%)
-
-
-
1.60 ± 0.28 [1.40, 1.80]
3.58 ± 1.50 [2.50, 4.65]
0.77 ± 0.26 [0.58, 0.95]
No
A
ds_1
1.12 ± 0.58 [0.70, 1.53]
3.01 ± 2.84 [0.98, 5.05]
0.44 ± 0.17 [0.32, 0.57]
B
ds_2
1.14 ± 0.58 [0.72, 1.55]
3.02 ± 2.63 [1.14, 4.89]
0.54 ± 0.28 [0.34, 0.75]
C
ds_1
1.09 ± 0.57 [0.69, 1.50]
2.84 ± 2.74 [0.88, 4.80]
0.47 ± 0.22 [0.31, 0.63]
Yes
A
ds_1
1.37 ± 0.57 [0.96, 1.78]
3.15 ± 2.79 [1.16, 5.15]
2.01 ± 0.97 [1.32, 2.70]
B
ds_2
1.18 ± 0.57 [0.77, 1.59]
2.93 ± 2.31 [1.28, 4.58]
0.58 ± 0.33 [0.35, 0.82]
Appendix
Table E3: Cross-validation performance of XGBoost across the three best-performing feature subsets (A, B, C). Each feature subset is paired with the dataset augmentation iteration yielding its best result in Table E1 and Table E2 : Subset A with ds_1 (minimum MAE), Subset B with ds_2 (minimum RMSE and MAPE), and Subset C with ds_1 (next-best minimum MAE). For each combination, results are reported both with and without hyperparameter optimization (HyOpt). The first row reports the historical baseline. Values are shown as mean ± standard deviation, with 95% confidence intervals in brackets, computed from the Student’s t-distribution over 10-fold cross-validation. Bold values indicate the configuration (Subset A, ds_1 , absent hyperparameter optimization) used for the use case implementation.
Set
Variant
Sharpness
Coverage
Interval Score
Hourly / Daily
Hourly / Daily
Hourly / Daily
Train
v0.0
2.15 / 2.20
0.28 / 0.56
4.22 / 4.26
v0.1
1.67 / 1.70
0.23 / 0.33
4.38 / 4.44
v0.2
1.91 / 2.36
0.31 / 0.55
4.24 / 4.43
v1.0
2.15 / 2.20
0.28 / 0.56
4.22 / 4.26
v2.0
2.15 / 2.20
0.28 / 0.56
4.22 / 4.26
Appendix
Table G1: Performance comparison of model variants v0.0-v2.0 for the dispatch stage. Bold values indicate the variant with optimal metric values obtained for the test set, evaluated at both granularities.
Set
Variant
Sharpness
Coverage
Interval Score
Hourly / Daily
Hourly / Daily
Hourly / Daily
Train
v0.0
1.84 / 1.87
0.66 / 0.96
1.97 / 2.03
v0.1
0.80 / 0.91
0.42 / 0.71
1.56 / 1.73
v0.2
1.32 / 1.38
0.55 / 0.84
1.65 / 1.82
v1.0
1.38 / 1.50
0.63 / 0.88
1.67 / 1.83
v2.0
1.03 / 1.18
0.52 / 0.84
1.45 / 1.63
Appendix
Table G2: Performance comparison of model variants v0.0-v2.0 for the shipment stage. Bold values indicate the variant with optimal metric values obtained for the test set, evaluated at both granularities.
Setting
Value
Description
n_estimators
100
Number of trees in the forest
max_depth
10
Maximum depth of each tree
min_samples_split
2
Minimum number of samples required to split an internal node
min_samples_leaf
1
Minimum number of samples required at a leaf node
max_leaf_nodes
None
No limit on the number of leaf nodes per tree
bootstrap
True
Trees are built on bootstrap samples of the training data
Appendix
Table H1: Hyperparameter settings for the Random Forest model.
Setting
Value
Description
metric
mae
Evaluation metric, mean absolute error
boosting_type
gbdt
Boosting type, gradient boosting decision tree
num_leaves
31
Maximum number of leaves per tree, controlling model complexity
max_depth
-1
Maximum tree depth, unbounded
lambda_l2
1.0
L2 regularization term on leaf weights
lambda_l1
0.1
L1 regularization term on leaf weights
Appendix
Table H3: Hyperparameter settings for the Random LightGBM model.
Symbol
Description
Graph structure
G=(V,A,C)
DAG with vertex set V , arc set A and carrier set C
V=S∪I∪{m}
Vertex set, partitioned into supplier, intermediates, and manufacturer
S ; s,si∈S
Set of supplier sites; a generic supplier site
I ; i,ii∈I
Set of intermediate vertices; a generic intermediate vertex
College of Engineering, Northeastern University Boston, USA · School of Engineering, Santa Clara University Santa Clara, USA · Department of Chemistry and Chemical Biology, University of New Mexico Albuquerque, USA
NSF Artificial Intelligence Institute for Advances in Optimization, H. Milton Stewart School of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, GA, USA · Kinaxis