Clear Filters
Clear Filters

How to show optimvar in optimization iterations?

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!