Genetic Algorithm does not use the specified Initial Population Matrix

조회 수: 5 (최근 30일)
Xuming Yuan
Xuming Yuan 2023년 8월 10일
이동: Steven Lord 2023년 8월 10일
I am solving an optimisation problem using genetic algorithm and I generated the initial population matrix as shown in the first screenshot below. In normal situations, the objective function should start from using the decision variable values in the first row of the initial population matrix. However, when I debug my codes, I found that the objective function was not using the first row decision variable values. Instead, it started from the bounds of the decision variables (the second screenshot). What's happening here?

답변 (1개)

Xuming Yuan
Xuming Yuan 2023년 8월 10일
이동: Steven Lord 2023년 8월 10일
Ok I found the problem in my codes. It is the initial population matrix values that violates the linear constraints I specified.

카테고리

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