Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
181 views

I use pyomo to formulate optimization problems and tyically use solvers like for example IPOPT. Now I would like to apply metaheuristic solvers to those optimization problems. I have already heared of ...
Andre's user avatar
  • 383
1 vote
1 answer
177 views

I have an optimization problem with a lot of variables. Let suppose there is just three: car speed (km/h), car weight (tons) and car price ($). Obviously, the range of each variable is different: car ...
Felipe Matilde's user avatar
2 votes
0 answers
69 views

I'm trying to use an simple genetic algorithm with only one goal, however my problem is kinda of complex. So, I have an initial chromosome that will have to be made up of 2 or more groups that also ...
Isabel Castro's user avatar
1 vote
1 answer
124 views

I am not understanding what will be my fitness function for regression problem.basically i have 1000 datasets with input shape (72,2) and 1000 output dataset (72,4).I want my model to be trained with ...
Sadia Ferdous Snigdha's user avatar
1 vote
1 answer
102 views

I am using pygad for a neural network and I am wondering why its using RAM after each generation? The issue is that I leave it to run and then as it starts to use more and more RAM, then RAM usage ...
helloimgeorgia's user avatar
1 vote
1 answer
369 views

I am using Pygad to compute an optimization problem, however the algorithm is reaching local minima (not the ideal solution) before all the generations have run. I would like to be able to check ...
Glen Eaton's user avatar
2 votes
1 answer
156 views

That's what I have so far. As I see from the output, my parameters are not enough to constraint mutation to my needs. Sometimes no one gene is changed, sometimes more than one. import pygad import ...
Intolighter's user avatar
1 vote
1 answer
469 views

I am using PyGad’s GA function to optimise a neural network. As part of the testing and de-bugging I added some code to the fitness function that would save each solution and its accuracy. I’ve set ...
whichedge's user avatar
1 vote
1 answer
156 views

I am using PYGAD GA module to write a genetic programming, I want to use the tournament selection for my parent matching, I do not known how to use print() to debug the parent selection method, here ...
Cn Hu's user avatar
  • 69
1 vote
1 answer
503 views

I have a multi-objective optimization problem for which I would like to use the PyGAD library. I would like to use the maximin algorithm for multi-objective optimization, but in order to do so I need ...
Ryan Larson's user avatar
2 votes
1 answer
659 views

I'm trying to create a Python script for feature selection using PyGAD My code is shown below, nonetheless, it is returning that all the features are the best subset. How can I be sure it is correct? ...
SimplyhumanRight's user avatar
1 vote
0 answers
1k views

I am using PYGAD for optimizing parameters for a backtrading strategy. It switches from using multiple threads to single threads every generation. I am confused as to why. It was working perfectly ...
thecodeman's user avatar
1 vote
1 answer
159 views

I've been trying to implement a GA to optimize the parameters of my ANN. I'm new to both of these libraries and I've used this as help to implement it https://blog.paperspace.com/train-keras-models-...
Illuminy's user avatar
2 votes
2 answers
135 views

I am making a Genetic Algorithm(GA) in python with pygad, but I keep getting this error: TypeError: can't multiply sequence by non-int of type 'GA' here is my whole code: import pygad import numpy ...
R1B07008's user avatar
-1 votes
1 answer
533 views

For a project on a HPC I want to use pygad to produce sets of points that can then be passed to jobs on the cluster: Therefore, I would like all points within a population to be unique (time on the ...
dmark04's user avatar

15 30 50 per page