Fmincon and fminimax as optimisers

5 visualizaciones (últimos 30 días)
serge ayao
serge ayao el 29 de Abr. de 2020
Comentada: serge ayao el 30 de Abr. de 2020
How well does fmincon work was as an optimiser for a bounded function with no inequality constraints compared to the fminimax. And why would one be better than the other.

Respuesta aceptada

Walter Roberson
Walter Roberson el 29 de Abr. de 2020
fminimax() is for objective functions that return non-scalars and you want to minimize the maximum of the non-scalar values returned.
fmincon() can only handle functions that return scalar values.
You might think of using @(x) max(YourNonScalarFunction(x)) with fmincon, but max() is not a continuous function, and fmincon() is only designed for continuous functions.
For the case of a function that returns a scalar and has the needed continuity, fmincon() would be expected to be more efficient.
  1 comentario
serge ayao
serge ayao el 30 de Abr. de 2020
Thank you, this explanation has helped me out a lot

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by