IGJSP 0.0.1__tar.gz → 0.0.2__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.3
2
2
  Name: IGJSP
3
- Version: 0.0.1
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
  ```
@@ -77,7 +77,8 @@ Once the generator has been initialized we proceed to generate different instanc
77
77
  ## Example of JSON generated
78
78
 
79
79
  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:
80
- ``` python
80
+ ``` python
81
+ from IGJSP.generador import Generator
81
82
  generator = Generator(json=True,savepath="output")
82
83
  generator.generate_new_instance(jobs=4,machines=2,ReleaseDateDueDate=2,distribution="exponential",seed=53)
83
84
  ```
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "IGJSP"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  authors = [
9
9
  { name="GPS-UPV", email="gps@dsic.upv.es" },
10
10
  ]
@@ -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
File without changes
File without changes
File without changes