Journal of Optimization / 2016 / Article / Code 2

Research Article

Location of Farmers Warehouse at Adaklu Traditional Area, Volta Region, Ghana

Code 2

% input transportation cost matrix c
functiongoslow(G)
n,n=size(G);
for k=1:n
for i=1:n
for j=1:n
if i==j
G(i,j)=0;
elseif G(i,j)==inf
   G(i,j)=min(G(i,j),G(i,k)+G(k,j))
end
end
end
end
end

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.