hubbs5 / or-gym

Environments for OR and RL Research
MIT License
373 stars 93 forks source link

Randomize on reset fix #14

Closed mandjevant closed 2 years ago

mandjevant commented 3 years ago

I noticed that only the knapsack-v0 environment had the randomize_on_reset attribute implemented on reset. I added this to the other knapsack environments.

env = or_gym.make('Knapsack-vX', env_config={'randomize_params_on_reset': True})

Also in this PR:

osarwar commented 2 years ago

@mandjevant Thanks so much for your contribution!