News for hackers. Stuff that matters.
Re:Introduction to Genetic Algorithms by horyzen on Thursday June 06, 2019 @09:31PM (#20120864)
Genetic algorithms works well when

0) there is not enough data for you to train a NN, and

1) you have a really huge solution space for the problem that you cannot brutal force, and

2) you can encode each solution into a simple ``string'' (chromosome), and

3) the problem you're trying to solve is not very time critical (GA can take seconds to minutes depending on your problem)

Also, GA can actually utilize many CPU or even GPU cores to solve the problem much faster.

Re:Introduction to Genetic Algorithms by richk449 on Thursday June 06, 2019 @09:49PM (#20120961)
> the problem you're trying to solve is not very time critical (GA can take seconds to minutes depending on your problem)

Ha. Days or weeks is typical for complex problems.

Re:Introduction to Genetic Algorithms by GordonS on Friday June 07, 2019 @04:14AM (#20122613)
Yep, I recently worked on an engineering project, where GAs were used to evolve new designs for large steel structures, with the aim of reducing weight (and, ergo, cost).

There were a lot of constraints, and several applications were used at different points (e.g. specialised 3D CAD) - a single generation took around 1 hour, so we had to let it run for days at a time on a cluster to be useful.

Re:Introduction to Genetic Algorithms by faceplanted on Friday June 07, 2019 @06:56AM (#20123311)
Which genetic algorithm were you using?
Re:Introduction to Genetic Algorithms by GordonS on Saturday June 08, 2019 @02:49PM (#20134256)
I wasn't in the AI team (I was the architect for the cloud infrastructure and backend), but my understanding was it was pretty much a "textbook" implementation (I dabbled with GAs, basic neural networks and swarm optimisation several years ago).

I actually kind of surprised, because I didn't realise people still used GAs any more, let alone such a standard implementation.

Re:Introduction to Genetic Algorithms by horyzen on Thursday June 06, 2019 @10:04PM (#20121040)
In the specific area I worked on, minutes are borderline tolerable so I didn't think twice before posting. But now that you said it, I totally see how it can go on for days.
Re:Introduction to Genetic Algorithms by richk449 on Thursday June 06, 2019 @10:12PM (#20121079)
Interesting. What is the application that need ga and can’t tolerate minutes of evaluation?
Re:Introduction to Genetic Algorithms by horyzen on Friday June 07, 2019 @10:01AM (#20124561)
Let's just say the "customers" are impatient for a good enough solution that is part of a iterative workflow :)