IGJSP 0.0.8__py3-none-any.whl → 0.0.9__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
@@ -67,6 +67,7 @@ class JSP:
67
67
 
68
68
  self._jobToMachine(release_date_tasks, timePer, distribution)
69
69
  self.generate_maxmin_objective_values()
70
+ self.vectorization()
70
71
 
71
72
  def _particionate_speed_space(self, speed):
72
73
  energyPer = np.linspace(0.5, 3, speed) if speed > 1 else [1]
@@ -400,7 +401,7 @@ class JSP:
400
401
  vectorization["min_makespan"] = self.min_makespan
401
402
  vectorization["max_sum_energy"] = self.max_energy
402
403
  vectorization["min_sum_energy"] = self.min_energy
403
- vectorization["max_tardiness"] = self.max_tardiness
404
+ vectorization["max_tardiness"] = self.max_tardiness if self.rddd != 0 else 0
404
405
  vectorization["min_window"] = 0
405
406
  vectorization["max_window"] = 0
406
407
  vectorization["mean_window"] = 0
@@ -465,7 +466,7 @@ class JSP:
465
466
  vectorization["max_energy_value"] = np.max(self.ProcessingTime)
466
467
  vectorization["min_energy_value"] = np.min(self.ProcessingTime)
467
468
  vectorization["mean_energy_value"] = np.mean(self.ProcessingTime)
468
-
469
+ self.features = vectorization
469
470
  return vectorization
470
471
 
471
472
  def disjuntive_graph(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: IGJSP
3
- Version: 0.0.8
3
+ Version: 0.0.9
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>
@@ -1,4 +1,4 @@
1
- IGJSP/generador.py,sha256=ON81bJF8VpNISN9RdUcQncyzfXVm-YZqLEpdjwRQoKg,27425
1
+ IGJSP/generador.py,sha256=Cwuhy7U15OOzYJ-hpFvGutaiB1Q2PMtW6KaUt4GmoOo,27517
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.8.dist-info/METADATA,sha256=g9Jp-YJgIbHm7PzWZRZZumUgdlB73MsohPKJqzt4XMU,7406
13
- igjsp-0.0.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- igjsp-0.0.8.dist-info/licenses/LICENSE,sha256=f7RDRO-z_nMoooAya7NAb8sXtrHR6WnttYtyUc9fB-c,1116
15
- igjsp-0.0.8.dist-info/RECORD,,
12
+ igjsp-0.0.9.dist-info/METADATA,sha256=astGQyCgjsoLf8uA-25Ezh1M0qTidVN9LHZenflRWJU,7406
13
+ igjsp-0.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ igjsp-0.0.9.dist-info/licenses/LICENSE,sha256=f7RDRO-z_nMoooAya7NAb8sXtrHR6WnttYtyUc9fB-c,1116
15
+ igjsp-0.0.9.dist-info/RECORD,,
File without changes