gamspy 1.19.1__py3-none-any.whl → 1.19.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.
gamspy/_container.py CHANGED
@@ -995,6 +995,7 @@ class Container(gt.Container):
995
995
  symbol_names = utils._get_symbol_names_from_gdx(
996
996
  self.system_directory, load_from
997
997
  )
998
+ self._add_statement(f"$declareAndLoad {load_from}")
998
999
  symbol_names = self._filter_load_symbols(
999
1000
  symbol_names, # type: ignore
1000
1001
  create_if_not_declared,
gamspy/_validation.py CHANGED
@@ -331,7 +331,8 @@ def validate_domain(
331
331
  try:
332
332
  if (
333
333
  given != "*"
334
- and len(actual.records) < 1000
334
+ and actual.records is not None
335
+ and len(actual.records) < 100
335
336
  and not actual.records.isin([given]).sum().any()
336
337
  ):
337
338
  raise ValidationError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gamspy
3
- Version: 1.19.1
3
+ Version: 1.19.2
4
4
  Summary: Python-based algebraic modeling interface to GAMS
5
5
  Author-email: GAMS Development Corporation <support@gams.com>
6
6
  Project-URL: homepage, https://gams.com/sales/gamspy_facts/
@@ -2,7 +2,7 @@ gamspy/__init__.py,sha256=-_5LylEYCb8fEHbV4gJdNbvRUEw-k2Wk61BP6da_XxU,1725
2
2
  gamspy/__main__.py,sha256=3HW3NYEe4pZnGhJ10s1G0vaZAkI9Zl_lXqHT9iDNXQg,108
3
3
  gamspy/_communication.py,sha256=18drDsKxi1Iv6oAKZfKGJcPYYWebBQsyeOxiEKXZngE,7148
4
4
  gamspy/_config.py,sha256=n7RXUFczIlol15-mxhnj54fHXHet8HcOnWiGm3mpMgg,3589
5
- gamspy/_container.py,sha256=fOqTAnT_0JdOM6b0GRfgNWiGB8DGNCFbhKPzl9OgWns,53862
5
+ gamspy/_container.py,sha256=f3Stz_u8OmPeJg7t1X0CdGnyxrMHlPRjLspcrBNfamg,53926
6
6
  gamspy/_convert.py,sha256=e8lvdB3itXrQip8wAr-7yP-CuYB2nt1TD7Y-Y4TE3jc,23460
7
7
  gamspy/_database.py,sha256=SVo4lEfS0Q2f80uMu7k71BBQNRwUei-2KFc_EGxsOcw,6873
8
8
  gamspy/_extrinsic.py,sha256=OGrlNzcSQjoIZw8lpsk_4SObEAhGX5bkc_D0d3lPZMQ,4807
@@ -12,7 +12,7 @@ gamspy/_model_instance.py,sha256=9FDyT4VTcPk7z0aIalVHcHB8GqMKZywvo1C_BlbnbZI,243
12
12
  gamspy/_options.py,sha256=Lar_oWaq5M8HbweGMwrIFdtUdR_Q751oJ_z95yAawdc,29576
13
13
  gamspy/_serialization.py,sha256=ESVvee08pejz-YyDU4e7KAio2t4bu5uDB7JnTDFhg6E,4302
14
14
  gamspy/_types.py,sha256=_KQjRntvIAicc9_sZ5BYWAHjs-WBURf2NJwTpJQT5xw,162
15
- gamspy/_validation.py,sha256=uaLzEeXE2h-1_9-x_Gv28qio08vk1q52vgtr-lahq3E,22029
15
+ gamspy/_validation.py,sha256=cQTpCcp8tFSMCOlt1Pke3OttuF220btSEXpaxDYPgOo,22083
16
16
  gamspy/_workspace.py,sha256=wb62UgjKCADDJyk3dNpPJHqwBaOhzmcIxylMBn51hl0,2179
17
17
  gamspy/exceptions.py,sha256=q-Cb6syXv1abf2JBfNFidGkvOWkp9FXU5NzJwkR5W7o,2929
18
18
  gamspy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -82,9 +82,9 @@ gamspy/math/matrix.py,sha256=PmYsMhF8Pq3bcgtyINryq4xV36i4KW0BtcFApOvt8GQ,16365
82
82
  gamspy/math/misc.py,sha256=hXfjwDYILcp68PiBWuEXCqbVEquhtyst4xMXd-lYFXg,39887
83
83
  gamspy/math/probability.py,sha256=gAVU_PTfbjXuN6i8XNjZpIYvFg8dPk1imZCbKQloSG0,4290
84
84
  gamspy/math/trigonometric.py,sha256=VBWQcP3ggl1oGDEzRs2M_T88HPJn9N0QfMJZwEUkx4w,4276
85
- gamspy-1.19.1.dist-info/licenses/LICENSE,sha256=I7K4bIaFtw6qvHJ1bgwnxfJIGSJ6zZrEt6l46t6c_Zg,1189
86
- gamspy-1.19.1.dist-info/METADATA,sha256=ScX-06y5cB4rAynWWm3EIBaEpgf-PxvCbkPhjSEwCKU,3883
87
- gamspy-1.19.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
88
- gamspy-1.19.1.dist-info/entry_points.txt,sha256=tzgC7L0Y_BiyagBCaYOPK7lE4olRJKM_PH2inmMvj60,48
89
- gamspy-1.19.1.dist-info/top_level.txt,sha256=fsq4q5lfdb2GEZC9O3PUih38s7TfIgolIaO5NgR3Hf8,7
90
- gamspy-1.19.1.dist-info/RECORD,,
85
+ gamspy-1.19.2.dist-info/licenses/LICENSE,sha256=I7K4bIaFtw6qvHJ1bgwnxfJIGSJ6zZrEt6l46t6c_Zg,1189
86
+ gamspy-1.19.2.dist-info/METADATA,sha256=IqRTI6emSDxIvtLA-w_3JGHS928bBRrT7_a3x4JX3io,3883
87
+ gamspy-1.19.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
88
+ gamspy-1.19.2.dist-info/entry_points.txt,sha256=tzgC7L0Y_BiyagBCaYOPK7lE4olRJKM_PH2inmMvj60,48
89
+ gamspy-1.19.2.dist-info/top_level.txt,sha256=fsq4q5lfdb2GEZC9O3PUih38s7TfIgolIaO5NgR3Hf8,7
90
+ gamspy-1.19.2.dist-info/RECORD,,