To prepare the problem for solution by the simplex method, we add a slack X4 in the first constraint and an artificial R in the second. The resulting primal and the associated dual problems are thus defined as follows:
การเตรียมปัญหาการแก้ไขปัญหา โดยวิธี simplex เราเพิ่มเวลาเผื่อ X 4 ในครั้งแรกข้อจำกัดและ R การประดิษฐ์ในที่สอง งบแบบสไตไลซ์และปัญหาสองที่เกี่ยวข้องจึงกำหนดเป็นดังนี้: