Say i have a function f(X)
which i want to minimize with constraints such that some other functions- A(X) = 0
and B(X) = 0
and 0 < C(X) < pi
. There are many algorithms to do it, but to make my life easier, i want to use built in function fmincon()
in matlab. So i read this documentation:
http://www.mathworks.com/help/optim/ug/fmincon.html
But I don't understand how I should I pass the parameters to solve my problem in specific. How do I do it? Can I do it at all?