IGJSP 0.0.1__py3-none-any.whl → 0.0.2__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.
IGJSP/generador.py
CHANGED
|
@@ -445,7 +445,7 @@ class JSP:
|
|
|
445
445
|
# jsp.saveTaillardStandardFile("./output_taillard.txt")
|
|
446
446
|
|
|
447
447
|
class Generator:
|
|
448
|
-
def __init__( self,json = False, dzn = False, taillard = False, savepath=""):
|
|
448
|
+
def __init__( self,json = False, dzn = False, taillard = False, savepath="./"):
|
|
449
449
|
self.json = json
|
|
450
450
|
self.dzn = dzn
|
|
451
451
|
self.taillard = taillard
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: IGJSP
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: Instance generator for JSP
|
|
5
5
|
Project-URL: Homepage, https://gps.blogs.upv.es/
|
|
6
6
|
Author-email: GPS-UPV <gps@dsic.upv.es>
|
|
@@ -93,7 +93,8 @@ Once the generator has been initialized we proceed to generate different instanc
|
|
|
93
93
|
## Example of JSON generated
|
|
94
94
|
|
|
95
95
|
This JSON shows how the data generated from an JSP problem with 2 machines and 4 jobs will look like. For this generation we have the following code:
|
|
96
|
-
``` python
|
|
96
|
+
``` python
|
|
97
|
+
from IGJSP.generador import Generator
|
|
97
98
|
generator = Generator(json=True,savepath="output")
|
|
98
99
|
generator.generate_new_instance(jobs=4,machines=2,ReleaseDateDueDate=2,distribution="exponential",seed=53)
|
|
99
100
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
IGJSP/generador.py,sha256=
|
|
1
|
+
IGJSP/generador.py,sha256=QEeDbQmnBASEfxVQNiNGAlbKKcyOpzskfRuKImShX_0,22240
|
|
2
2
|
IGJSP/main.py,sha256=qnpAdI9Nymfbb2t674EHKCZr1vG80tGyVT5RKMiGvZM,2727
|
|
3
3
|
IGJSP/Minizinc/Models/RD/JSP0.mzn,sha256=cfN_E3RQ6nBulGfaOOYTd-zAgA5SI6E2saDlYtKCflg,2282
|
|
4
4
|
IGJSP/Minizinc/Models/RD/JSP1.mzn,sha256=5B8cyw2WyKR8yEL1fFd0TaCAVhjPoxEJRJDPPEjJGEk,2840
|
|
@@ -9,7 +9,7 @@ IGJSP/Minizinc/Types/RD/JSP2.mzn,sha256=ATqpg-Ow_VzjQJ_hZSSXiTXmwmqNqFsq81TZgcnj
|
|
|
9
9
|
IGJSP/Minizinc/Types/RD/type0.dzn,sha256=alo54TrPd2svp-YeOq8rNhb42Aj5w4N1y1WYRxZ-aWM,225
|
|
10
10
|
IGJSP/Minizinc/Types/RD/type1.dzn,sha256=r3f1uOoDnscjpXHbpvOWPGhGN0tmwkJ3NYIRP-NGk5M,298
|
|
11
11
|
IGJSP/Minizinc/Types/RD/type2.dzn,sha256=ddJxLqR_WlUpycHhA_QulxiTx3o9neIzNESEt59VUx0,344
|
|
12
|
-
igjsp-0.0.
|
|
13
|
-
igjsp-0.0.
|
|
14
|
-
igjsp-0.0.
|
|
15
|
-
igjsp-0.0.
|
|
12
|
+
igjsp-0.0.2.dist-info/METADATA,sha256=Uh70eDLvUbIVh65ZlEpCrDSRUAZ3CFzO9eepxoQ6ezA,7369
|
|
13
|
+
igjsp-0.0.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
14
|
+
igjsp-0.0.2.dist-info/licenses/LICENSE,sha256=JJvw-24-Kyyqu80L6pZ5UImXjuvta4gcDwypMgItrro,1079
|
|
15
|
+
igjsp-0.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|