Question:medium

Maximize \( Z = x + y \)
subject to \( x - y \le -1 \)
\( -x + y \le 0,\ x \ge 0,\ y \ge 0 \)

Show Hint

Rewrite the first two constraints as \( y \ge x + 1 \) and \( y \le x \) and check whether any point can satisfy both.
Show Solution

Solution and Explanation

Step 1: Add the two constraints:
The two inequalities are $x - y \le -1$ and $-x + y \le 0$. Both have the same direction, so we may add them term by term.
\[ (x - y) + (-x + y) \le -1 + 0 \]
The left side is $0$ for every $x$ and $y$, so this reads
\[ 0 \le -1 \]

Step 2: Read the result:
The statement $0 \le -1$ is false. That means no pair $(x, y)$ can satisfy both inequalities at the same time, whatever the sign conditions are.
So the set of points that obey all four constraints is empty. This is called an infeasible problem.

Step 3: Check with the graph picture:
The boundary lines are $y = x + 1$ and $y = x$, and they are parallel. The first constraint keeps the half-plane above $y = x + 1$, and the second keeps the half-plane below $y = x$.
These two half-planes sit on opposite sides of the strip between the lines and never meet. The graph agrees with the algebra above.

Step 4: Effect on Z:
We maximise $Z = x + y$ only over feasible points. With no feasible point, there is no value of $Z$ to compare, so there is no maximum, and the question has no optimal solution.

Final Answer:
The problem is infeasible as printed: adding the first two constraints gives the false statement $0 \le -1$. \[ \boxed{\text{No feasible region, so no maximum of } Z \text{ exists}} \]
Was this answer helpful?
0

Top Questions on Linear Programming