User talk:Walterpachl: Difference between revisions
Content added Content deleted
Line 83: | Line 83: | ||
::::: Thanks Walterpachl, it's appreciated. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:16, 4 October 2014 (UTC) |
::::: Thanks Walterpachl, it's appreciated. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:16, 4 October 2014 (UTC) |
||
==Another transportation problem== |
|||
On tio, I modified a copy of [[Transportation_problem#REXX]] to start with |
|||
4 5 # of sources / # of demands |
|||
50 60 50 50 sources |
|||
30 20 70 30 60 demands |
|||
16 16 13 22 17 cost matrix |
|||
14 14 13 19 15 |
|||
19 19 20 23 50 |
|||
50 12 50 15 11 |
|||
and found I also had to change the first Do i=1 To 5 in init to Do i=1 To 7, then it worked fine. Obviously it would be better to analyse the first line and then loop/read from 2 to (number of sources+3). It also strikes me the code on that page should actually be on [[Vogel%27s_approximation_method]] and maybe try stepping stone or something else on the tp page, jmo. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:58, 10 December 2020 (UTC) |