整合O2O餐點外送之生產與配送問題
Integrating Production and Distribution in O2O Meal Delivery
摘要
近年來,O2O (online-to-offline) 餐點外送平台在世界各地蓬勃發展,例如:空腹熊貓 (foodpanda)、優步快送 (Ubereats) 、誠實蜜蜂 (Honestbee)。顧客可以利用手機app訂購向平台訂購與平台合作餐廳的餐點,平台接到訂單後必須與餐廳決策是否接受該訂單。而餐廳與平台是否接受訂單的決策會受到餐廳內部生產排程與平台外送員路線規劃的影響。於是,本研究提出一個新的方式,站在平台的角度,整合餐廳內部的生產排程與平台本身的外送員路線規劃,並決策接受哪些外送訂單。此外,由於未來的訂單情形也同樣影響餐廳與平台決策目前所接到的訂單,所以本研究將未來可能出現的預測訂單也納入決策,這個方式類似滾動時域架構 (rolling horizon approach),即同時決策目前接到與預測訂單,但最後僅使用目前接到訂單的結果。最後,本研究的目標為最大化平台利潤。
本研究首先會介紹餐廳生產排程問題,利用彈性零工問題 (flexible job shop scheduling problem) 描述實際上的餐廳生產排程問題,並將其轉換成平行機台排程 (parallel machine scheduling problem) 問題,再轉換成與配送問題同樣形式的網路問題,及有時窗限制的團隊尋寶問題 (team orienteering problem with time window)。再介紹平台外送員配送路線規劃問題,即有時窗限制的收送貨問題 (pickup and delivery problem with time window)。最後介紹如何整合生產與配送問題,並針對該問題設計一個混合整數規劃最佳化模型 (mix integer programming model)。
為了使本研究符合實務上緊迫的求解時間,通常為1分鐘。本研究設計一個分層最佳化架構 (hierarchical optimization)。利用IterILS (Iterated Local Search) 求解生產問題再將其結果代入配送問題內,利用ALNS (Alternative Large Neighborhood Search)求解。接著,設計小例題題組使用Gurobi求出本問題的最佳解與使用IterILS和ALNS求解本問題的近似解進行績效測試。最後利用實務O2O餐點外送平台的資料進行實務例題分析。
本研究首先會介紹餐廳生產排程問題,利用彈性零工問題 (flexible job shop scheduling problem) 描述實際上的餐廳生產排程問題,並將其轉換成平行機台排程 (parallel machine scheduling problem) 問題,再轉換成與配送問題同樣形式的網路問題,及有時窗限制的團隊尋寶問題 (team orienteering problem with time window)。再介紹平台外送員配送路線規劃問題,即有時窗限制的收送貨問題 (pickup and delivery problem with time window)。最後介紹如何整合生產與配送問題,並針對該問題設計一個混合整數規劃最佳化模型 (mix integer programming model)。
為了使本研究符合實務上緊迫的求解時間,通常為1分鐘。本研究設計一個分層最佳化架構 (hierarchical optimization)。利用IterILS (Iterated Local Search) 求解生產問題再將其結果代入配送問題內,利用ALNS (Alternative Large Neighborhood Search)求解。接著,設計小例題題組使用Gurobi求出本問題的最佳解與使用IterILS和ALNS求解本問題的近似解進行績效測試。最後利用實務O2O餐點外送平台的資料進行實務例題分析。
These years, O2O (online-to-offline) meal delivery platforms, such as Foodpanda, Ubereats and Honestbee, are becoming more and more popular. The customers can order the meals from the restaurants which coorderate with platform. After the customers make the orders, the platform and restaurnts decide if this order is accepted. However, the acception of the orders will be influenced by the production schedule in the restaurants and the delivery plan of the couriers. Therefore, a unique idea is proposed, that is, the platform integrates the production schedule in the restaurants and the distribution plan of the couriers, decides which order should be accepted. Moreover, the predicted orders are included in the planning. By doing so, the characheristic of this process is similar to the rolling horizon appoarch. The target of this research is maximizing the profit of the O2O meal delivery platform.
The production problem is described as the flexible job shop scheduling problem. Then, the new method to transform the flexible job shop scheduling problem into the parallel machine scheduling problem is proposed. Futhermore, in order to coordinate production problem in the restaurants and the distribution problem of the couriers, we transform the parallel machine scheduling problem into team orienteering problem with time window. The pickup and delivery problem with time window is applied to describe the distribution problem. Finally, the integrated problem is formulated as a mix integer programming model.
In general, the platform should decide which order should be accepted in 1 minute. Due to the urgent time duration, we design a hierarchical optimization scheme to solve it, that is, we use Iterated Local Search algorithm to solve the production problem, and solve the distribution problem by using Alternative Large Neighborhood Search algorithm.
Lastly, the proposed algorithm is applied to the small data set and the empirical data set to test its performance, and the results are analyzed in detail.
The production problem is described as the flexible job shop scheduling problem. Then, the new method to transform the flexible job shop scheduling problem into the parallel machine scheduling problem is proposed. Futhermore, in order to coordinate production problem in the restaurants and the distribution problem of the couriers, we transform the parallel machine scheduling problem into team orienteering problem with time window. The pickup and delivery problem with time window is applied to describe the distribution problem. Finally, the integrated problem is formulated as a mix integer programming model.
In general, the platform should decide which order should be accepted in 1 minute. Due to the urgent time duration, we design a hierarchical optimization scheme to solve it, that is, we use Iterated Local Search algorithm to solve the production problem, and solve the distribution problem by using Alternative Large Neighborhood Search algorithm.
Lastly, the proposed algorithm is applied to the small data set and the empirical data set to test its performance, and the results are analyzed in detail.