hubbs5 / or-gym

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

Bounded Knapsack init Failure #4

Closed Callen-Shutts closed 3 years ago

Callen-Shutts commented 3 years ago

Right now the Bounded Knapsack env fails to intitilize as self.N is not defined and is used on the first line. You will probabl have to define self.N as you cannot move the super up as it will call the reset function that depends on the vars you need to define.

hubbs5 commented 3 years ago

Thanks for catching that (and sorry about the delay)!

Just made a fix in version 0.2.0: https://pypi.org/project/or-gym/0.2.0/