Let X1, X2 and X3 denote the numbers of the three kinds of foods, to be produced namely F1001, F2001 and F3001. Since the objective is to minimize the cost, the objective function Z is given by
ให้ X 1, X 2 และ 3 X ที่แสดงหมายเลขของสามชนิดของอาหาร จะผลิตได้แก่ F1001, F2001 และ F3001. เนื่องจากวัตถุประสงค์คือเพื่อ ลดต้นทุน ฟังก์ชันวัตถุประสงค์ Z ถูกกำหนดโดย