A shop has 4 machinists to be assigned to 4 machines. The hourly cost of having each and every machine operated by each machinist is as follows:
|  | Machine | 
| Machinist | A | B | C | D | 
| 1 | $10 | $2 | $8 | $6 | 
| 2 | 9 | 5 | 11 | 9 | 
| 3 | 12 | 7 | 14 | 14 | 
| 4 | 3 | 1 | 4 | 2 | 
a. Formulate the linear programming model for this problem.
b. Find out the optimal assignment and calculate total minimum cost.