MATLAB: Which function should i use in Optimization toolbox

optimization

i have a function let say f= 2*x1*x2 + x1^2 – x1 – 2*x2 + …
(note that the function can not be displayed by matlab because it is the result of inverse matrix, and it is very, very long)
i want to optimize f so it tends to zero (minimize) lower bound for either x1 and x2 is 0.1*x upper bound for either x1 and x2 is 10*x
there is optimization toolbox installed, but i am not sure which function should i use.
Best regards, Dahnial

Best Answer

fmincon
Related Question