IGJSP 0.0.4__py3-none-any.whl → 0.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,289 +0,0 @@
1
- {
2
- "nbJobs": [
3
- 0,
4
- 1,
5
- 2,
6
- 3,
7
- 4
8
- ],
9
- "nbMchs": [
10
- 0,
11
- 1,
12
- 2,
13
- 3,
14
- 4,
15
- 5
16
- ],
17
- "speed": 1,
18
- "timeEnergy": [
19
- {
20
- "jobId": 0,
21
- "operations": {
22
- "5": {
23
- "speed-scaling": [
24
- {
25
- "procTime": 10,
26
- "energyCons": 90
27
- }
28
- ]
29
- },
30
- "4": {
31
- "speed-scaling": [
32
- {
33
- "procTime": 79,
34
- "energyCons": 45
35
- }
36
- ]
37
- },
38
- "2": {
39
- "speed-scaling": [
40
- {
41
- "procTime": 56,
42
- "energyCons": 57
43
- }
44
- ]
45
- },
46
- "0": {
47
- "speed-scaling": [
48
- {
49
- "procTime": 84,
50
- "energyCons": 43
51
- }
52
- ]
53
- },
54
- "3": {
55
- "speed-scaling": [
56
- {
57
- "procTime": 45,
58
- "energyCons": 63
59
- }
60
- ]
61
- },
62
- "1": {
63
- "speed-scaling": [
64
- {
65
- "procTime": 34,
66
- "energyCons": 71
67
- }
68
- ]
69
- }
70
- }
71
- },
72
- {
73
- "jobId": 1,
74
- "operations": {
75
- "4": {
76
- "speed-scaling": [
77
- {
78
- "procTime": 46,
79
- "energyCons": 63
80
- }
81
- ]
82
- },
83
- "2": {
84
- "speed-scaling": [
85
- {
86
- "procTime": 72,
87
- "energyCons": 48
88
- }
89
- ]
90
- },
91
- "1": {
92
- "speed-scaling": [
93
- {
94
- "procTime": 42,
95
- "energyCons": 65
96
- }
97
- ]
98
- },
99
- "3": {
100
- "speed-scaling": [
101
- {
102
- "procTime": 28,
103
- "energyCons": 75
104
- }
105
- ]
106
- },
107
- "5": {
108
- "speed-scaling": [
109
- {
110
- "procTime": 32,
111
- "energyCons": 72
112
- }
113
- ]
114
- },
115
- "0": {
116
- "speed-scaling": [
117
- {
118
- "procTime": 43,
119
- "energyCons": 65
120
- }
121
- ]
122
- }
123
- }
124
- },
125
- {
126
- "jobId": 2,
127
- "operations": {
128
- "2": {
129
- "speed-scaling": [
130
- {
131
- "procTime": 27,
132
- "energyCons": 76
133
- }
134
- ]
135
- },
136
- "1": {
137
- "speed-scaling": [
138
- {
139
- "procTime": 61,
140
- "energyCons": 54
141
- }
142
- ]
143
- },
144
- "4": {
145
- "speed-scaling": [
146
- {
147
- "procTime": 68,
148
- "energyCons": 50
149
- }
150
- ]
151
- },
152
- "0": {
153
- "speed-scaling": [
154
- {
155
- "procTime": 50,
156
- "energyCons": 60
157
- }
158
- ]
159
- },
160
- "3": {
161
- "speed-scaling": [
162
- {
163
- "procTime": 72,
164
- "energyCons": 48
165
- }
166
- ]
167
- },
168
- "5": {
169
- "speed-scaling": [
170
- {
171
- "procTime": 60,
172
- "energyCons": 54
173
- }
174
- ]
175
- }
176
- }
177
- },
178
- {
179
- "jobId": 3,
180
- "operations": {
181
- "3": {
182
- "speed-scaling": [
183
- {
184
- "procTime": 31,
185
- "energyCons": 73
186
- }
187
- ]
188
- },
189
- "0": {
190
- "speed-scaling": [
191
- {
192
- "procTime": 68,
193
- "energyCons": 50
194
- }
195
- ]
196
- },
197
- "2": {
198
- "speed-scaling": [
199
- {
200
- "procTime": 47,
201
- "energyCons": 62
202
- }
203
- ]
204
- },
205
- "1": {
206
- "speed-scaling": [
207
- {
208
- "procTime": 36,
209
- "energyCons": 69
210
- }
211
- ]
212
- },
213
- "4": {
214
- "speed-scaling": [
215
- {
216
- "procTime": 44,
217
- "energyCons": 64
218
- }
219
- ]
220
- },
221
- "5": {
222
- "speed-scaling": [
223
- {
224
- "procTime": 60,
225
- "energyCons": 54
226
- }
227
- ]
228
- }
229
- }
230
- },
231
- {
232
- "jobId": 4,
233
- "operations": {
234
- "2": {
235
- "speed-scaling": [
236
- {
237
- "procTime": 36,
238
- "energyCons": 69
239
- }
240
- ]
241
- },
242
- "0": {
243
- "speed-scaling": [
244
- {
245
- "procTime": 36,
246
- "energyCons": 69
247
- }
248
- ]
249
- },
250
- "5": {
251
- "speed-scaling": [
252
- {
253
- "procTime": 49,
254
- "energyCons": 61
255
- }
256
- ]
257
- },
258
- "1": {
259
- "speed-scaling": [
260
- {
261
- "procTime": 42,
262
- "energyCons": 65
263
- }
264
- ]
265
- },
266
- "3": {
267
- "speed-scaling": [
268
- {
269
- "procTime": 33,
270
- "energyCons": 71
271
- }
272
- ]
273
- },
274
- "4": {
275
- "speed-scaling": [
276
- {
277
- "procTime": 36,
278
- "energyCons": 69
279
- }
280
- ]
281
- }
282
- }
283
- }
284
- ],
285
- "minMakespan": 338,
286
- "minEnergy": 1875,
287
- "maxMinMakespan": 1089,
288
- "maxMinEnergy": 0
289
- }
@@ -1,23 +0,0 @@
1
- Number of jobs: 5
2
- Number of machines: 6
3
-
4
- Processing times:
5
- 10 79 56 84 45 34
6
- 46 72 42 28 32 43
7
- 27 61 68 50 72 60
8
- 31 68 47 36 44 60
9
- 36 36 49 42 33 36
10
-
11
- Energy consumption:
12
- 90 45 57 43 63 71
13
- 63 48 65 75 72 65
14
- 76 54 50 60 48 54
15
- 73 50 62 69 64 54
16
- 69 69 61 65 71 69
17
-
18
- Machine order:
19
- 5 4 2 0 3 1
20
- 4 2 1 3 5 0
21
- 2 1 4 0 3 5
22
- 3 0 2 1 4 5
23
- 2 0 5 1 3 4
@@ -1,185 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: IGJSP
3
- Version: 0.0.4
4
- Summary: Instance generator for JSP
5
- Project-URL: Homepage, https://gps.blogs.upv.es/
6
- Author-email: GPS-UPV <gps@dsic.upv.es>
7
- License: MIT License
8
-
9
- Copyright (c) 2025 GPS
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions:
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.
28
- License-File: LICENSE
29
- Classifier: License :: OSI Approved :: MIT License
30
- Classifier: Operating System :: OS Independent
31
- Classifier: Programming Language :: Python :: 3
32
- Requires-Python: >=3.9
33
- Requires-Dist: numpy
34
- Requires-Dist: scipy
35
- Requires-Dist: tqdm
36
- Description-Content-Type: text/markdown
37
-
38
- # JSP Generator
39
-
40
- ## Description
41
- Benchmark generator for the Job Shop Problem (BG-JSP)
42
-
43
- ## Parameters
44
-
45
- Parameters available for the generation of problem instances:
46
-
47
- 1. **Jobs:`--jobs (-J)`**
48
- - **Description**: Number of jobs that will have the problem generated.
49
- - **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.
50
- - **Example of possible values**: `[3]`, `[4, 5]`.
51
- - **Default value**: `[10]`
52
-
53
- 2. **Machines:`--machines (-M)`**
54
- - **Description**: Number of machines that will have the problem generated.
55
- - **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.
56
- - **Example of possible values**: `[6]`, `[2, 5]`.
57
- - **Default value**: `[4]`
58
-
59
- 3. **Seed:`--seed (-s)`**
60
- - **Description**: Base number for data generation.
61
- - **Possible values**: Integer value.
62
- - **Example of possible values**: `84`, `32`
63
- - **Default value**: `1`
64
-
65
- 4. **Speed Scaling:`--speed-scaling (-S)`**
66
- - **Description**: Number of speeds that will be available to perform each task.
67
- - **Possible values**: Integer value.
68
- - **Example of possible values**: `3`, `5`
69
- - **Default value**: `1`
70
-
71
- 5. **Machine Processing Time:`--machine-processing-time (-mpt)`**
72
- - **Description**: Base consumption for a machine in stand-by.
73
- - **Possible values**: List of floats that will have the same number of elements as available machines.
74
- - **Example of possible values**: `[1.2]`, `[1.2, 3.4]`
75
- - **Default value**: `[]`
76
-
77
- 6. **Release and Due Date:`--release-due (-RDDD)`**
78
- - **Descripción**: Establish that each task has an instant of release and an instant of completion limit.
79
- - **Possible values**:
80
- - `0`: Neither the works and operations of each of them will have an instant of release or time limit for completion.
81
- - `1`: The work will have instant of release and instant of completion limit.
82
- - `2`: The operations of each job will have a release time and a limiting end time.
83
- - **Example of possible values**: `1`, `2`
84
- - **Default value**: `0`
85
-
86
- 7. **Path:`--path (-P)`**
87
- - **Description**: Path where the problem instance file will be generated.
88
- - **Possible values**: String.
89
- - **Example of possible values**: `./problems`, `./instances`
90
- - **Default value**: `./output`
91
-
92
- 8. **Quantity:`--quantity (-Q)`**
93
- - **Description**: Number of problem instances to be generated.
94
- - **Possible values**: Integer value.
95
- - **Example of possible values**: `2`, `5`
96
- - **Default value**: `1`
97
-
98
- 9. **Distribution:`--distribution (-D)`**
99
- - **Description**: Type of distribution to be followed for data generation.
100
- - **Possible values**: You can only set one of the following values: `uniform` `normal` `exponential`
101
- - **Example of possible values**: `uniform`, `exponential`
102
- - **Default value**: `normal`
103
-
104
- ## Example of JSON generated
105
-
106
- 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:
107
- `-J [2] -M [2] -s 155632 -S 2 -mpt [50,60] -RDDD 1 -P ./problems -D exponential`
108
-
109
- ```json
110
- {
111
- "nbJobs": [
112
- 0,
113
- 1
114
- ],
115
- "nbMchs": [
116
- 0,
117
- 1
118
- ],
119
- "timeEnergy": [
120
- {
121
- "jobId": 0,
122
- "operations": {
123
- "0": {
124
- "speed-scaling": [
125
- {
126
- "procTime": 12,
127
- "energyCons": 88
128
- },
129
- {
130
- "procTime": 2,
131
- "energyCons": 98
132
- }
133
- ]
134
- },
135
- "1": {
136
- "speed-scaling": [
137
- {
138
- "procTime": 99,
139
- "energyCons": 37
140
- },
141
- {
142
- "procTime": 32,
143
- "energyCons": 72
144
- }
145
- ]
146
- }
147
- },
148
- "release-date": 60,
149
- "due-date": 281
150
- },
151
- {
152
- "jobId": 1,
153
- "operations": {
154
- "1": {
155
- "speed-scaling": [
156
- {
157
- "procTime": 144,
158
- "energyCons": 23
159
- },
160
- {
161
- "procTime": 23,
162
- "energyCons": 79
163
- }
164
- ]
165
- },
166
- "0": {
167
- "speed-scaling": [
168
- {
169
- "procTime": 6,
170
- "energyCons": 94
171
- },
172
- {
173
- "procTime": 2,
174
- "energyCons": 98
175
- }
176
- ]
177
- }
178
- },
179
- "release-date": 40,
180
- "due-date": 317
181
- }
182
- ],
183
- "drDate": []
184
- }
185
- ```
@@ -1,41 +0,0 @@
1
- IGJSP/generador.py,sha256=FgzzIBPq7P3q1s2Wn94jVqs-tA_wZncW6zwDeWyLZGo,21404
2
- IGJSP/main.py,sha256=Lx5iY_5JzUSObyPD8qHmeFYC7e2ltPNO-NZXUmu5eUk,3255
3
- IGJSP/Minizinc/Models/RD/JSP0.mzn,sha256=cfN_E3RQ6nBulGfaOOYTd-zAgA5SI6E2saDlYtKCflg,2282
4
- IGJSP/Minizinc/Models/RD/JSP1.mzn,sha256=5B8cyw2WyKR8yEL1fFd0TaCAVhjPoxEJRJDPPEjJGEk,2840
5
- IGJSP/Minizinc/Models/RD/JSP2.mzn,sha256=ATqpg-Ow_VzjQJ_hZSSXiTXmwmqNqFsq81TZgcnjTks,2941
6
- IGJSP/Minizinc/Types/RD/JSP0.mzn,sha256=cfN_E3RQ6nBulGfaOOYTd-zAgA5SI6E2saDlYtKCflg,2282
7
- IGJSP/Minizinc/Types/RD/JSP1.mzn,sha256=5B8cyw2WyKR8yEL1fFd0TaCAVhjPoxEJRJDPPEjJGEk,2840
8
- IGJSP/Minizinc/Types/RD/JSP2.mzn,sha256=ATqpg-Ow_VzjQJ_hZSSXiTXmwmqNqFsq81TZgcnjTks,2941
9
- IGJSP/Minizinc/Types/RD/type0.dzn,sha256=alo54TrPd2svp-YeOq8rNhb42Aj5w4N1y1WYRxZ-aWM,225
10
- IGJSP/Minizinc/Types/RD/type1.dzn,sha256=r3f1uOoDnscjpXHbpvOWPGhGN0tmwkJ3NYIRP-NGk5M,298
11
- IGJSP/Minizinc/Types/RD/type2.dzn,sha256=ddJxLqR_WlUpycHhA_QulxiTx3o9neIzNESEt59VUx0,344
12
- IGJSP/generador/10_4/10_4.pkl,sha256=rKsm2FvdfFq3mNdX4N9Y2c0uXDfQnZF9R3mvwGQuoec,2573
13
- IGJSP/generador/10_4/10x4_0.json,sha256=vqM4iqP1FMfFul-AE54O4CrHoB2HjiyZL8EOcGWLGMI,11356
14
- IGJSP/generador/10_4/10x4_0.txt,sha256=tiXwi1yidXZ38Jz6ys41nCe8IM1HMDTQFLa0MGtqjlM,485
15
- IGJSP/generador/10_4/10x4_0.dzn/10x4_0.dzn,sha256=2VEB7tyX_MbmAMc1iRVxM9U108LjTC6RRDMlMRppksE,2613
16
- IGJSP/generador/10_4/10x4_0.dzn/10x4_0.dzn-0-1.dzn,sha256=6-3yuKnG5yU4a9c1zU21w-U78wXWRlQceUZfzmR2AC0,304
17
- IGJSP/generador/2_1/2_1.pkl,sha256=ylYuc9EMzm2fNf1JceNn5wPum_alQqkhym1tQYrhKck,835
18
- IGJSP/generador/2_1/2x1_0.json,sha256=gHiU_pf_meIepaN03Ydo-K3b31q_EJh9ZIgb7iiHoqs,916
19
- IGJSP/generador/2_1/2x1_0.txt,sha256=Yc6ooOTkTs4CBh36xHuXIEXGE-hWXNZ8Pk5cA-iXWsY,132
20
- IGJSP/generador/2_1/2x1_0.dzn/2x1_0.dzn,sha256=FKbwpFqVNhCrafejrtzPM-rxHGYT7P3r0tNH8P_F3Jk,875
21
- IGJSP/generador/2_1/2x1_0.dzn/2x1_0.dzn-0-1.dzn,sha256=OLauSKXDQudPPSJCuIC-v8mITjndG6v_wXooSvczCfs,189
22
- IGJSP/generador/2_2/2x2_0.json,sha256=Ghq4lno_fj-JFsRUaDLKGHyLYWbUGpo3MmdKre13TLk,1432
23
- IGJSP/generador/2_2/2x2_0.txt,sha256=Eo8pCSYr2bPnYYLlE5wPiyD_1l3YjAEaNtoZ8nEl21I,148
24
- IGJSP/generador/2_6/2x6_0.json,sha256=s7K0TQe9-Le85epMZj8XG0KScolGDvrgWR8z4cOUJ3k,3498
25
- IGJSP/generador/2_6/2x6_0.txt,sha256=Bhoe0rxib4kvdnBMCHLF3WcUpfoHRiAbyQ8Rp6_IqpY,212
26
- IGJSP/generador/3_1/3x1_0.json,sha256=wWuBiwPvThY-KA8Nycmom_MMgsftKOQyVhWbVkozYc4,1271
27
- IGJSP/generador/3_1/3x1_0.txt,sha256=aJhg9pHM4PqiULep1A3JfwJbh4FIlwlLw4arh82V2HA,146
28
- IGJSP/generador/3_2/3x2_0.json,sha256=tt1hPxLVyUdXYY2YfJ6kqk3r9N2qLU8GiO8nAuJ4rRo,2041
29
- IGJSP/generador/3_2/3x2_0.txt,sha256=5bClvo0jib5OeDfFoKOYSOc3ZCeCvjpVAt3wuricaKI,170
30
- IGJSP/generador/3_6/3x6_0.json,sha256=p4xv0I_YJ2uBl0W8yogN2pD5LFOzYIIwxrjK5FO0ivA,5114
31
- IGJSP/generador/3_6/3x6_0.txt,sha256=yoTf4Bhbc1npI0tgSrDv6j6NHFqFYZCq_bzQL8rvtcs,266
32
- IGJSP/generador/5_1/5x1_0.json,sha256=SKBkNzzDz9LeKv3QBLrE8lLZT1O-agSY18J8DzocojM,1982
33
- IGJSP/generador/5_1/5x1_0.txt,sha256=9u3EXjO2fyAvTFw2tgRWEZAfO4Xw4MBibTerPEMZC0g,174
34
- IGJSP/generador/5_2/5x2_0.json,sha256=ZtOarwT6rB4UcsiReFega7Itpci5zkZOyJjMOGpndiw,3255
35
- IGJSP/generador/5_2/5x2_0.txt,sha256=cfVvlYVKxuUoGlqjPErXN5dUFkBwY6V03QfeP_XjlS0,214
36
- IGJSP/generador/5_6/5x6_0.json,sha256=1qLZCw78Ccsef6VbiorGAEt9OvQBPyuoLyCmQ5_TRGg,8345
37
- IGJSP/generador/5_6/5x6_0.txt,sha256=oo9g1bqLi4gir1A1iqRC-0SyscumZYwFbnaFJuZ4fqE,374
38
- igjsp-0.0.4.dist-info/METADATA,sha256=fTKuODqaDaDzdlxFELsEhBYrlC1lIxvhgdvQghdWPV4,6922
39
- igjsp-0.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
40
- igjsp-0.0.4.dist-info/licenses/LICENSE,sha256=UtY-FXLhxMx_jlHRkzkBP0WYzBZXLunSqc0ILIfc4Uw,1079
41
- igjsp-0.0.4.dist-info/RECORD,,
File without changes