필터 지우기
필터 지우기

Best Fitness function of GA - Maximisation problem

조회 수: 2 (최근 30일)
MARIA JACKSON A
MARIA JACKSON A 2020년 11월 3일
답변: Star Strider 2020년 11월 3일
I have solved my function for maximixsation using the negative sign of the function since ga solves only for minimisation.
When I chose to find the best fitness value for the same maximisation my ga solver shows the best fitness and mean fitness value in the plot.
Here my best fitness value is smaller than the mean fitness value, which is not acceptable.
So help me to interpret the solution. Thanks.

답변 (1개)

Star Strider
Star Strider 2020년 11월 3일
The ga function is minimising the fitness value, as it should. The values it chose for your parameters will maximise your function. That you chose to negate your function in order to select for a parameter set to maximise it does not make any difference to ga. It has no idea what you want to do, nor does it care. (My apologies for the anthropomorphism.)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품


릴리스

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by