Borrar filtros
Borrar filtros

Genetic Algorithm does not use the specified Initial Population Matrix

3 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Xuming Yuan
Xuming Yuan el 10 de Ag. de 2023
Movida: Steven Lord el 10 de Ag. de 2023
Ok I found the problem in my codes. It is the initial population matrix values that violates the linear constraints I specified.

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by