Mutation sigma annealing #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Replace the constant mutation sigma with a decay schedule so that mutations are large early (exploration) and small late (exploitation).
Currently Sigma = 0.03 is constant for all generations. Over 100 generations, accumulated mutation variance approaches the initialization range, destabilizing late-game optimization.
Acceptance criteria
Blocked by
None - can start immediately
Parent
Closes part of #118
Implemented in commit a730a9e
Summary: Replaced constant mutation sigma with decay schedule: sigma = initialSigma * exp(-generation / annealingHalfLife). Default annealingHalfLife=50 generations provides exploration early (large mutations) and exploitation late (small mutations).
Files:
vapourbot_garage/src/vapourbot/ga.nim- mutate() function sigma decay formula