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

pimean_Lsd_LCSL@0.90CSL@0.95CSL@0.99SS_exact/SS_norm
0.0036.06.000.89930.94890.98921.007
0.0537.07.420.91220.94260.96981.084
0.1038.08.490.89700.92360.96341.266
0.2040.0 10.000.86190.90920.97681.213
0.3042.0 10.950.85500.92500.99011.104
0.5046.0 11.660.89540.96470.99830.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