recover exitflag (and other outputs) when using MultiStart
Show older comments
Hi there!
in short: how can I retreive extra outputs given by lsqnonlin (like exitflags) when running it through MultiStart?
in long: I'm using lsqnonlin to solve a 3x3 nonlinear model. Before I used to run this command directly, like [SOL,resnorm,residuals,exitflag,output,lambda,jacobian] = lsnonlin(f,etc...). Exitflag is particularly useful to understand how the solution is found. Now, I moved into MultiStart because it solves many problems I had. The problem is that now with MultiStart I lost all the extra information I was getting when running lsqnonlin directly. I don't see how to retreive it, since createOptimProblem and Multistart seems not to have options for retreiving information given by the solver. how can I recover that info (only for the last iteration in MultiStart is enough)?
Thanks!
Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!