Script
Script
Now in order for us to better understand this let me show you an example. So
this example is quite similar to our previous methods. So we have here three
different sources so with respect to this source column we have 1st source 2nd
source and 3rd source and we also have four destinations so at this point we
have destination denoted with point A, point B, point C and point D
respectively. We also have our column for our supply in terms of pieces and we
also have row for our demand in terms of pieces and as you can notice this is
an example of a balanced transportation problem because the total supply is
equal to the total demand.
When the supply and demand are not equal then it is said to be an unbalanced
transportation problem. In this type of problem, either a dummy row or a
dummy column is added according to the requirement to make it a balanced
problem. Then it can be solved similar to the balanced problem.