Excessive buffer inventory may disrupt production and constitute one of the main problems. One of the ways of coping with the inventory problems in the mass production lines is to achieve and implement a detailed production schedule. In this study, a company with a mass production line in the die house station of a white goods sector is in consideration. A mixed-integer programming model with sequence-dependent setup times has been developed to solve the excessive work in process problems for the dye house station. The developed model has been applied to the company to test the model by using real data and the problem has been solved by using the General Algebraic Modeling System (GAMS) CPLEX 24,1 solver. The optimal solution is obtained in 10 hours and 3 minutes. In the solution, the total earliness and tardiness time for 30 jobs is 4299 minutes.