The above LPP can be presented in a table below,
Hence mathematical formulation of LPP is,
Max Z = x + y
Subject to constraints,
[Since production can not be less than zero]
The corner points are B(0, 12), P(5.86, 0.27), E(24, 0)
The values of Z at these corner points are as follows:
The minimum value of Z is 6.13 but the region is unbounded so check whether x + y < 6.13
Clearly, it can be seen that it does not has any common region.
So, x = 5.86, y = 0.27
This is the least quantity of pill A and B.
Codeine quantity = x + 66y = 5.86 + (66 0.27) = 24(approx).