Question
This problem aims at finding the distribution of a particular product amongst the 15 peninsular regions in Spain that minimizes costs while satisfying the supply
This problem aims at finding the distribution of a particular product amongst the 15 peninsular regions in Spain that minimizes costs while satisfying the supply and demand constraints. In this case, we will consider the distances between regions as the costs. This assignment has some data attached to it. In particular, I will give you the supply, demand, and costs in an Excel file. You will have to write the code to find the matrices and vectors that you need to use in Matlabs optimtool to solve the problem & '( = '(, . Your code must create this matrix and these vectors automatically (i.e., you should not do that manually). Pay especial attention to the structure of the matrix of constraints. You might want to consult the literature on transportation problems. You can start with any undergraduate introductory book on Operations Research. It is very likely that you will find it there. The solution that you will obtain must form an origin-destination matrix (see paper for this). Make sure that your code formats your optimal solution as matrix. Report the minimum cost that you obtained as well. Finally, your code must also include the call to the linprog function. Remember that you can obtain this code from optimtool just by clicking on Generate Code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started