473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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,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
0 1244

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

Similar topics

4
by: BlackWhite | last post by:
Source code: d={"x":42,"y":3.14,"z":9} d.keys() //Why y in font of x d.values() //Why 3.140000000000000001 should not have 1 in the end Why this happened?
0
by: Olav | last post by:
I'm trying to use Python / COM to do some drawing automation. Here is a simple code example: This code uses a object made by the Opendwg-org. Autocad has a similar object with the same methods...
2
by: Marc Heravi | last post by:
Hello NG, for overflow reasons on numerical accumulation of an int column during SELECTion i have to change the data type of a column from "int" to "bigint". However that doesn't apply to the...
2
by: The Crow | last post by:
im building an online forum system. ive inspected forum.asp.net forum's and i think there is no limitation over how long a message could be. so i wonder how messages stored in database. as i know...
5
by: rAinDeEr | last post by:
Hi, I have a web application with a table to store terms and conditions of a Company. This may some times run into many pages and some times it may be just a few sentences. It is a character...
2
by: madhankrish | last post by:
Hello all, I am supposed to multiply 10 float values. (like 0.002, 0.004, 0.006, etc...) Which data type will best suit the product of these float values? I used 'long double' but I am still...
5
by: Ronald S. Cook | last post by:
For money values, C# seems to have just DOUBLE as a type. SQL Server 2005 has data types DECIMAL, FLOAT, MONEY, and NUMERIC that seem to all be able to hold a money time. So, given I'll be...
2
by: autodidact | last post by:
Hey guys, I got a column in my database called 'section' and the probable values it's going to contain look something like 001, 002, 500, 488 4A, 676 7B, etc Which data type(and size) should I...
1
by: AKASH AKASH | last post by:
I wish to create a database of various questions and their answers along with various other attributes such as 'difficulty level' , 'concept used' etc. The questions are typed in MS Word 2007 and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.