Community Profile

Professional Interests: Engineering, Finance

Contact

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...

1 Answers

0

Asked 2 years 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 t...

3 Answers

I have an optimization problem that is suitable for fmincon but fmincon fails to converge. I have to increase the tolerances to ...

0 Answers

My objective Function is V=Pvariance(A,B,C,W) After I successfully run the fmincon Optimization tool on my objective functi...