Genetic Algorithm and Parallel Processing

조회 수: 27 (최근 30일)
Frederico Severgnini
Frederico Severgnini 2017년 6월 22일
댓글: Magdi Mosa 2019년 3월 2일
Hi, I'm running a simulation with genetic algorithm (ga) in parallel, and I'd like to use subpopulations (options.PopulationSize = [1e3; 1e3; 1e3; 1e3; 1e3;];). However, when I was reading about migration options at https://www.mathworks.com/help/gads/genetic-algorithm-options.html , I found a note saying:
Subpopulations refer to a form of parallel processing for the genetic algorithm. ga currently does not support this form.
In subpopulations, each worker hosts a number of individuals. These individuals are a subpopulation. The worker evolves the subpopulation
independently of other workers, except when migration causes some individuals to travel between workers.
Because ga does not currently support this form of parallel processing, there is no benefit to setting
PopulationSize to a vector, or to setting the MigrationDirection, MigrationInterval, or MigrationFraction options.
If ga does not support parallel processing for subpopulation, is there any other genetic algorithm solver we can made use of, that benefits from using subpopulations?
Regards, Fred

답변 (2개)

Magdi Mosa
Magdi Mosa 2018년 6월 22일
pleas, What are the conditions to run the subpopulation.

Qi Liu
Qi Liu 2019년 3월 1일
the same question goes for me too. Anybody can answer it ?? I would appreciate it.
  댓글 수: 1
Magdi Mosa
Magdi Mosa 2019년 3월 2일
yes i found my point,
set the population size in vector form such as in the attached picture
example Population size [50,50]

댓글을 달려면 로그인하십시오.

카테고리

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