The given constraints are,
The objective function which needs to maximize is,
The line
x | 0 | 1 |
y | 5 | 0 |
Also, when
This is true, so the graph have the shaded region towards the origin.
The line
x | 0 | 5 |
y | 15 | 0 |
Also, when
This is true, so the graph have the shaded region towards the origin.
By the substitution method, the intersection points of the lines
Plot the points of all the constraint lines,
It can be seen that the corner points are
Substitute these points in the given objective function to find the minimum value of Z.
Corner points | |
| 15 |
| 18 (maximum) |
| 10 |
Therefore, the maximum value of Z is 18 at the point