photo

Andrew


University of Wisconsin

Active since 2013

Followers: 0   Following: 0

Message

Professional Interests: Engineering, Finance

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Using fminsearch for solving a problem with constraints
I have an optimization problem that is suitable for fmincon but fmincon fails to converge. I have to increase the tolerances to ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


sum(W)==1 used in a function does not work with the exact number
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...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Using Sum(W) ==1 as a condition in a function
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...

meer dan 11 jaar ago | 3 answers | 0

3

answers

Question


After I successfully run the fmincon Optimization tool on my objective function, I generate code. When I try to run the computer generated code it does not run. Gives error message.
My objective Function is V=Pvariance(A,B,C,W) After I successfully run the fmincon Optimization tool on my objective functi...

meer dan 11 jaar ago | 0 answers | 0

0

answers