dij

B1

B2

B3

B4

Surplus quantity

A1

5

10

15

12

600

A2

8

10

7

9

800

A3

6

5

10

8

1200

Shortage quantity

300

500

1000

800