Optimizing function of functions

6 vues (au cours des 30 derniers jours)
Saifullah Khalid
Saifullah Khalid le 16 Mar 2020
Commenté : Walter Roberson le 17 Mar 2020
I am trying to optimize two functions and where. The function is a subfunction of means the results of are input to .
I am curious whether it is better to optimize a sum of the functions e.g. or I can co-optimize the functions as additionally depends on w. I am inclined to co-optimization but not sure if optimizing the sum of functions is a better or mandatory approach for this problem. I would appreciate any guidance, comments or helpful literature references.
  5 commentaires
Saifullah Khalid
Saifullah Khalid le 17 Mar 2020
Walter Roberson, thank you very much detailed asnswer. "Why would you prefer one over the other? Well, getting the pareto front can tell you about multiple configurations that are each optimal, permitting you to choose the best one for your resources."
The resonse is convincing and is what I am actually looking for. But, is there any mathematical limitation on optimizing the composit function (profit) becuase of the fact that E depends on or it does not has any bearing?
Walter Roberson
Walter Roberson le 17 Mar 2020
It doesn't matter. All gamultiobj cares about is that it can place a call through the function handle and get back a vector of results. It does not care how many function calls that uses.
Consider for example that
F = @(X, Y, W) X.^2 + Y.^2 + (X-Y-W).^2
can be rewritten as
P = @(X,Y,W) (X-Y-W).^2
F = @(X,Y,W) X.^2 + Y.^2 + P(X, Y, W)
which can in turn be rewritten as
F = @(X, Y, W, Q) X.^2 + Y.^2 + Q(X, Y, W)
Called with (x, y, w, P)
obviously this is just an implementation detail as far as the mathematics is concerned.

Connectez-vous pour commenter.

Réponse acceptée

Alan Weiss
Alan Weiss le 17 Mar 2020
You could use the approach in Generate and Plot a Pareto Front. Or you could try using a multiobjective solver, if you have a Global Optimization Toolbox license. As usual, Walter has good ideas.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
Saifullah Khalid
Saifullah Khalid le 17 Mar 2020
Alan Weiss, thank you very much for response. Luckily, I have licence for Global Optimization Tool Box and will utilize it as needed. can you please have a look on the last comment I posted in response to @Walter Roberson comment.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by