What does Cross-Border Dual Sourcing and Disruption Options conclude, in numbers, about “Clearance Variability and Robustness: Two-Peaked Lead Times, a Handful of Shipments, and a Common Failure Point”?
Answer: Chapter 6 shows that customs inspection gives lead times two peaks, so that a normal reorder point targeting 0.95 delivers only 0.9092, and that two sources sharing a port lose the dual saving.
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.9092, 0.95
| pi | mean_L | sd_L | CSL@0.90 | CSL@0.95 | CSL@0.99 | SS_exact/SS_norm |
| 0.00 | 36.0 | 6.00 | 0.8993 | 0.9489 | 0.9892 | 1.007 |
| 0.05 | 37.0 | 7.42 | 0.9122 | 0.9426 | 0.9698 | 1.084 |
| 0.10 | 38.0 | 8.49 | 0.8970 | 0.9236 | 0.9634 | 1.266 |
| 0.20 | 40.0 10.00 | 0.8619 | 0.9092 | 0.9768 | 1.213 | |
| 0.30 | 42.0 10.95 | 0.8550 | 0.9250 | 0.9901 | 1.104 | |
| 0.50 | 46.0 11.66 | 0.8954 | 0.9647 | 0.9983 | 0.937 |
Show the full program
# Chapter 6. p61: customs inspection makes lead time a mixture.
# Model (the point of Eppen and Martin 1988): lead time = normal(36, 6)
# days plus 20 days with inspection probability pi. Given lead time l,
# demand over it is normal(40 l, 12 sqrt(l)). The exact cdf of lead-time
# demand mixes over l (Simpson rule, 240 cells over +-6 sd, both
# branches). The usual reorder point treats lead-time demand as one
# normal with the same mean and variance. For each pi and target cycle
# service level we print the service the normal reorder point really
# gives, and the exact safety stock against the normal one at 0.95.
# All parameters illustrative.
import math
from statistics import NormalDist
N01 = NormalDist()
D, SD, BM, BS, EXTRA = 40.0, 12.0, 36.0, 6.0, 20.0
def simpson(f, a, b, n=240):
h = (b - a) / n
w = [1.0 if k in (0, n) else (4.0 if k % 2 else 2.0)
for k in range(n + 1)]
return math.fsum(wk * f(a + k * h) for k, wk in enumerate(w)) * h / 3
def cdf(r, pi):
def branch(shift):
def f(x):
lt = max(x + shift, 1e-9)
return (N01.cdf((r - D * lt) / (SD * math.sqrt(lt)))
* N01.pdf((x - BM) / BS) / BS)
return simpson(f, BM - 6 * BS, BM + 6 * BS)
return (1 - pi) * branch(0.0) + pi * branch(EXTRA)
def exact_r(target, pi):
lo, hi = 0.0, 6000.0
for _ in range(50):
mid = 0.5 * (lo + hi)
if cdf(mid, pi) < target:
lo = mid
else:
hi = mid
return 0.5 * (lo + hi)
print("pi mean_L sd_L CSL@0.90 CSL@0.95 CSL@0.99 SS_exact/SS_norm")
for pi in (0.0, 0.05, 0.1, 0.2, 0.3, 0.5):
m = BM + pi * EXTRA
v = BS ** 2 + pi * (1 - pi) * EXTRA ** 2
sd_ld = math.sqrt(m * SD ** 2 + D ** 2 * v)
got = []
for t in (0.90, 0.95, 0.99):
got.append(cdf(D * m + N01.inv_cdf(t) * sd_ld, pi))
ss_n = N01.inv_cdf(0.95) * sd_ld
ss_e = exact_r(0.95, pi) - D * m
print("%.2f %7.1f %5.2f %10.4f %9.4f %9.4f %12.3f"
% (pi, m, math.sqrt(v), got[0], got[1], got[2], ss_e / ss_n))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 6: Clearance Variability and Robustness: Two-Peaked Lead Times, a Handful of Shipments, and a Common Failure Point. 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 1 · Lead-Time Variance: the Term Deleted from the Safety-Stock Formula
- 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 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