Genetic Algorithm does not use the specified Initial Population Matrix

1 view (last 30 days)
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?

Answers (1)

Xuming Yuan
Xuming Yuan on 10 Aug 2023
Moved: Steven Lord on 10 Aug 2023
Ok I found the problem in my codes. It is the initial population matrix values that violates the linear constraints I specified.

Community Treasure Hunt

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

Start Hunting!