By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,176 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

Which data type do i use to model a GA algorithm in Python?

P: 1
I am working on an Analog sizing problem,where i would like to size a circuit (say width & length of transistors,resistor and capacitor values).All the sizeable parameters(gene) will be stored into a chromosome and a population of such chromosomes are to be initialised as to perform the other GA steps(crossover,mutation and selection)
.I would like to know whether a numpy array or list would be more suitable for the process.Also suggestions on how to form a list of lists or ND array( for the population) will be welcome.
P.S:I had worked on arrays for my previous optimisation problems(non GA).
Jul 22 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.