IGJSP 1.1.7__tar.gz → 1.1.8__tar.gz

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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: IGJSP
3
- Version: 1.1.7
3
+ Version: 1.1.8
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>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "IGJSP"
7
- version = "1.1.7"
7
+ version = "1.1.8"
8
8
  authors = [
9
9
  { name = "GPS-UPV", email = "gps@dsic.upv.es" },
10
10
  ]
@@ -1154,7 +1154,7 @@ class Generator:
1154
1154
  orden_aux.append([np.random.choice(range(machines), machines, replace=False) for job in range(jobs)])
1155
1155
 
1156
1156
  orden_aux = np.array(orden_aux)
1157
-
1157
+ instances = []
1158
1158
  for index in range(1, size + 1):
1159
1159
 
1160
1160
  jsp_instance.fill_random_values(speed = speed, rddd = ReleaseDateDueDate, distribution = distribution, seed = seed,tpm = tpm_aux[index-1])
@@ -1190,5 +1190,5 @@ class Generator:
1190
1190
  os.remove(pkl_path)
1191
1191
  if self.taillard:
1192
1192
  jsp_instance.saveTaillardStandardFile(f"{problem_path}/TAILLARD/" + jm_path.split("/")[0] + f"_{j}x{m}_{i}.txt")
1193
-
1194
- return jsp_instance
1193
+ instances.append(jsp_instance)
1194
+ return instances
File without changes
File without changes
File without changes
File without changes