Instance generator for JSP
Project description
JSP Generator
Description
Benchmark generator for the Job Shop Problem (BG-JSP)
Parameters
Parameters available for the generation of problem instances:
-
Jobs:
--jobs (-J)- Description: Number of jobs that will have the problem generated.
- Possible values: List of integers. If you put more than one value in the list, all possible combinations will be made with the available machines.
- Example of possible values:
[3],[4, 5]. - Default value:
[10]
-
Machines:
--machines (-M)- Description: Number of machines that will have the problem generated.
- Possible values: List of integers. If you put more than one value in the list, all possible combinations will be made with the available jobs.
- Example of possible values:
[6],[2, 5]. - Default value:
[4]
-
Seed:
--seed (-s)- Description: Base number for data generation.
- Possible values: Integer value.
- Example of possible values:
84,32 - Default value:
1
-
Speed Scaling:
--speed-scaling (-S)- Description: Number of speeds that will be available to perform each task.
- Possible values: Integer value.
- Example of possible values:
3,5 - Default value:
1
-
Machine Processing Time:
--machine-processing-time (-mpt)- Description: Base consumption for a machine in stand-by.
- Possible values: List of floats that will have the same number of elements as available machines.
- Example of possible values:
[1.2],[1.2, 3.4] - Default value:
[]
-
Release and Due Date:
--release-due (-RDDD)- Descripción: Establish that each task has an instant of release and an instant of completion limit.
- Possible values:
0: Neither the works and operations of each of them will have an instant of release or time limit for completion.1: The work will have instant of release and instant of completion limit.2: The operations of each job will have a release time and a limiting end time.
- Example of possible values:
1,2 - Default value:
0
-
Path:
--path (-P)- Description: Path where the problem instance file will be generated.
- Possible values: String.
- Example of possible values:
./problems,./instances - Default value:
./output
-
Quantity:
--quantity (-Q)- Description: Number of problem instances to be generated.
- Possible values: Integer value.
- Example of possible values:
2,5 - Default value:
1
-
Distribution:
--distribution (-D)- Description: Type of distribution to be followed for data generation.
- Possible values: You can only set one of the following values:
uniformnormalexponential - Example of possible values:
uniform,exponential - Default value:
normal
Example of JSON generated
This JSON shows how the data generated from an JSP problem with 2 machines and 2 jobs will look like. For this generation we have used the following parameters:
-J [2] -M [2] -s 155632 -S 2 -mpt [50,60] -RDDD 1 -P ./problems -D exponential
{
"nbJobs": [
0,
1
],
"nbMchs": [
0,
1
],
"timeEnergy": [
{
"jobId": 0,
"operations": {
"0": {
"speed-scaling": [
{
"procTime": 12,
"energyCons": 88
},
{
"procTime": 2,
"energyCons": 98
}
]
},
"1": {
"speed-scaling": [
{
"procTime": 99,
"energyCons": 37
},
{
"procTime": 32,
"energyCons": 72
}
]
}
},
"release-date": 60,
"due-date": 281
},
{
"jobId": 1,
"operations": {
"1": {
"speed-scaling": [
{
"procTime": 144,
"energyCons": 23
},
{
"procTime": 23,
"energyCons": 79
}
]
},
"0": {
"speed-scaling": [
{
"procTime": 6,
"energyCons": 94
},
{
"procTime": 2,
"energyCons": 98
}
]
}
},
"release-date": 40,
"due-date": 317
}
],
"drDate": []
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file igjsp-0.0.0.tar.gz.
File metadata
- Download URL: igjsp-0.0.0.tar.gz
- Upload date:
- Size: 85.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86d66eca66c843a9e5812333d7673c01d1cacfdc49e7fd8d0227a8fe916400a6
|
|
| MD5 |
e7d7a5cc5f8d3198b9c03ac81e32aa0c
|
|
| BLAKE2b-256 |
618c4066b79de55f95ee09305d9517b333825144a5efebb3b348c49c52a5f90f
|
File details
Details for the file igjsp-0.0.0-py3-none-any.whl.
File metadata
- Download URL: igjsp-0.0.0-py3-none-any.whl
- Upload date:
- Size: 103.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cb757fc2b4878bfb0f5c0ae4b415d9a9db85a1a1f8569ecb92fc478bf057a56
|
|
| MD5 |
51aa72af4cb545f40753cdb7d1192068
|
|
| BLAKE2b-256 |
1f500b7fbc14c4f722dacaebeda43f8825387ff8fca0e000ca176166e9aee8b7
|