How can I stop Fmincon?

4 visualizaciones (últimos 30 días)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI el 22 de Mzo. de 2025
Respondida: Walter Roberson el 22 de Mzo. de 2025
Hi all,
How can I stop the fmincon if the cost function tracks a certian value?

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Mzo. de 2025
Use an OutputFcn and set the "stop" output according to whether you want to stop or not. https://www.mathworks.com/help/optim/ug/output-function.html#f11675

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by