How to see at each iteration the results of fmincon
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I am using a Non linear MPC formulation for my problem, but I would like to check the results of fmincon at each iteration or generally see the "under the hood" options of the Non linear MPC solver.
How could I do that?
0 commentaires
Réponse acceptée
rubindan
le 16 Juin 2020
The options OutputFcn and PlotFcn (which you specify using optimoptions) allows you see what happens in each iteration online.
I for exmaple once written a custom OutputFcn to save each iteration data in a log file.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Refinement dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!