关于“仅获增量一次”

If you select the option 'Only get delta once', then every request in the PSA will only be loaded into the Data target once. For example. If you load a full request into the PSA through an InfoPackage and then load it to the Cube. In a snapshot scenario, when the new full load comes to the PSA you will need to delete the previous request from the cube before loading the new request.

 

But if you delete the previous request from the cube, and not from the PSA - and if you haven't checked the 'Only get delta once' flag, when you execute the DTP, it will load both previous and the new requests from the PSA to the cube. In order to avoid this you have 2 options:

 

1. You can delete a request from the PSA after every successful load into the Cube OR

2. You can check the 'Only get delta once' flag in the DTP so that it won't load any request it has loaded into the cubes previously even if it was deleted from the cube.

 

Using the second option de-couples the PSA maintenance from your regular data loading and also saves you an additional step of deleting the PSA request in your process chain.

本节设计了精英局部搜索(Elite Local Search, ELS),它把前算法演化中产生的优质个体当作种子,通过结构化邻域算子在它们周围做局部搜索。 ELS的启动时机并非固定,而是被设计成随代际动态触发。设第g代全体适应度均值为f ‾_g,若两端差异度 ρ_g=(max{f(X)}-min{f(X)})/f ‾_g 降到阈值ρ_"th" 以下,则说明群体正在收敛;此时挑选top-p%个体写入候选集εg并执行一次局部搜索。阈值与比例在实验中取ρth=0.05,p=10。这种“基于方差的点火机制”可保证ELS只在收敛窗口出现时才被激活,从而避免早期大幅扰动干扰三段式编码的大片结构继承。 对任何进入εg的个体π^⋆而言,局部搜索围绕三类邻域:作业顺序插入(Insert)、双段换序(2-opt)、岸桥微调(Δ-QC)。三者顺序递进且共享同一个增量评估器。简单记船舶集合为{1,…,n},makespan函数为C_max。每当局部搜索将π^⋆改动为π^',算法并不重新解码整张甘特图,而是利用上一节增量解码器维护的泊位时间轴与岸桥区段树,在受影响的常数级子区S_"aff" 内重计算C_max。 Insert算子只针对顺序段实施:随机选一艘船舶i并将其在排列中的索引位置从a抽出,再插入到目标索引b≠a。为了避免全域盲插,目标位置并非均匀选取,而是用式 b=arg⁡min┬(j∈{1,…,n}∖{a}) ΔC_max (i,j) 确定,其中ΔC_max (i,j)表示把i插到j后对makespan的预测增量,此预测由局部Lipschitz线性化模型生成,用于读取航次参数和泊位尾部标记。若ΔC_max<0则立即接受,否则以Metropolis概率exp⁡(-ΔC_max/T)接受,温度T随代际指数衰减。通过在接受准则里嵌入软判别,Insert既能快速抓住显著改进机会,又保留逃离微陷阱的可能。 2-opt算子则以双索引(a,b),a<b截取S[a,b]并反转其内部顺序,相当于在泊位时间轴上替换两条可能交叉的区段。不同于旅行商问题里的长度度量,这里改进的充分条件可写作 ΔC_max=C_max (π^⋆)-C_max (π^')≥(Q_a+Q_b)/v(1/q_a +1/q_b )(δ_"overlap" ) 其中δ_"overlap" 是两船原重叠时段长度。 岸桥微调(Δ-QC)负责在确保容量约束的前提下对关键船舶的q_i作±1级别拨动。给定当前makespan所在泊位b^†的最后完工船i^†,若港口还有剩余岸桥κ(t)则把一台闲置岸桥移给i^†。增量makespan改变可精确写成 ΔC_max=-Q_(i^† )/v(1/q_(i^† ) -1/(q_(i^† )+1)) 由于对末尾船舶直接缩短尾部,故必定改进且无波及效应。若全时段已满载,则选择makespan贡献敏感度最高的船舶j=arg⁡max┬i ∂C_max/∂q_i并尝试将其q_j减一再配给i^†。两船作业时长差值决定接受准则;若不改进则撤销,保持全局可行。 整个ELS周期完成后,会生成一组潜在改进个体{π ˜}。若其makespan严格劣于π^⋆,则替换精英集成员并同步写入外部档案;若只是等价或稍好,但其(F, CR)与原父本不同,则仍保留于子种群以增加策略多样性。 请通读上述内容,详细解释上述内容中的公式
07-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值