% optimal trans-shipment data n = 10; rand('state',0); p = sort(rand(n,1)); a = rand(n,1); d = rand(n,1); C = rand(n,n);