gamultiobj: How do I minimize one function and maximize the other
Afficher commentaires plus anciens
Given: function 2 is dependent upon function 1.
4 commentaires
Torsten
le 13 Mar 2018
If the two functions are dependent upon each other, it won't in general be possible to minimize the first while maximizing the second. You will have to find a compromise - that's what Pareto optima obtained from gamultiobj do.
Best wishes
Torsten.
Devdatt Thengdi
le 13 Mar 2018
Walter Roberson
le 13 Mar 2018
Yes, but it is minimizing the negative of the value, which is the same as maximizing the value.
Torsten
le 14 Mar 2018
If I wanted to maximize a single function, I would not use gamultiobj.
Réponses (1)
Kurt Stewart
le 12 Sep 2019
1 vote
To find the maximum, if the function is positive, shift it down (subtract a really big value) such that it is completely negative and then take the aboslute value. You will find your x where the maximum is.... then plug it into the original function and you will find your maximum
1 commentaire
Kurt Stewart
le 12 Sep 2019
One way to do it anyways
Catégories
En savoir plus sur Multiobjective Optimization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!