Maximize Z = x + y, subject to constraints are x - y ≤ - 1, - x + y ≤ 0 and x, y ≥ 0.
Our problem is to maximize Z = x + y ........(i)
Subject to constraints are x - y ≤ -1 .......(ii)
- x + y ≤ 0 ...........(iii)
x ≥ 0, y ≥ 0 ........(iv)
Firstly, draw the graph of the line x - y = -1
x0−1y10
Putting (0, 0) in the inequality x - y ≤ - 1, we have
0−0≤−1⇒0≤−1 (which is false)
So, the half plane is away form the origin.
Secondly, draw the graph of the line - x + y = 0
x01y01
Putting (2, 0) in the inequality - x + y ≤ 0, we have - 2 + 0 −2+0≤0
⇒−2≤0 (which is true)
So, the half plane is towards the X - axis.
Since, x, y ≥ 0
So, the feasible region lies in the first quadrant. From the above graph, it is clearly shown that there is no common region. Hence , there is no feasible region and thus Z has no maximum value.
Note If there is no common region, then we do not determine the minimum / maximum value.