prosysscience / JSSEnv

An OpenAi Gym environment for the Job Shop Scheduling problem.
MIT License
190 stars 55 forks source link

Issue with ray 1.12.0 and Windows in environment instantiation #7

Open PhilippWillms opened 2 years ago

PhilippWillms commented 2 years ago

Hello, while trying to execute the related RL project in my development environment:

I encountered two very basic issues.

  1. By default, ray Rllib tries to create a logging directory with the "env" name in it. However, with the configuration "JSSEnv:jss-v1" this leads into error.
  2. Ray was not able to identify the JSSEnv by class name, as suggested by ray env documentation

This triggered me to add proper Gym registration (see my fork of JSSEnv and corresponding adjustments on the Rllib execution files (see my fork of RL-Job-Shop-Scheduling).

Kindly review both branches and feel free to merge and adopt.

BR Philipp

pradeepchandra551 commented 2 months ago

@PhilippWillms can you please explain the flow to execute the code?