Question: 2 - Please Solve the transportation problem below by using Python ( pyomo framework and suitable solver ) . The transportation problem In the transportation
Please Solve the transportation problem below by using Python pyomo framework and suitable solver
The transportation problem
In the transportation problem, we must match suppliers I of limited capacity to a set of customers to meet their known demands Each pair has a known supply cost Our goal is to minimize the total cost by defining how much of each demand is supplied by each supplier. We therefore, consider decision variables to represent those quantities. If we consider conditions such that the total supply capacity meets total demand, we can formulate the problem as the following.
AAiinIAAjinJ
Let us consider an example with four customers and three suppliers The demand of each customer is respectively and The capacity of each supplier is respectively and Now consider the following costs matrix.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
