Print

Print


Hello Sean and others,

It has been a few years since the last time I worked with ECJ to try to get
a better feel for GP.  I'm glad it has been continuing to grow!

I've been wanting to compare a GA, PSO, DE, and a separate EDA method.  I've
attached my code for a simple sample problem and the params files that I've
come up with for the GA and PSO cases.  The PSO has not been improving with
time so I've been believing that I have mistakenly set up the params file.

<snip ...>
Generation 650
Subpop 0 best fitness of generation: Fitness: 8.0
Generation 651
Subpop 0 best fitness of generation: Fitness: 8.0
Generation 652
Subpop 0 best fitness of generation: Fitness: 8.0
Generation 653
Subpop 0 best fitness of generation: Fitness: 8.0
Generation 654
Subpop 0 best fitness of generation: Fitness: 8.0
<... snip>

Is there an example on the use of DE or PSO that you could point me towards?

I believe I will have to extend a class off of population to add an EDA
algorithm.

Best Regards,
Richard