The three corridors
Three structurally different JIT flows ship parcels in spare cargo space on MÁV passenger trains, with road vans as the fallback. Timetables and delays come from the copied MÁV archive (Vonatinfó, Nov 2026); disruptions from the calibrated MÁVINFORM / weather profile.
Network
Legs
Data patterns
What the data says before any solution: tiny batches on frequent trains, real delays of 10–16 min on the main lines, and a stoppage minute (€333) worth several road vans.
CRO model: Corridor Resilience Optimization
Per corridor choose π = (b₀, b₁, θ, κ): normal buffer, buffer when a disruption is known, expedite threshold on predicted delay, and the cover below which road is allowed. The objective is the expected daily total cost (rail + holding + space + road + stoppage), with the expectation estimated over 2,400 sampled winter days and solved by trying every grid combination. The expedite rule uses the real-time delay estimate.
Cost vs normal buffer b₀
Expected cost over θ × κ at the optimal buffers (€/day)
What-if: evaluate any policy on the model
Benchmarks: two-stage stochastic MILP ceiling & value of information
Simulation validation
An event-driven simulation with real timetables, train capacities, Budapest transfers, closures, storms and road vans. Every scenario is run for 30 replications with common random numbers, so all five policies face the same trains and events and can be compared with paired tests.
Total cost per day (mean ± 95% CI)
Line stoppage hours per 60 days (mean ± 95% CI)
Plant stock, replication 0 (parcels)
Paired t-tests: CRO vs each baseline (this corridor & scenario)
KPI table
Cost per day: all scenarios × policies (this corridor)
Model validation: CRO prediction vs simulation (baseline)
Live lab
Run one simulation now: any corridor, scenario, replication seed and policy, including a custom (b₀, b₁, θ, κ).
Plant stock, in transit and target (parcels)
Disruption events on this corridor's lines
Recovery decisions (first 60 non-trivial)
Tactical day plan (assignment MILP benchmark)
The copied solvers._milp pattern: each hour of demand gets one itinerary (a real leg-1 train with its planned connection) or a road van. Train-leg capacities are constraints, and the objective is transport cost plus expected stoppage risk from the leg delay distributions.
Real MÁV data used
The copied archive: train runs and stop times, MÁVINFORM notices and hourly weather. These calibrate the timetables, the delay distributions and the disruption profile.