We have, minimize Z=6x+21y
Subject to x+2y≥3,x+4y≥4,3x+y≥3,x≥0,y≥0
Let l1:x+2y=3,l2:x+4y=4,l3:3x+y=3 l4:x−0 and l5:y=0 For B : Solving l1 and l2, we get B(2,1/2) For C : Solving l1 and l3, we get C(0.6,1.2)
Shaded portion is the feasible region, where A(4,0), B(2,21)C(0.6,1.2),D(0,3).
Now, minimize Z=6x+21y Z at A(4,0)=6(4)+21(0)=24 Z at B(2,21)=6(2)+21(21)=22.5 Z at C(0.6,1.2)=6(0.6)+21(1.2)=3.6+25.2=28.8 Z at D(0,3)=6(0)+21(3)=63
Thus, Z is minimized at (2,21) and its minimum value is 22.5.