深度強化學習於考慮動態自動倉儲位置之迴流式混合流程型生產排程問題
Deep Reinforcement Learning for Reentrant Hybrid Flow Shop Scheduling Problem Considering Dynamic Stocker Positions
摘要
With the rapid changes of the times, the factory's manufacturing mode has gradually changed. Due to the diversity of products and the expensive equipment make the manufacturing process has a reentrant characteristic. Therefore, there is a Reentrant Hybrid Flow Shop Scheduling (RHFSS) to efficiently deal with this type of production scheduling problem. In practice, advanced manufacturing companies (e.g., semiconductor foundries) have introduced an automated material handling system (AMHS) for such scheduling problems, and this system covers automated storage equipment which is called a Stocker, and temporary storage of the machine which is a buffer. In addition, the past study has proved that only 30% of the number of Stockers needs to be reduced in the AMHS system and confirmed that the static positions of the Stockers have a significant impact on the scheduling. Moreover, static positions can be influential, dynamic placement presumably can also be. In addition, in reality, the positions of the Stocker should be a dynamic state and must be able to move according to the actual situation. Until now, past research hasn’t focused on the real-time dynamic positions of the Stockers. Therefore, this study assumes that the RHFSS problem is equipped with AMHS, and the scheduling of the real-time dynamic stocker positions in this system is reduced by 30% to achieve the goal of minimizing the total completion time of the factory. Since the RHFSS problem has been proved to be an NP-hard problem, and in the past, many classic heuristics is used to solve this scheduling problem. However, past studies have proved that deep reinforcement learning is easier to deal with dynamic events. Therefore, this study will propose a Deep Q Network (DQN) model in deep reinforcement learning. By defining the appropriate input layer and reward, the neural network can select the most suitable Stocker position for the order configuration of the day and use that as the Stocker position of the day. According to this model, the RHFSS problem considering a limited number of dynamic Stocker positions can be solved. The result shows that the model proposed in this study can select the optimal Stocker positions and effectively reduce the total completion time of the factory.
隨著時代的快速變遷,工廠製造模式已經逐漸改變,產品的多樣性與機台設備昂貴等因素,使得工廠的製造過程產生迴流特性。也因此有了具備工單迴流特性的迴流式混合流程型生產(Reentrant Hybrid Flow Shop Scheduling, RHFSS)用於有效率的處理這類型生產排程問題。實務上先進的製造業公司(如:半導體代工廠)已經引入自動物料搬運系統(Automated Material Handling System, AMHS)於這類排程問題中,而此系統涵蓋作為各工作站集中儲存的自動倉儲設備(Stocker)以及用於機台臨時存儲的緩存區(Buffer)。此外過去研究已證明在AMHS系統中僅需減少30%數量的Stocker,並證實靜態的Stocker擺放位置對排程有顯著影響,而靜態的擺放位置具影響力,反之動態的擺放位置亦能。此外在實務上Stocker的擺放位置應為動態狀態,須能夠依現實之情境移動。然而過去研究並無針對當天的生產情況對Stocker的動態擺放位置進行研究,故本研究假想將AMHS搭載在RHFSS問題,並對此系統中減少30%數量且能因應當日生產概況的動態Stocker擺放位置調度進行研究,以達到工廠最小化總完工時間之目標。由於迴流式混合流程型生產已經被證實為NP-hard問題,加上過去研究多用演算法來解決此排程問題,然而有研究顯示深度強化學習更易於針對動態事件做出反應。因此,本研究將提出一個深度強化學習中的深度神經網路(Deep Q Network, DQN)模型,透過定義適當的輸入值與獎勵值使DQN中的神經網路能選出最適合當天訂單配置的Stocker擺放位置並以此作為當日的擺設位置,並透過此模型解決考慮有限數量的動態Stocker擺放位置之RHFSS生產排程問題。結果也顯示本研究所提出之模型能夠選出最適Stocker擺放位置並有效降低工廠總完工時間。