Skip to content

Releases: robinhenry/gym-anm

Version 2.0.1

14 Nov 09:31
Compare
Choose a tag to compare

Fix documentation automated builds.

2.0.0

14 Nov 08:26
ddf832e
Compare
Choose a tag to compare

Gym-ANM v2.0 is here 🎉

What's Changed

From gym to gymnasium

gym-anm now fully runs on top of gymnasium, instead of the older gym standard. This means there have been a few API changes to match the latest gymnasium framework:

Change 1: reset()

Seeding the environment now happens within reset().

## gym-anm v1.x
def seed(self, seed):  # used to seed the env
    ...

def reset():  # used to reset the env
    ...

## gym-anm v2.0
def reset(self, *, seed, options = None):  # used to both seed and reset the env
    ...

Change 2: step()

The step() function returns a new extra parameter truncated: bool (which is always False in gym-anm), and done has been renamed terminated to match the gymnasium terminology.

## gym-anm v1.x
def step(...):
    ...
    return obs, r, done, info

## gym-anm v2.0
def step(...):
    ...
    return obs, r, self.terminated, truncated, info

Dependency updates

A few dependencies were bumped up and updated:

  • numpy: 1.x -> >= 2.1
  • pandas: 1.x -> >= 2.0

If you have any feedback, or are having trouble installing and running v2.0, definitely reach out! 🙂

Version 1.1.6

14 Apr 19:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.5...1.1.6

Version 1.1.5

14 Apr 19:13
7d2ff67
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.4...1.1.5

Version 1.1.4

27 Nov 02:31
Compare
Choose a tag to compare

Full Changelog: 1.1.3...1.1.4

Version 1.1.3

27 Nov 02:08
Compare
Choose a tag to compare

Full Changelog: 1.1.2...1.1.3

Version 1.1.2

27 Nov 01:42
Compare
Choose a tag to compare

Full Changelog: 1.1.1...1.1.2

Version 1.1.1

27 Nov 01:40
Compare
Choose a tag to compare

Full Changelog: 1.1.0...1.1.1

Version 1.0.2

27 Nov 06:14
231097e
Compare
Choose a tag to compare

What's Changed

  • Replace MPCAgent with MPCAgentConstant by @sprakashdash in #2
  • Add if __name__ == ... guards to examples for windows multiprocessing bug by @robinhenry in #5

New Contributors

Full Changelog: https://github.com/robinhenry/gym-anm/commits/1.0.2