gamultiobj: How do I minimize one function and maximize the other
2 次查看(过去 30 天)
显示 更早的评论
Given: function 2 is dependent upon function 1.
4 个评论
Walter Roberson
2018-3-13
Yes, but it is minimizing the negative of the value, which is the same as maximizing the value.
回答(1 个)
Kurt Stewart
2019-9-12
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multiobjective Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!