There are 6 refineries, 7 depots and 9 districts. The refineries are BB, BC, BD, BE, BF and BG. The depots are AA, AB, AC, AD, AE, AF and AG. The districts are AAA, AAB, AAC, AAD, AAE, AAF, AAG, AAH, and AAI. Table A gives the cost of transporting one unit from refinery to depot. Table B gives the cost of transporting one unit from depot to a district.
TABLE A
| | BB | BC | BD | BE | BF | BG |
|---|
| AA | 928.2 | 537.2 | 567.8 | 589.9 | 589.9 | 800.1 |
|---|
| AB | 311.1 | 596.7 | 885.7 | 759.9 | 759.9 | 793.9 |
|---|
| AC | 451.1 | 0 | 320.1 | 780.1 | 720.7 | 1000.1 |
|---|
| AD | 371.1 | 150.1 | 350.1 | 750.1 | 650.4 | 980.1 |
|---|
| AE | 1137.3 | 314.5 | 0 | 1157.7 | 1157.7 | 1023.4 |
|---|
| AF | 617.1 | 516.8 | 756.5 | 1065.9 | 1065.9 | 406.3 |
|---|
| AG | 644.3 | 299.2 | 537.2 | 1093.1 | 1093.1 | 623.9 |
|---|
TABLE B
| | AA | AB | AC | AD | AE | AF | AG |
|---|
| AAA | 562.7 | 843.2 | 314.5 | 889.1 | 0 | 754.8 | 537.2 |
|---|
| AAB | 532.7 | 803.2 | 284.5 | 790.5 | 95.2 | 659.6 | 442 |
|---|
| AAC | 500.7 | 780.2 | 0 | 457.3 | 205.7 | 549.1 | 331.5 |
|---|
| AAD | 232.9 | 362.1 | 286.2 | 275.4 | 523.6 | 525.3 | 673.2 |
|---|
| AAE | 345.1 | 268.6 | 316.2 | 163.2 | 555.9 | 413.1 | 227.8 |
|---|
| AAF | 450.1 | 644.3 | 346.2 | 372.3 | 933.3 | 402.9 | 379.1 |
|---|
| AAG | 654.5 | 0 | 596.7 | 222.7 | 885.7 | 387.6 | 348.5 |
|---|
| AAH | 804.1 | 149.6 | 627.2 | 360.4 | 1035.3 | 537.2 | 498.1 |
|---|
| AAI | 646 | 255 | 433.5 | 137.7 | 698.7 | 112.2 | 161.5 |
|---|