Week 1:
12 assemblers, 3 instructors, 6 trainees, revenue from assembled units = 12
·
40
·
30 = 14400, wages = 12
·
600 + 3
·
600 + 6
·
300 = 10800.
Week 2:
13 assemblers, 8 instructors, 16 trainees, revenue from assembled units = 13
·
40
·
25 = 13000, wages = 13
·
600 + 8
·
600 + 16
·
300 = 17400.
Week 3:
35 assemblers, 2 idle, revenue from assembled units = 35
·
40
·
20 = 28000, wages = 35
·
600 + 2
·
600 = 22200.
Total profit = total revenue
−
total wages = 55400
−
50400 = 5000 dollars.
The company wants to schedule the production so as to maximize the total profit. Write down a Linear Programming formulation of this problem as Matlab code. Ex-
plain the meaning of your variables.
Hint:
It follows from the theory of Linear Programming that you do not need to
explicitly assume that the variables in your formulation of this problem take only integer values.
Part (b)
Solve the problem in Matlab. Print an optimal schedule of the production and the total profit obtained from this optimal solution.