fminunc not to stop even if it does not converge in one or more of 1000 replications of a simulation
Show older comments
Hi, I have a simulation of 1000 replications including two optimizations each using fminunc. In some of the cases, one of the optimizations does not converge and the code stops. I want to modify the code so that it continues even if it does not converge for some replications. How can I do this?
Accepted Answer
More Answers (0)
Categories
Find more on Choose a Solver 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!