Could someone please help me with this,

I am trying to minimize a 3 variable problem, and, keep getting this error in return,

"Not enough input arguments"

Number of variables = 3

Upper bounds = [12 3 5]

Lower bounds = [6 1 1]

Function used,

function y = pallab(x)

y = -0.59567+0.008793*x(1)+0.1025*x(2)+0.40967*x(3)-0.000266667*(x(1)*x(2))+0.0000*(x(1)*x(3))-0.106*(x(3)^2);

end

Thanks in advance

More Pallab Kumar Borah's questions See All
Similar questions and discussions