IGJSP 1.1.3__py3-none-any.whl → 1.1.4__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
|
@@ -662,17 +662,19 @@ class JSP:
|
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
if t == 1:
|
|
665
|
-
replace_data["releaseDate"] = str(
|
|
666
|
-
replace_data["
|
|
665
|
+
replace_data["releaseDate"] = str(data.ReleaseDueDate[:, 0].flatten()).replace(" ",", ")
|
|
666
|
+
# replace_data["releaseDate"] = ", ".join(list(map(str,data.ReleaseDueDate[:, 0])))
|
|
667
|
+
replace_data["dueDate"] = str(data.ReleaseDueDate[:, 1].flatten()).replace(" ",", ")
|
|
668
|
+
|
|
667
669
|
elif t == 2:
|
|
668
|
-
replace_data["releaseDate"] = str(data.ReleaseDueDate[
|
|
669
|
-
replace_data["dueDate"] = str(data.ReleaseDueDate[:, :, 1].flatten()).replace("
|
|
670
|
+
replace_data["releaseDate"] = str(data.ReleaseDueDate[:,:, 0].flatten()).replace(" ",", ")
|
|
671
|
+
replace_data["dueDate"] = str(data.ReleaseDueDate[:, :, 1].flatten()).replace(" ",", ")
|
|
670
672
|
|
|
671
673
|
for job in range(data.numJobs):
|
|
672
674
|
for i, prioridad in enumerate(range(data.numMchs)):
|
|
673
675
|
precedence[job, data.Orden[job, prioridad]] = i
|
|
674
676
|
|
|
675
|
-
replace_data["precedence"] = str(precedence.flatten()).replace(" ", ",")
|
|
677
|
+
replace_data["precedence"] = str(precedence.flatten()).replace(" ", ", ")
|
|
676
678
|
filedata = _read_text_resource(f"Minizinc/Types/RD/JSP/type{t}.dzn")
|
|
677
679
|
# with open(f"./Minizinc/Types/RD/JSP/type{t}.dzn", "r", encoding="utf-8") as file:
|
|
678
680
|
# filedata = file.read()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
IGJSP/generador.py,sha256=
|
|
1
|
+
IGJSP/generador.py,sha256=XepqDE-sQ1u9j9tt0Mp5CPb3RN6gP25kFhKDcjazcqM,50783
|
|
2
2
|
IGJSP/main.py,sha256=Sia5Ss8O3HWBdshvPLJKUMaZIoQPHy6x8yzvojojPFo,2838
|
|
3
3
|
IGJSP/Minizinc/Models/RD/JSP0.mzn,sha256=cfN_E3RQ6nBulGfaOOYTd-zAgA5SI6E2saDlYtKCflg,2282
|
|
4
4
|
IGJSP/Minizinc/Models/RD/JSP1.mzn,sha256=5B8cyw2WyKR8yEL1fFd0TaCAVhjPoxEJRJDPPEjJGEk,2840
|
|
@@ -12,7 +12,7 @@ IGJSP/Minizinc/Types/RD/FJSP/type2.dzn,sha256=Wz1MnkSL5GUPsbh1eq0leoaQRImkNqQqkX
|
|
|
12
12
|
IGJSP/Minizinc/Types/RD/JSP/type0.dzn,sha256=wNuPQkXBXPSpPaPz2WFhp4pGDgfSimtg4I93UfwC01Q,263
|
|
13
13
|
IGJSP/Minizinc/Types/RD/JSP/type1.dzn,sha256=Xbt9StzCgEqqh_HS9tWGrTVtu-OEnf5Yq5Ty91AkzoM,333
|
|
14
14
|
IGJSP/Minizinc/Types/RD/JSP/type2.dzn,sha256=L2nc7bPJEhyuaEwgw0ZCpC52CpVJILQU_WQdKn8GUZs,379
|
|
15
|
-
igjsp-1.1.
|
|
16
|
-
igjsp-1.1.
|
|
17
|
-
igjsp-1.1.
|
|
18
|
-
igjsp-1.1.
|
|
15
|
+
igjsp-1.1.4.dist-info/METADATA,sha256=V_ObIzwrlMpGF_0pHFM9lYmLVlu9jFBKPQqgFsxoFSo,10609
|
|
16
|
+
igjsp-1.1.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
17
|
+
igjsp-1.1.4.dist-info/licenses/LICENSE,sha256=f7RDRO-z_nMoooAya7NAb8sXtrHR6WnttYtyUc9fB-c,1116
|
|
18
|
+
igjsp-1.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|