Skip to content

PyJobShop/FJSPLIB

Repository files navigation

Note

This package is under development. Expect things to break significantly during the v0.0.x phase.

FJSPLIB

PyPI License CI Codecov

FJSPLIB is a Python package for reading and writing flexible job shop problem (FJSP) instances.

The FJSPLIB format is as follows:

<num jobs> <num machines> <avg num machines per operation>
<num operations> * (<num machines> * (<machine idx> <duration>))
...

The first line contains data about the number of jobs, number machines and average number of machines that can process an operation. The following lines each represent the job data, one line for each job. These lines are each parsed as follows:

  • The first number denotes the number of operations for this job.
  • Then, for each operation, the first number represents the number of machines that can process this operation, followed by the machine index and processing time for each eligible machine.

The FJSPLIB format is not well-defined for extensions of the FJSP, such as sequence-dependent setup times and arbitrary precedence graphs. One goal of this project is to extend FJSPLIB format to include these and other variants.