Coder Social home page Coder Social logo

ai-for-decision-making-tue / job_shop_scheduling_benchmark_environments_and_instances Goto Github PK

View Code? Open in Web Editor NEW
58.0 3.0 11.0 17.01 MB

A benchmarking repo with various solution methods to various machine scheduling problems

License: MIT License

C 3.20% C++ 1.13% Python 95.67%
assembly benchmarking combinatorial-optimization deep-reinforcement-learning fjsp flexible-job-shop-scheduling job-shop-scheduling jsp machine-learning python

job_shop_scheduling_benchmark_environments_and_instances's Introduction

Job Shop Scheduling Benchmark: Environments and Instances for Learning and Non-learning Methods

Welcome to the Job Shop Scheduling Benchmark

This GitHub repository serves as a comprehensive benchmark for a wide range of machine scheduling problems, including Job Shop Scheduling (JSP), Flow Shop Scheduling (FSP), Flexible Job Shop Scheduling (FJSP), FJSP with Assembly constraints (FAJSP), FJSP with Sequence-Dependent Setup Times (FJSP-SDST), and the online FJSP (with online job arrivals). Our primary goal is to provide a centralized hub for researchers, practitioners, and enthusiasts interested in tackling machine scheduling challenges.

๐Ÿ›  Solution methods

We aim to include a wide range of solution methods capable of solving machine scheduling problems with various constraints and characteristics. This selection ranges from load-balancing heuristics, dispatching rules and genetic algorithms to end-to-end Deep Reinforcement Learning solutions. The repo currently contains the following solution methods, each capable of solving machine scheduling problems with the corresponding characteristics:

Solution methods Job Shop (JSP) Flow Show (FSP) Flexible Job Shop (FJSP) FJSP SDST FAJSP Online (F)JSP
Dispatching Rules โœ“ โœ“ โœ“ โœ“ โœ“*
Genetic Algorithm โœ“ โœ“ โœ“ โœ“ โœ“
MILP โœ“ โœ“ โœ“ โœ“
CP-SAT โœ“ โœ“ โœ“ โœ“
FJSP-DRL โœ“ โœ“ โœ“
L2D โœ“ โœ“
DANIEL โœ“ โœ“ โœ“

*Capable of online arrivals of FJSP problems

๐Ÿ”œ We have a few DRL-based solutions in the pipeline, which will be published here upon completion.

๐Ÿ“ข We encourage you to make use of our repository to get started with your own solutions, and, when possible, release your solution method in this repository.

๐Ÿ“ Cite our repository:

Please consider citing our paper if you use code or ideas from this project:

Robbert Reijnen, Kjell van Straaten, Zaharah Bukhsh, and Yingqian Zhang (2023) Job Shop Scheduling Benchmark: Environments and Instances for Learning and Non-learning Methods. arXiv preprint arXiv:2308.12794

@misc{reijnen2023job,
      title={Job Shop Scheduling Benchmark: Environments and Instances for Learning and Non-learning Methods}, 
      author={Robbert Reijnen and Kjell van Straaten and Zaharah Bukhsh and Yingqian Zhang},
      year={2023},
      eprint={2308.12794},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}

job_shop_scheduling_benchmark_environments_and_instances's People

Contributors

igorsmit00 avatar kjell-van-straaten avatar robbertreijnen avatar yingqianzhang avatar zaharah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

job_shop_scheduling_benchmark_environments_and_instances's Issues

Validation error when training DRL method with given configuration file and data.

Hi~ , I'm a newbee in FJSP, and I'm very appreciate for this project. When i try to run the training method of DRL solution, I encounted the following problem when validating.
image
I guess the validation dataset holds the wrong samples, but i don't know how to solve.
The traceback stack is as follows:

Exception has occurred: KeyError
2
File "/home/cheny/Projects/JSPRepo/solutions/FJSP_DRL/env.py", line 252, in step
duration = operation.processing_times[machine_ix]
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/cheny/Projects/JSPRepo/solutions/FJSP_DRL/validate.py", line 48, in validate
state, rewards, dones = env.step(actions)
^^^^^^^^^^^^^^^^^
File "/home/cheny/Projects/JSPRepo/solutions/FJSP_DRL/train.py", line 175, in main
vali_result, vali_result_100 = validate(env_valid_paras, env_valid, model.policy_old)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cheny/Projects/JSPRepo/solutions/FJSP_DRL/train.py", line 219, in
main(param_file=args.config_file)
KeyError: 2

And the keyError value may differ when re-run the training process.
Any helps would be appreciated.

Hosting best-known solutions of benchmark instances

Hi all, just came across this library by coincidence. Great to see this effort to make a benchmark repository! I'm working on flexible job shop scheduling problems and flow shop problems for my own research.

One major difficulty I have is that most papers/repositories don't store their solutions but only report the best-found value. This makes it hard to verify their results. In vehicle routing, we have e.g., CVRPLIB which maintains the best-known solutions for CVRP and VRPTW. We also try to do that for prize-collecting VRP here.

Are there any plans from your side to host the best-known solutions? Happy to contribute as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.