What is the purpose of fminimax?
Mostrar comentarios más antiguos
Is fminimax(@myFun1, x0) equivalent to fminunc(@myFun2, x0), where myFun1 and myFun2 are defined as follows:
function myFun1(x)
return [f1(x) f2(x) f3(x)];
end
function myFun2(x)
return max([f1(x) f2(x) f3(x)]);
end
and f1, f2, f3 are some arbitrary functions. If so, what's the use of fminimax? Does it perform better?
1 comentario
I think you really meant to define myFun1 and myFun2 as follows,
function out=myFun1(x)
out = [f1(x) f2(x) f3(x)];
end
function out=myFun2(x)
out=max([f1(x) f2(x) f3(x)]);
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multiobjective Optimization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!