This code was designed to solve the transportation problem for searching its initial basic feasible solution. User should determine the number of plant (m), the number of destination (n), value of supply column vector, value of demand row vector and an unit cost matrix. Also, write the VAM function [z,x]=VAM(s,d,c,m,n).
Warut Boonphakdee (2020). VAM(s,d,c,m,n ) (https://www.mathworks.com/matlabcentral/fileexchange/63678-vam-s-d-c-m-n), MATLAB Central File Exchange. Retrieved .
Improve how to break its loop.
This code was corrected any mistake code by following the suggestion of Mr. Stephan Krauter from Humburg Germany.