Best decision karo — constraints ke andar maximum profit ya minimum cost!
Ek factory do types ke products banati hai — Type A aur Type B. Type A ke liye 2 hours machine time aur 1 hour labor chahiye. Type B ke liye 1 hour machine aur 2 hours labor. Total 100 hours machine aur 80 hours labor available hai. Type A se ₹300 aur Type B se ₹200 profit milta hai. Factory ko kitna A aur kitna B banana chahiye ki maximum profit ho? Yahi Linear Programming Problem (LPP) hai!
Decision Variables: Jo quantities hum choose karte hain (x, y)
Objective Function: Jo maximize ya minimize karna hai (Z = ax + by)
Constraints: Linear inequalities jo limitations represent karti hain
Non-negativity: x ≥ 0, y ≥ 0 (real quantities negative nahi ho sakti)
x + y ≤ 4, x + 3y ≤ 6, x,y ≥ 0
Maximum Z = 14 at point B(3,1)
Unique optimal solution: Exactly ek corner point par maximum/minimum.
Multiple optimal solutions: Agar objective function ki line ek constraint ke saath parallel ho — infinite solutions.
Unbounded solution: Feasible region unbounded aur Z arbitrarily large ho sake.
No solution: Feasible region empty (constraints contradict each other).
Q1. Maximize Z=x+y, subject to x+y≤4, x≥0, y≥0. Answer?
Feasible region: triangle O(0,0), A(4,0), B(0,4). Z at A=4, Z at B=4 → Multiple optimal solutions. Max Z=4 along line segment AB.
Q2. Minimize Z=3x+2y subject to x+y≥4, 3x+y≥6, x,y≥0.
Boundary lines: x+y=4 (intercepts 4,4), 3x+y=6 (intercepts 2,6). Intersection: x=1,y=3. Corner points: (0,6),(1,3),(4,0). Z: 12, 9, 12. Min Z=9 at (1,3).