Minimize Z = -3x + 4y, subject to constraints are x+2y≤8, 3x+2y≤12,x≥0 and y≥0.
Maximize Z = 3x + 2y, subject to constraints are x+2y≤10, 3x+y≤15 and x, y ≥0.