413 questions
0 votes
0 answers
50 views
Genetic Algorithm Implementation – Error in Selection/Mutation/Population Formation Steps
I’m working on a genetic algorithm for an optimization task where I need to compare different parameters across three functions, including: Crossover: One-point (OT), two-point (DT) Mutation rates: 0....
-2 votes
1 answer
68 views
N Queen problem with Evolutionary Algorithm
I am trying to solve a NQueen problem using Evolutionary algorithm but im not able to get desired output of my graph. Following is the code I wrote import matplotlib.pyplot as plt import random import ...
0 votes
1 answer
173 views
Why are the iterations of my CMA-ES implementation slowing down with multiprocessing?
I've implemented CMA-ES in python using the cma package. In an effort to speed up the algorithm, I'm initializing several instances of the algorithm in parallel using the multiprocessing package. This ...
-2 votes
1 answer
79 views
Generating a schedule for a carpool of teachers using evolutionary algorithms [closed]
Edit: I had to specify this question. Originally I wanted to discuss different algorithmic approaches. But now I want to ask specifically how an evolutionary algorithm would have to be designed to ...
0 votes
0 answers
232 views
Implement evolutionary algorithm with TensorFlow
I am trying to implement training through an evolutionary algorithm for a neural network using TensorFlow and Keras, but I think something is not working with my implementation as it doesn't seem to ...
1 vote
0 answers
42 views
MOEA/D Algorithm Always Returning a Single Solution Instead of the Pareto Frontier
class MOEAD: def __init__( self, problem, n_dim, n_population, n_neighbors, bounds, n_generations, crossover_probability, ...
0 votes
1 answer
64 views
How to improve evolutionary algorithm for dices
I have the task to implement an evolutionary algorithm in which an individial consists of 100 dices. My goal is to get all sixes as values for the dices for the individuals. For this I implemented ...
0 votes
1 answer
479 views
Couldn't get more than two solutions in pymoo
I have a problem with two objectives. The problem is minimized by NSGA-2 algorithm. I run minimize with different population sizes and different termination criterias, but every time the algorithm ...
0 votes
0 answers
52 views
Optimizing nested coordinate transformation
I'm working on an implementation of an Evolutionary Algorithm in Pandas using Numpy. The code is based around an implementation found on MathWorks. It works and produces logical results, however it is ...
1 vote
1 answer
217 views
Neural Network with Evolution Strategies optimizer keeps outputting the same accuracy on MNIST - Pytorch
My task is to create a ANN with an Evolution Strategies algorithm as the optimizer (no derivation). The dataset I am using is MNIST. For now, I am just trying to implement this with a Linear ANN. I ...
0 votes
0 answers
228 views
Genetic Algorithm does not improve solution (Set Covering Problem)
I made a genetic algorithm to solve the Set Covering Problem (SCP) which consists of given a coverage matrix that tells us which columns cover which rows and what is the cost of each column to find ...
0 votes
1 answer
197 views
BayesTraits Error: Does have a translate line
I am running a test on behavioral evolution, using the multistate function of BayesTraits v. 4.0.0. I have my rooted treefile Tree.trees (using FigTree), my list of specimens in a .txt like like below:...
0 votes
1 answer
137 views
Evolutionary algorithm: permutation problem with restrictions on allowed permutations
I have a set of same-sized n(=25) matrices, m_1, m_2, ..., m_n, where each matrix falls into one of 10 classes. For each matrix, I have to find a "pair matrix" from the set so that the sum ...
0 votes
1 answer
43 views
What metric should be minimized when trying to find a subset of points from a given set so that the selected points are uniformly distributed?
Given a set of n points, I have to find a subset of given size m<size(n), so that the points in the selected subset are as uniformly distributed as possible across the volume enclosed by the convex ...
-1 votes
1 answer
149 views
Evolutive neural network on Super Mario World
I'm trying to run this application of the NEAT algorithm so it can play SMW, but instead it just stays on the select level section, where it can not learn anything. It work with the EmuHawk and a LUA ...