What does Cross-Border Dual Sourcing and Disruption Options conclude, in numbers, about “Lead-Time Variance: the Term Deleted from the Safety-Stock Formula”?
Answer: Chapter 1 shows that with a far lead-time standard deviation of 10 days, stock set by the demand-only formula delivers a nominal 95 % service level of only 0.701 in fact. In Chapter 2's annual ledger the dual split saves 8323 a year against the best single far-source plan, while a naive ledger of landed prices reaches the opposite conclusion; a parameter map shows that with short outages the single far source is still the lowest-cost option.
Scope of the numbers: Its prices, lead times, outage frequencies, margins and capacities are illustrative; all calculations are generated by its programs; the book is not individual legal, tax or financial advice. Marked boxes separate published evidence, runnable Python calculations (20 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.701, 95
| simulated lead time: mean 40.05 d, sd 10.03 d | |||||
| rule | safety | reorder | CSL | fill | short/cycle |
| demand-only | 124.9 | 1727.1 | 0.701 | 0.7791 | 123.72 |
| full formula | 671.9 | 2274.1 | 0.919 | 0.9666 | 18.70 |
| exact 95% pct | 787.2 | 2389.4 | 0.950 | 0.9799 | 11.27 |
| share of cycles with lead time >= 55 d: 0.1128 |
Show the full program
# Chapter 1. p12: what service the demand-only formula really delivers.
# Model: 20,000 replenishment cycles. Lead time in whole days = 28 days
# of transit + a gamma delay (mean 8, sd 6) + 20 days with probability
# 0.2 (customs inspection). Daily demand normal(40, 12). Reorder point
# R = 40 * E[L] + SS; a cycle is "covered" if lead-time demand <= R.
# Fill rate uses an order size of 560 units (14 days of demand).
# Fixed seed; all parameters illustrative.
import math
import random
from statistics import NormalDist
rng = random.Random(20261113)
D, SD, Q = 40.0, 12.0, 560.0
K_SHAPE = (8.0 / 6.0) ** 2
THETA = 8.0 / K_SHAPE
N = 20000
def lead_time():
lt = 28.0 + rng.gammavariate(K_SHAPE, THETA)
if rng.random() < 0.2:
lt += 20.0 # step: inspection adds 20 days
return int(round(lt))
ld, lts = [], []
for _ in range(N):
lt = lead_time()
lts.append(lt)
ld.append(math.fsum(rng.gauss(D, SD) for _ in range(lt)))
m_l = math.fsum(lts) / N
s_l = math.sqrt(math.fsum((x - m_l) ** 2 for x in lts) / (N - 1))
z = NormalDist().inv_cdf(0.95)
ss_only = z * SD * math.sqrt(m_l)
ss_full = z * math.sqrt(m_l * SD ** 2 + (D * s_l) ** 2)
srt = sorted(ld)
r_exact = srt[int(0.95 * N)]
print("simulated lead time: mean %.2f d, sd %.2f d" % (m_l, s_l))
print("rule safety reorder CSL fill short/cycle")
for name, r in (("demand-only", D * m_l + ss_only),
("full formula", D * m_l + ss_full),
("exact 95% pct", r_exact)):
covered = len([x for x in ld if x <= r]) / N
short = math.fsum(max(0.0, x - r) for x in ld) / N
print("%-15s %7.1f %8.1f %6.3f %7.4f %8.2f"
% (name, r - D * m_l, r, covered, 1.0 - short / Q, short))
late = len([x for x in lts if x >= 55]) / N
print("share of cycles with lead time >= 55 d: %.4f" % late)Single source and citation
Fan, Y. (2026). Dual-Source Redundancy and Supply-Disruption Real Options in Cross-Border Chains: Optimal Safety Stock and Source Splits under Shipping Delays and Customs Variability (Version 1.0.0), Chapter 1: Lead-Time Variance: the Term Deleted from the Safety-Stock Formula. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-291 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026291,
author = {Fan, Yafu},
title = {Dual-Source Redundancy and Supply-Disruption Real Options in Cross-Border Chains: Optimal Safety Stock and Source Splits under Shipping Delays and Customs Variability},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · The Full Annual Ledger of the Lowest Price: One Far Source, One Near Source, or Two
- Chapter 3 · The Split: the Ceiling on the Far Share Is Set by Near-Source Flexibility
- Chapter 4 · The Two-Source Newsvendor: the Critical Fractile of a One-Order Season and the Value of Reacting
- Chapter 5 · Supply-Disruption Real Options: Reserved Capacity, Exchange-Rate Switching and Keeping a Supplier Warm
- Chapter 6 · Clearance Variability and Robustness: Two-Peaked Lead Times, a Handful of Shipments, and a Common Failure Point
- Chapter 7 · The Classics Examined: "Feeding on the Enemy" and Harris's Square Root
- Chapter 8 · Closing the Loop: the Dual-Source Split Sheet, the Small Tool and a Pre-Registered Test