在這篇論文中,設定的生產方法是用多種批量去投入生產,我們提出一個模式去決定如何選擇檢驗站位置,以及決定在各種狀態下的投入批量,讓生產的總成本最小。在生產的時候通常只有在最後才設立檢驗站,如果生產的系統有很多工作站,只在最後設立檢驗站並非聰明的方法;然而檢驗通常是相當消耗時間和成本的作業,並且也不需在每個工作站後面都做檢驗,雖然製造的成本會因為設立較少的檢驗站而降低,但是因為沒有在先前的工作站就檢驗出不良品,因此會增加對不良品加工的成本浪費,所以我們除了在最後設立檢驗站之外,還要找出在生產線的哪些其他工作站後面需要設立檢驗站,來權衡先前兩種成本,減少生產的期望成本。 我們的目標是要找出最佳的檢驗站設立位置,並且依據訂單的變化決定各種最佳投入生產的批量,讓生產的期望成本最小化。 In this paper, we proposed a model embedded inspection allocation option into MLPO (multiple lotsizing production to order) problems. The objective of MLPO problem is to find the production policies (what size of lot is inputted in each state) to minimize the total cost. There is usually only one inspected point in MLPO production system (single-stage MLPO), and it might not be wise to set only one inspected point in a production system especially with many operations. However, inspections are usually costly and time-consuming, and it may not be necessary to do the inspection after each working process. Although the production cost will decrease without inspections performed, but the wasting costs will increase since we let the defective units continue to be processed in the following working stages. Therefore, we should determine that besides setting an inspected point right after the final working station, which working stations are needed to be set addition inspected points to reduce total expected cost. The objective of our model is to minimize the total expected costs, to calculate the optimal production policies (what size of lot is inputted in each state) and to determine the optimal inspection allocation (where should be set inspected points) in multistage MLPO problem.