This paper analyzes the ordering and supply characteristics of suppliers, and gives the best raw material purchase and transfer scheme. In this paper, six indexes are extracted from the order quantity and purchase quantity data, a comprehensive evaluation system is established, and then entropy weight method is used to assign weights to each index. The importance of each supplier is quantified by TOPSIS method. Then, the supply risk degree and production demand were set up, and the optimal decision model was established by using the "0‐1" decision variables and taking the minimum sum of decision variables as the objective function. Taking the minimum cost and the inventory meeting the production demand of two weeks as the objective function, a multi‐objective optimization model was established to obtain the optimal purchase scheme. The transport optimization model is established with the minimum loss, and the transport scheme and the minimum loss are obtained.