Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Monte Carlo Tree Search for Gym Style Environments
Light Logo Dark Logo
Monte Carlo Tree Search for Gym Style Environments

Contents:

  • Visualizations
  • Example Gallery
    • Frozenlake Gallery
      • FrozenLake 4x4
      • FrozenLake 4x4 (Action History)
      • MCTS Tree Visualisation
      • FrozenLake 6x6
      • Frozenlake Visualisation
    • Cartpole Gallery
      • Cartpole-v1
    • Job Shop Gallery
      • graph-jsp-env (Deepcopy Wrapper)
      • graph-jsp-env (Action History Wrapper)
      • graph-jsp-env (Custom Wrapper)
      • graph-matrix-jsp-env (Deepcopy Wrapper)
      • graph-matrix-jsp-env (Action History Wrapper)
      • graph-matrix-jsp-env (Custom Wrapper)
      • JSSEnv (Action History Wrapper)
      • JSSEnv (Deepcopy Wrapper)
      • gnn_jsp_env (Deepcopy Wrapper)
      • gnn_jsp_env (Action History Wrapper)
      • minimal-jsp-env (Action History Wrapper)
      • minimal-jsp-env (Deepcopy Wrapper)
  • Source Code
    • GymctsABC Wrapper
    • DeepCopy Wrapper
    • Action History Wrapper
    • MCTS Tree Components
    • Tree Visualization
    • Colorful String Utilities
  • Contributing
Back to top
View this page

Job Shop GalleryΒΆ

The Job Shop Scheduling Problem (JSP) is a classic optimization problem in operations research and computer science. It involves scheduling a set of jobs on a set of machines, where each job consists of a sequence of operations that must be performed in a specific order. The goal is to minimize the total time required to complete all jobs, known as the makespan.

For more information about the Job Shop Scheduling Problem, fell free to check out the Documentation page of graph-jsp-env.

This section contains a collection of examples that demonstrate how to use the library with the Job Shop Scheduling Problem with different environments. This documentation includes the following environments:

  • graph-jsp-env: A graph-based environment for the Job Shop Scheduling Problem.

  • graph-matrix-jsp-env: A matrix-based environment for the Job Shop Scheduling Problem.

  • JSSEnv: A custom environment for the Job Shop Scheduling Problem.

  • gnn_jsp_env: A graph neural network-based environment for the Job Shop Scheduling Problem.

  • minimal_jsp_env: A minimal environment for the Job Shop Scheduling Problem.

The example are given as jupyter notebooks, so you can see the expected output and the code used to generate it.

Note

The JSSEnv is originally gym environment (not a gymnasium environment). Therfore it was adapted to the gymnasium standard in the examples.

Note

The gnn_jsp_env and minimal_jsp_env are not available on PyPI as stand alone packages. Therfore they were copied into the examples.

Note

The example all have the visualization of the MCTS tree enabled. This is done to show the tree structure of the MCTS algorithm and how it evolves over time.

In a productive environment, you might want to disable the visualization of the MCTS tree for more compute efficiency.

  • graph-jsp-env (Deepcopy Wrapper)
  • graph-jsp-env (Action History Wrapper)
  • graph-jsp-env (Custom Wrapper)
  • graph-matrix-jsp-env (Deepcopy Wrapper)
  • graph-matrix-jsp-env (Action History Wrapper)
  • graph-matrix-jsp-env (Custom Wrapper)
  • JSSEnv (Action History Wrapper)
  • JSSEnv (Deepcopy Wrapper)
  • gnn_jsp_env (Deepcopy Wrapper)
  • gnn_jsp_env (Action History Wrapper)
  • minimal-jsp-env (Action History Wrapper)
  • minimal-jsp-env (Deepcopy Wrapper)
Next
graph-jsp-env (Deepcopy Wrapper)
Previous
Cartpole-v1
Copyright © 2025, Alexander Nasuta
Made with Sphinx and @pradyunsg's Furo