필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
Devdatt Thengdi
Devdatt Thengdi 2018년 3월 13일
댓글: Kurt Stewart 2019년 9월 12일
Given: function 2 is dependent upon function 1.
  댓글 수: 4
Walter Roberson
Walter Roberson 2018년 3월 13일
Yes, but it is minimizing the negative of the value, which is the same as maximizing the value.
Torsten
Torsten 2018년 3월 14일
If I wanted to maximize a single function, I would not use gamultiobj.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kurt Stewart
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 CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by