Info

This question is closed. Reopen it to edit or answer.

Extracting variables during optimization (fmincon, MultiStart, run)

1 view (last 30 days)
Hello,
Could you please tell me how to extract some variables in the model? (in addition to the estimated parameters in the output of solutions, if it would be possible)
If the model have stored the variables computed with the estimated parameters via MultiStart, it would be great to extract those variables at the same time. Or, if I still really need to run the model one more time again, (in order to get the variables by using the estimated/optimized parameters via MultiStart), I will give up and also appreciate if you could tell me so.
Thank you so much for your advice, in advance.
Best, - Naho
%-------------- problem = createOptimProblem('fmincon',... 'objective', model,'x0',initval,'lb',LB,'ub',UB,'options',opts);
ms = MultiStart;
[b,fval,exitflag,output,solutions] = run(ms, problem, 50);
%-------------

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!