Is it possible to store the evaluation of the fitness function using generatic algorithm

1 次查看(过去 30 天)
I have defined a fitness function and I want to pass it to MATLAB Genetic Algorithm solver to find the best combination of parameters. Is it possible to store the fitness values and paramenters for each evaluation of the fitness function within the execution of the genetic algorithm?
  1 个评论
Geoff Hayes
Geoff Hayes 2022-2-1
@Jaime Trivino - according to ga function output params, the output, is a structure that contains output from each generation and other information about the performance of the algorithm. However, other documentation on the same page, at output, says something slightly different. I don't have the Optimization Toolbox so can't comment for sure what is actually returned...though at one time I did think that the output for all generations could be captured.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by