필터 지우기
필터 지우기

Question about the best fitness function value in genetic algorithm

조회 수: 2 (최근 30일)
Ying
Ying 2017년 3월 26일
댓글: Alan Weiss 2017년 3월 26일
I am using the genetic algorithm from Global Optimization Toolbox to sovle a non-smooth optimization problem. The level of display is set to be 'iter', and I also add "@gaplotbestf" in the plot options.
However, the best fitness function value shown in the display is different from the one shown in the @gaplotbestf plot.
For example, the best fitness function value shown in the display is -0.00739942, and the best fitness function value shown in @gaplotbestf plot is -20.3323.
I have no clue why this happens and which number I should trust. Thanks!
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 3월 26일
I wonder if gaplotbestf takes into account locations that turn out to be rejected due to constraints?
Alan Weiss
Alan Weiss 2017년 3월 26일
Do you have nonlinear constraints? Please show us your call to ga, including all options.
Alan Weiss
MATLAB mathematical toolbox documentation

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

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by