gamultiobj: How do I minimize one function and maximize the other

7 visualizaciones (últimos 30 días)
Devdatt Thengdi
Devdatt Thengdi el 13 de Mzo. de 2018
Comentada: Kurt Stewart el 12 de Sept. de 2019
Given: function 2 is dependent upon function 1.
  4 comentarios
Walter Roberson
Walter Roberson el 13 de Mzo. de 2018
Yes, but it is minimizing the negative of the value, which is the same as maximizing the value.
Torsten
Torsten el 14 de Mzo. de 2018
If I wanted to maximize a single function, I would not use gamultiobj.

Iniciar sesión para comentar.

Respuestas (1)

Kurt Stewart
Kurt Stewart el 12 de Sept. de 2019
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

Categorías

Más información sobre Get Started with Optimization Toolbox 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