Vogel's approximation method: Difference between revisions
→{{header|D}}: immutable->auto so it would run on tio, replaced output
Walterpachl (talk | contribs) m (→{{header|REXX}}: fix reference) |
(→{{header|D}}: immutable->auto so it would run on tio, replaced output) |
||
Line 402:
supply = [W: 50, X: 60, Y: 50, Z: 50];
auto res = costs.byKey.zip((int[K]).init.repeat).assocArray;
K[][K] g;
Line 469:
}</lang>
{{out}}
<pre>
A B C D E
X 30 20 10
Y 20 30
Z 50
W 50
Total Cost =
</pre>
=={{header|Go}}==
|