Genetic Algorithm does not use the specified Initial Population Matrix

6 次查看(过去 30 天)
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