Jump to content

Vogel's approximation method: Difference between revisions

m
REXX refer to Transportation Problem
m (REXX refer to Transportation Problem)
Line 1,631:
 
Total cost: 3100</pre>
 
=={{header|REXX}}==
The program shown for the [[Transportation Problem]] gives for the reserence input
<pre>
Sources / Demands / Cost
30 20 70 30 60
50 16 16 13 22 17
60 14 14 13 19 15
50 19 19 20 23 50
50 50 12 50 15 11
 
Allocations
30 20 70 30 60
50 - - 50 - -
60 - - 20 - 40
50 30 20 - - -
50 - - - 30 20
Total cost 3130</pre>
 
=={{header|Ruby}}==
2,299

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.