Professional Interests: Engineering, Finance
I have used "if sum(W)==1" in a function and the function does not work as it should. If I change it to "sum(W)<=1" it starts to...
Asked 1 year ago
I have to write [sum(W) should equal 1] within a function.
W is an 8 element vector.
When I try to write: if sum(W)==1
I have an optimization problem that is suitable for fmincon but fmincon fails to converge. I have to increase the tolerances to ...
My objective Function is
After I successfully run the fmincon Optimization tool on my objective functi...
Join the conversation