Hello Dear Members, I am trying to include a manipulate to NMaximize function to see how the output values are changing for p and t. By varying the variable w, x, y and z. Kindly please help me to resolve this, the file in attachment. Thanks.
Manipulate[[NMaximize[{
(*Objective function*)
-6 p + 92 t,
(*Constraints*)
-0.3 p + 12 t >= (w - 11.81) &&
-4 p + 34 t >= (x - 228.92) &&
-3 p + 133 t == (y - 163.28) &&
6 p - 92 t >= (z - 128.69),
p >= 0 &&
t >= 0},
{p, t}]],
{w, 6, 16}, {x, 170, 200}, {y, 150, 300}, {z, 50, 200}]
Attachments: