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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Roshini S
    New Member
    • Jul 2011
    • 1

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

    I am working on an Analog sizing problem,where i would like to size a circuit (say width & length of transistors,res istor 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).
Working...