Opened 6 weeks ago

Last modified 5 weeks ago

#2748 assigned defect

PSO doesn't update the PersonalBest

Reported by: abeham Owned by: architects
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Algorithms.ParticleSwarmOptimization Version: 3.3.14
Keywords: Cc:

Description

It can be seen in the DebugEngine that the personal best solution is never updated, but the PersonalBestQuality is.

The culprit is probably line 318 in the RealVectorSwarmUpdater. The line only sets the solution in the array that is extracted from the scopes. But the change is not written back into the scopes.

Attachments (1)

RealVectorSwarmUpdater.cs.patch (9.9 KB) - added by abeham 6 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 6 weeks ago by abeham

comment:1 Changed 6 weeks ago by abeham

I created a patch that fixes the operator. But actually, we'd have to up the version number of the real vector encoding plugin to 3.4 since PSO behavior has changed significantly.

The observed algorithm behavior is now much more consistent and understandable.

comment:2 Changed 5 weeks ago by abeham

  • Owner set to architects
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.