关于「清关波动与稳健性:双峰交期、寥寥几票与共同断点」,《跨境双源与断供期权》给出的定量结论是什么?

结论:第六章说明清关查验让交期变成双峰,目标 0.95 的正态再订货点实际只有 0.9092,两货源共用港口会抹掉双源的节省。

数据口径:书中的价格、交期、断供频率、毛利与产能均为示意;全部计算由书中程序生成;本书是非个人化法律、税务或理财建议;书中每一个到岸价都假定已包含如实申报后应缴的税费,不讨论任何低报、拆单规避或灰色清关手法,海关与关税规则只述大意,以上架前人工复核为准。 书中以标注框区分已发表的证据、可运行的 Python 计算(20 段程序)、原典与作者的假说。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 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
查看完整验算程序
# 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))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《跨境供应链双源冗余与断供实物期权、物流延误清关波动下的最优安全库存配比母典》第 6 章「清关波动与稳健性:双峰交期、寥寥几票与共同断点」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 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}
}

本书其他章节结论