How to show optimvar in optimization iterations?

Hello,
I am using fmincon to solve an optimization problem. The program found a local minimum value, but I do not like the output optimvar. I want to see what is the optimvar that generates the second smallest value, and the third smallest value, so on. Maybe I can use those. Adding 'iter' in 'options' only gives me the objective values in each iteration. Is there a way to see the corresponding optimvar in the iterations? Thanks for helping.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Design Optimization 的更多信息

标签

提问:

2020-12-9

Community Treasure Hunt

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

Start Hunting!

Translated by