Questions tagged [genetic-algorithms]

Questions on genetic algorithms, a family of evolutionary search heuristics. Genetic Algorithms are adaptive heuristic search algorithms based on the evolutionary ideas of natural selection and generics.

Filter by
Sorted by
Tagged with
4
votes
2answers
643 views

Measuring and maintaining the diversity of individuals in Genetic Algorithm

While I was using the Genetic Algorithm to generate full correct Sudoku grids starting from a population of random grids, I occasionally face the problem of the process being stuck on a local maxima ...
2
votes
1answer
863 views

NeuroEvolution: NEAT algorithm innovation numbers

I have been reading up on the NeuronEvolution of Augmented Topologies and there's this little thing that's been bothering me. While reading Kenneth Stanley's Paper on NEAT I came on this figure here: ...
1
vote
1answer
92 views

Direct encoding of the solution into the chromosomes in a Random-Key Genetic Algorithm

In a random key genetic algorithm1, the chromosomes consist in a sequence of real numbers (initially randomly generated) in the interval $[0,1]$. I've been told by my teacher that in these kinds of ...
0
votes
2answers
336 views

It's necessary to replace all the population each generation in a genetic algorithm?

I'm creating a timetable generator using GA's, and I'm stuck in the crossover part. Each generation, I just basically copy the best individuals (the 50% fittest individuals inside the population), ...
0
votes
0answers
44 views

Using Genetic Algorithms for volatile problems

Suppose I am looking at an optimization problem with a large number of interconnected constraints, but the solution is - in some regions - extremely volatile (With volatile I mean: small mutations ...
0
votes
0answers
49 views

Genetic algorithms, Pittsburg - Reach a decision from a set of rules

Consider a binary classification problem. In the Pittsburg approach each member of the population represents a set of rules. Each rule encodes information regarding the data features (that is, the ...
0
votes
1answer
74 views

Is my implementation of genetic algorithm correct?

In genetic algorithms, we have a function called "mutation". Before we call this function, we choose parents. In my version of the algorithm, when i mutate the child, i don't change the bits which ...
0
votes
1answer
561 views

Pittsburgh approach, how does encoding and fitness function work?

I am writing a genetic algorithm for Machine learning and came across Pittsburgh approach in some research papers. The papers didn't explain the algorithms proper or I am too stupid to understand. I ...
3
votes
2answers
543 views

What crossover operator should I use for arranging students in classrooms?

I am building a genetic algorithm to solve a "classroom map" problem. The goal is to place correctly students depending on several factors (shortsighted students, turbulent students...). Here, the ...
2
votes
1answer
55 views

Measuring Fitness in Genetic Programming Functionology

I recently begun working on a genetic algorithm to solve for patterns in data. More specifically, it solves for functions given a sample of ins and outs. So a possible solution would be X+2 = Y. The ...
4
votes
2answers
289 views

Does local optimization in a genetic algorithm decrease diversity?

I want to create a hybrid genetic algorithm for a project to solve really high dimensional problems (1000+) One of my ideas is to incorporate a local optimization method within GA so each individual ...
6
votes
1answer
586 views

Should you use Genetic algorithm for an extremly large unstructured search space?

My search space is discrete and in the order of $10^{1360}$, with a probably very complex fitness surface. Is it hopeless to attempt to use GA for such a problem? One fitness evaluation could take 1-3 ...
3
votes
2answers
79 views

Genetic Algorithms: Converge to best solution for one, few or many environments?

Let's say we take someone's garden (A) as the environment. We want a robot to pick up a series of eggs that chickens have laid in the garden, while covering as little ground as possible (those heavy ...
0
votes
0answers
201 views

Why does my Genetic Algorithm not work for higher number of individuals?

I am using a cooperative coevolutionary genetic algorithm, the algorithm is given in A cooperative coevolutionary approach to function optimization by DeJong et. al. (1994), for optimizing a 62 ...
1
vote
1answer
237 views

Variation of rank selection in genetic algorithm

I'm looking for a specific variation of rank selection in genetic algorithms. I came across a python program tailored for a specific problem that uses a variant of "rank" selection. In normal rank ...
2
votes
1answer
3k views

Genetic Algorithms - Tournament Selection

I know this should be a fairly simple concept but I have been Googling a lot and can't seem to find a definitive definition. If we had the following random population: ...
3
votes
1answer
294 views

Genetic Algorithms - Why wouldn't we use the principle of Elitism?

In Genetic Algorithms, the idea of elitism is that we keep our best solution from the generation in our population regardless of what happens throughout the iteration. However, elitism seems to be ...
2
votes
1answer
80 views

Can the reproduction function of an evolutionary algorithm consider gene strength?

I am trying to solve the Zen Garden puzzle using an evolutionary algorithm. My question relates to evolutionary algorithms in general. Bit about evolutionary algorithms: An evolutionary algorithm is ...
6
votes
1answer
3k views

How to identify when to use Genetic Algorithm/Programming

I have been reading/studying on genetic algorithm/programming, and have implemented Traveling salesman problem. TSP is basically a permutation/combination problem, and I can understand how GA helps ...
7
votes
2answers
9k views

How to avoid getting stuck on local optimum, for genetic algorithms

I'm programming a genetic algorithm using grammatical evolution. My problem is that I reach local optimal values (premature convergence) and when that happens, I don't know what to do. I'm thinking ...
1
vote
0answers
16 views

What use does the predictor stage in a particle filter have?

Im a bit confused about the particle filter. I understand the generic particle filter algorithm but in some literature say particle filter has predictor stage which is not mentioned in the generic ...
0
votes
2answers
578 views

How do genetic algorithms work exactly?

I was looking at the basic genetic algorithm here http://www.ai-junkie.com/ga/intro/gat1.html But I have some questions about things I didn't get. To reiterate: You have a problem you want a good ...
6
votes
1answer
2k views

Train a neural network to play tic tac toe using a genetic algorithm

I have an assignment for school, in which I have to build a neural network that will play tic tac toe, using genetic algorithms for training. The thing is that I am clueless on how to connect the two. ...
10
votes
3answers
4k views

Evolving artificial neural networks for solving NP problems

I've recently read a really interesting blog entry from Google Research Blog talking about neural network. Basically they use this neural networks for solving various problems like image recognition. ...
0
votes
1answer
59 views

Comparing different implementations of genetic algorithms

I am looking up some material for my thesis in CS (development of a module to integrate a genetic algorithm in a system developed by other students). My actual current task is to make a comparative ...
1
vote
2answers
804 views

Why are syntax trees used in genetic programming?

Reading a course on genetic programming, the first chapter describes the syntax tree as the basic representation of programs in genetic programming. What are the reasons leading to the choice of a ...
2
votes
1answer
2k views

TSP genetic algorithm: what mutation function for adjacency representation?

When implementing TSP GA I decided for adjacency representation (i.e. $j$ value in $i$-th index means that node $j$ goes right after node $i$), as it enables interesting heuristical crossover ...
0
votes
1answer
99 views

A clarification on the taxonomy of Evolutionary Algorithms

A rather basic question but I am confused about the characterization of a certain local search method which I want to describe in the framework of EAs. In particular, consider an EA which in every ...
3
votes
0answers
1k views

Genetic algorithm crossover technique for solving graph colouring problem

I am trying to develop a genetic algorithm to solve a graph colouring problem. The problem is the standard graph colouring problem, given a graph $G = (V,E)$ where $V$ is the set of vertices $V=\{0 \...
0
votes
2answers
251 views

Looking for an algorithm to generate an identicon/avatar from genome data

I am looking to develop an app that generates a single identicon image that summarizes the genome information in visual form. Identicons are essentially a visual hash of of data. usually string data ...
1
vote
1answer
207 views

Extended Compact Genetic Algorithm question

I have a question regarding the ECGA algorithm. This is what I'm currently studying. If ECGA builds a model of the parent pool using the 'minimum description length' (MDL) measure, why cannot we ...
2
votes
1answer
110 views

Mutations as a crossover by product

Let's say I'm writing a GA to find an optimal path to travel from point $A$ to point $B$. Genotypes are a list of directions (north, south, east, west) to follow. So a genotype "NENWEE" will move ...
5
votes
2answers
4k views

Selection, crossover and mutation function choice in genetic algorithms

I have been developing a GA for one of the projects I'm working on. I have everything implemented with no problems and I really like how GAs work in general, it's a really cool and relatively new ...
4
votes
1answer
1k views

Genetic Algorithm, Neural Network, Deep Learning, Machine Learning Similarities and Applications? [closed]

I am a computer engineering student and trying to get the idea behind all these Artificial Intelligence Concepts and applications. I know little theoretically about machine learning and some high ...
1
vote
2answers
1k views

Genetic Algorithm Minimum Population Size

Is there a minimum limit to a pool (population) size when using the genetic algorithm to solve an optimization problem? For example a population of size 2.
1
vote
2answers
103 views

The name for this genetic algorithm variant

What is the name for this variant of genetic algorithm. I'm sure I have read about this in Wikipedia, but now I could not find it: There in no thing as sequential population. The phenotypes lives and ...
5
votes
2answers
1k views

Is Differential Evolution a genetic algorithm?

I am trying to classify the Differential Evolution algorithm according to the framework in the book: Introduction to Evolutionary Computing The authors classify the field of evolutionary ...
1
vote
0answers
761 views

Improving MSE as fitness function for a genetic algorithm

I am implementing an autoencoder neural network in matlab, the weights of which are being optimised by a genetic algorithm. At the moment I am working on the first layer, trying to get an improved ...
3
votes
1answer
1k views

Disadvantages to using simple step functions for activation in neural networks?

From what I have read, the main advantage to using tanh(x) or sigmoid(x) as an activation function for neural networks is that it is very easily differentiable. I am trying to implement a neural ...
1
vote
1answer
75 views

Bit distance and disruption [duplicate]

Earlier, I asked a question defining disruption in Genetic Algorithms. Given that definition, I'm still confused on how to answer the following question. True or false? For 1-point and 2-point ...
2
votes
1answer
62 views

Progressive discrete multifunction optimization

I have a set of functions $F$. The functions effectively take a set $S$ that is always a subset of a global set of all possible values $G$, where $|G|>1000$. (alternatively, they could take a $|G|$...
2
votes
1answer
146 views

Disruption in the context of Genetic Algorithms

I'm trying to do a homework problem which references "disruption" in Genetic Algorithms. True or false? For 1-point and 2-point crossover, the schemata which have bits that are close ...
2
votes
1answer
89 views

Fitness functions for low-dimensional parts of cooperative coevolution algorithms

In cooperative coevolution algorithms, a high dimensional vector is broken into smaller vectors, each of which is optimized separately using EAs for fewer dimensions and then recombined. What is the ...
22
votes
5answers
3k views

Why do low fitness individuals have a chance to survive to the next generation?

I am currently reading and watching about genetic algorithm and I find it very interesting (I haven't had the chance to study it while I was at the university). I understand that mutations are based ...
0
votes
2answers
83 views

Programming a genetic algorithm with a non-fixed size

I am trying to write a genetic algorithm for a program. Most examples for genetic algorithms use something like this as the input: aaaaaaaaaa and mutate/...
3
votes
1answer
5k views

How to stop genetic algorithm population converging to a single value

I've written a genetic algorithm (GA) that solves a 7-dimensional optimisation problem. All seven variables are floating point numbers. The problem is that the entire population seems to converge to ...
2
votes
1answer
809 views

Genetic algorithm fitness function [closed]

I'm trying to write some little code (POC for the selection/mutation operators) that uses a genetic algorithm to solve a global maximum for a function. ...
19
votes
2answers
639 views

Why are diploid (dominant/recessive) genes not used widely in genetic algorithms?

In most implementations of genetic algorithms, the focus is on crossover and mutation. But somehow, most of them leave out diploid (dominant/recessive) nature of genes. As far as my (limited) ...
9
votes
2answers
193 views

Selection of parameters for genetic algorithm

How can one select the proper number of parameters for a genetic algorithm to model a given system? For example, say you want to optimize production of cars, and you have 1,000 measurements of hourly ...
4
votes
2answers
220 views

Computer Music Composition

I've been looking into computer assisted music composition lately for my school project. While searching for literature I came across GenJam, an interactive jazz improvisation software which uses ...