Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble running the repository #16

Open
SorakaMafaka opened this issue Sep 13, 2022 · 2 comments
Open

Trouble running the repository #16

SorakaMafaka opened this issue Sep 13, 2022 · 2 comments
Assignees

Comments

@SorakaMafaka
Copy link

Hello!
I am a complete beginner with the OpenAI Gym and I am not entirely sure how to use the repository.
What would be the quickest way to run the implementation (e.g. on Google Colab) on an example dataset (like the ones under JSS>Instances), and then get a nice Gantt chart like the one you have in your example.

@ingambe
Copy link
Collaborator

ingambe commented Nov 24, 2022

Hi,

Sorry for the late answer.
To render the solution, you can have a look to this piece of code: https://github.com/prosysscience/JSSEnv/blob/master/tests/test_rendering.py

To load an instance, you can use the gym interface:
env = gym.make('jss-v1', env_config={'instance_path': 'INSTANCE_PATH'})

If you download one of the instances inside the path of the instance you can directly start with one of those. Otherwise, you can also use yours.

@ingambe ingambe self-assigned this Nov 24, 2022
@achraf-oujjir
Copy link

Hey! I get 12 errors for the test_solutions of the 12 tests. The error is that there is no environment named jss. All the errors point to this equivalent line in the different tests: env = gym.make('jss-v1', env_config={'instance_path': 'INSTANCE_PATH'})
I am trying to run the project on pycharm but don't seem to find a solution for this problem. I tried to read the source code for the gym.make method but still nothing. Can you help please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants