关于「嵌套保护水平:EMSR-a、EMSR-b 与精确最优」,《空间租赁收益管理与档期装箱》给出的定量结论是什么?

结论:第二章比较四档价格的 EMSR-a、EMSR-b、精确最优与固定配额:EMSR-b 达到精确最优的 0.99778。

数据口径:书中的棚日、价格、需求与到达概率均为示意;全部计算由书中程序生成;本书是非个人化经营建议,所有价格明码标价,稀缺提示只来自真实档期,小工具给出的价格表须经营者人工复核后发布。 第一章在一个 20 个棚日的示意月份里,用精确期望算出保护 10 个棚日可使月收入从 47323.9 元升到 57432.1 元,多 21.36 %,但模拟显示保护在 0.1900 的月份里少收钱。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.99778

policyy1y2y3E[revenue]share of optimum
optimal (DP)271560086.21.00000
EMSR-b271459952.90.99778
EMSR-a271459952.90.99778
FCFS00052006.30.86553
optimal protection levels re-evaluated: 60086.2
marginal value of the 15th day for classes 1..3: 1948.0 yuan
查看完整验算程序
# Chapter 2. p22: exact optimum versus EMSR-a, EMSR-b and FCFS.
# Classes of p21 arrive low-before-high (4, 3, 2, 1). Demand is the
# normal of p21 discretised to integers (mass at k = Phi(k+.5)-Phi(k-.5),
# all mass below 0.5 at 0). W_j(x) = expected revenue of classes 1..j
# with x days left; the optimum maximises over how many of class j to
# sell (Brumelle and McGill 1993: optimal nested protection levels
# exist). Every policy is evaluated with the same exact recursion.
import math
from statistics import NormalDist

C, K = 20, 40
FARE = [5600, 4200, 3000, 1800]
MU = [3.0, 5.0, 6.0, 10.0]
SD = [1.5, 2.0, 2.5, 3.5]


def pmf(mu, sd):
    nd = NormalDist(mu, sd)
    p = [nd.cdf(0.5)]
    p += [nd.cdf(k + 0.5) - nd.cdf(k - 0.5) for k in range(1, K)]
    p.append(1.0 - nd.cdf(K - 0.5))
    return p


P = [pmf(m, s) for m, s in zip(MU, SD)]


def solve(prot=None):
    # prot[j] = 第 j+1 类到来时为更高类保留的棚日;None 表示求最优
    w = [0.0] * (C + 1)
    marg = []
    for j in range(4):
        f, new = FARE[j], []
        for x in range(C + 1):
            terms = []
            for d, p in enumerate(P[j]):
                top = min(d, x)
                if prot is None:
                    best = max(f * u + w[x - u] for u in range(top + 1))
                else:
                    u = min(d, max(0, x - prot[j]))
                    best = f * u + w[x - u]
                terms.append(p * best)
            new.append(math.fsum(terms))
        w = new
        marg.append([w[x] - w[x - 1] for x in range(1, C + 1)])
    return w[C], marg


def emsr(kind):
    y = [0]
    for j in range(1, 4):
        f = FARE[j]
        if kind == "a":
            v = math.fsum(NormalDist(MU[k], SD[k]).inv_cdf(1 - f / FARE[k])
                          for k in range(j))
        else:
            s = math.fsum(MU[:j])
            sd = math.sqrt(math.fsum(x * x for x in SD[:j]))
            fb = math.fsum(FARE[k] * MU[k] for k in range(j)) / s
            v = NormalDist(s, sd).inv_cdf(1 - f / fb)
        y.append(max(0, round(v)))
    return y


opt, marg = solve()
ystar = [0]
for j in range(1, 4):
    m = marg[j - 1]
    ystar.append(len([x for x in range(C) if m[x] > FARE[j]]))
rows = [("optimal (DP)", ystar), ("EMSR-b", emsr("b")),
        ("EMSR-a", emsr("a")), ("FCFS", [0, 0, 0, 0])]
print("policy        y1  y2  y3   E[revenue]  share of optimum")
for name, y in rows:
    val = opt if name.startswith("opt") else solve(y)[0]
    print("%-13s %3d %3d %3d   %9.1f   %.5f"
          % (name, y[1], y[2], y[3], val, val / opt))
check = solve(ystar)[0]
print("optimal protection levels re-evaluated: %.1f" % check)
print("marginal value of the 15th day for classes 1..3: %.1f yuan"
      % marg[2][14])

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《空间租赁动态收益管理与档期装箱、舱位控制嵌套保护水平与碎片空置消除母典》第 2 章「嵌套保护水平:EMSR-a、EMSR-b 与精确最优」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-282 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026282,
  author    = {Fan, Yafu},
  title     = {Dynamic Revenue Management and Slot Packing for Space Rentals: Nested Protection Levels and the Elimination of Fragmented Idle Time},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论