Hi there,
My question is very straightforward: for a function that depends on multiple parameters, say f(a,b,c), what is the optimal way to parse the fixed parameters (in this example "b" and "c") when calling fmincon.
I found this link with three suggestions: http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html#bripxyy
However, in my experiments using "global" actually improved performance slightly.
To give you a background, I ran several Monte Carlo experiments (10MM) where each run calls fmincon once. Thus, even a slight performance improvement might reduce the computational time substantially.
Thanks,
Best Answer