Can i get a sample code for Genetic algorithm
Show older comments
I'm doing a project on loss minimization on a distribution network with a distributed generation using GA. But, I've no idea about how to do genetic algorithm in matlab. Can someone help me?
9 Comments
pranavi Domakuntla
on 15 Feb 2019
i'm doing a project on optimal allocation and sizing on a radial distribution network with distributed generation using artificial bee colony algorithm.can i get the code or logic for that
Walter Roberson
on 15 Feb 2019
kovida vegi
on 24 Jul 2019
I am doing a project on tuning PID controller of a quadcopter by using Genetic algorithm.can somebody help me!
hessen alshreef
on 18 Apr 2020
a) Implement a simple GA with fitness−proportionate selection, roulette-wheel sampling, population size100, single−point crossover rate pc = 0.7, and bitwise mutation rate pm = 0.001. The used chromosome representation is the 64-bit IEEE-754 double precision format. b) The fitness function is designed to estimate the root of the function: ?(?) = ? 10 ൭17 − 200 ? ି ଶସ ௫ ൱ + 21 Consider the search range is within [-100, 100].
a) Report results of five runs. Every result set is obtained by running the GA for 100 generations and plotting the fitness of the best individual found at each generation as well as the average fitness of the population at each generation.
Walter Roberson
on 18 Apr 2020
What is roulette-wheel sampling in this context?
With your chromosome said to be IEEE-754 double precision, and your mutation said to be bitwise, then the idea would be that you would do like rand(1,64)<0.001 and flip bits corresponding to true. A hint here is to typecast() the double to uint64, do the operation using bitget() and bitset(), and typecast() back to double.
Kelzang choden
on 29 Nov 2020
Edited: Kelzang choden
on 29 Nov 2020
i am doing a project on ORPD using genetic algortihm. someone please help me get matalb code
Fatma HM
on 11 Dec 2020
Hi @kelzang did you get the code ? Me too I need it please if you get it let me know. Thank you
Answers (1)
eakandar mazen
on 9 May 2021
0 votes
Radom Color Image Encryption by using the Genetic Algorithm and neural network .can anyne help me over
1 Comment
Walter Roberson
on 9 May 2021
Sorry, No. Due to the laws of the United States, we cannot discuss encryption algorithms here.
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!