Genetic Algorithm does not use the specified Initial Population Matrix

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일

1 개 추천

Ok I found the problem in my codes. It is the initial population matrix values that violates the linear constraints I specified.

카테고리

질문:

2023년 8월 10일

이동:

2023년 8월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by