Skip to content

feat: evolution strategies - #233

Merged
pockerman merged 2 commits into
masterfrom
feat/evolution-strategies
Nov 23, 2026
Merged

pockerman merged 2 commits into
masterfrom
feat/evolution-strategies

Conversation

@pockerman

Copy link
Copy Markdown
Owner

No description provided.

pockerman and others added 2 commits November 23, 2026 09:25
Squash-merging the multi-agent PR after the distributed multi-agent PR
kept both versions of independent_q_learning.h: duplicate members and
an unclosed loop in the constructor, so the multi-agent examples and
tests did not compile and Doxygen made no page for the class. Restore
the version where every agent is a QLearningAgent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e only returns

EvolutionStrategy is the method of Salimans et al.: antithetic pairs of
Gaussian perturbations, centred ranks (ties share their rank) and Adam.
Its episodes run on bitsim's thread pool, or are shared out among the
ranks of a Communicator; every rank draws every perturbation from the
shared seed with a portable Box-Muller generator, so only the returns
travel and the result matches one rank to the last bit.

Adds es::MLPPolicy (no libtorch), the CartPoleSwingUp environment with
a continuous force, tests, and examples/13_evolution_strategies:
es_cart_pole_swing_up (with a GIF from examples/tools/cart_pole_gif.py)
and es_distributed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pockerman pockerman self-assigned this Nov 23, 2026
@pockerman pockerman added the enhancement New feature or request label Nov 23, 2026
@pockerman pockerman changed the title Feat/evolution strategies feat: evolution strategies Nov 23, 2026
@pockerman
pockerman merged commit cee08f5 into master Nov 23, 2026
5 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant