From: ptkwt@... (Phil Tomson) Date: 2005-09-07T02:11:28+09:00 Subject: Re: Particle Swarm Optimizer in Ruby? In article <1125985976.709327.181890@g44g2000cwa.googlegroups.com>, wrote: >I wrote one up as a ruby learning exercise. I'll post you the code if >you like. (I'll probably have to go back through it to make sure >there's nothing too embarassing) I don't think there's much out there >otherwise. The algorithm itself is quite simple. >(http://en.wikipedia.org/wiki/Particle_swarm_optimization) Consider >coding it yourself if you like. Let me know. I've started coding it. Just thought I'd ask first to see if anyone had one already. One question, though: While the algorithm itself is rather simple it seems that the main complexity is in adapting it to some specific problems. I want to use it to optimize an atomic cluster such that the configuration of the cluster and the distances between atoms result in a cluster which has minimum energy. This means that each 'particle' in the PSO needs to adjust the positions of atoms in the cluster (in 3D space) and then test the configuration. Lots of parameters to consider (several atoms each with x,y,z to adjust) > > >Maybe this would be a good ruby quiz? > Perhaps so. Phil