Genetic Algorithm
Updated 2026-07-28
Summary
Genetic Algorithm (GA) is a search algorithm in computational mathematics used for solving optimization problems, and is a type of evolutionary algorithm. Evolutionary algorithms were originally developed by drawing on phenomena in evolutionary biology, including heredity, mutation, natural selection, and crossover. Genetic algorithms are typically implemented as computer simulations. For an optimization problem, a certain number of candidate solutions (called individuals) can be abstractly represented as chromosomes, allowing the population to evolve toward better solutions.
Definition
Genetic Algorithm (GA) is a search algorithm in computational mathematics used for solving optimization problems, and is a type of evolutionary algorithm. Evolutionary algorithms were originally developed by drawing on phenomena in evolutionary biology, including heredity, mutation, natural selection, and crossover. Genetic algorithms are typically implemented as computer simulations. For an optimization problem, a certain number of candidate solutions (called individuals) can be abstractly represented as chromosomes, allowing the population to evolve toward better solutions. Traditionally, solutions are represented in binary (i.e., strings of 0s and 1s), but other representations are also possible. Evolution starts from a population of completely random individuals and proceeds in generations. In each generation, the fitness of the entire population is evaluated, multiple individuals are randomly selected from the current population (based on their fitness), and a new population is produced through natural selection and mutation, which becomes the current population in the next iteration of the algorithm.
Introduction
How to use
Genetic Algorithm (GA) is a search algorithm in computational mathematics used for solving optimization problems, and is a type of evolutionary algorithm. Evolutionary algorithms were originally developed by drawing on phenomena in evolutionary biology, including heredity, mutation, natural selection, and crossover. Genetic algorithms are typically implemented as computer simulations. For an optimization problem, a certain number of candidate solutions (called individuals) can be abstractly represented as chromosomes, allowing the population to evolve toward better solutions.
Mechanism
Inspired by evolution, it iteratively applies selection, crossover, and mutation to a population of candidate solutions, retaining high-fitness solutions to approach the optimum. Essentially, it is a stochastic search.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Using genetic algorithms to optimize antenna shapes, course timetables, or neural network weights.
Common pitfalls
- Mistakenly assuming it always finds the global optimum. It provides approximate solutions and depends on parameter settings.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E9%81%97%E4%BC%A0%E7%AE%97%E6%B3%95verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS