From\To

W1

W2

W3

Availability ai

S1

X

14

S2

X

5

(4)

8

(6)

4 − 4 = 0

S3

X

X

7

(6)

0

Requirement bj

8

10 − 4 = 6

0

14