gamspy-mpsge 49.7.0__py3-none-manylinux_2_28_aarch64.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.
@@ -0,0 +1,9 @@
1
+ import os
2
+ from pathlib import Path
3
+ from .version import __version__
4
+ directory = str(Path(__file__).resolve().parent)
5
+
6
+ files = ['mpsgeset', 'gmsge_us.run', 'gmsge_ux.out', 'libmpsgeval.so', 'gmsgewus.run', 'gmsgewux.out']
7
+
8
+ file_paths = [directory + os.sep + file for file in files]
9
+ verbatim = 'MPSGE 100001 5 GE 1 0 1\ngmsgewus.run\ngmsgewux.out'
@@ -0,0 +1,13 @@
1
+ #!/bin/sh
2
+ # execute MPSGE preprocessor (called once during GAMS compile time)
3
+
4
+ # parameters:
5
+ # $1 : scratch directory
6
+ # $2 : working directory
7
+ # $3 : "$1", parameter file
8
+ # $4 : control file name
9
+ # $5 : system directory
10
+
11
+ ${5}gmsge_ux.out $4
12
+
13
+ exit 11
Binary file
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ "${5}gmsgewux.out" "$4"
3
+ [ $? = 0 ] || echo "ERROR: Solver exitcode nonzero: $?" 1>&2
4
+ exit 11
Binary file
Binary file
gamspy_mpsge/mpsgeset ADDED
@@ -0,0 +1,53 @@
1
+ $hidden MPSGESET MPSGE setup and HDR file generation
2
+ $log --- Running the MPSGE preprocessor ...
3
+ * Default values for named arguments
4
+ $if %1a == a $goto missing
5
+ $if declared %1 $goto badname
6
+ $set model %1
7
+ $shift
8
+ $set mt 0
9
+ $if set MPSGEMT $set mt %MPSGEMT%
10
+ $label ProcessNamedArguments
11
+ $ splitOption "%1" key val
12
+ $ if x%key%==x $goto FinishProcessNamedArguments
13
+ $ iftheni.NamedArguments %key%==mt
14
+ $ set mt %val%
15
+ $ else.NamedArguments
16
+ $ error Unkown named argument "%key%"
17
+ $ endif.NamedArguments
18
+ $ shift
19
+ $goto ProcessNamedArguments
20
+ $label FinishProcessNamedArguments
21
+
22
+ $if NOT setglobal n_models $setglobal n_models 0
23
+ $if NOT setglobal n_constr $setglobal n_constr 0
24
+ $setlocal datetime %system.date%%system.time%
25
+ $setglobal %model% %datetime%
26
+ $setlocal par %gams.scrdir%gamscge.%gams.scrext%
27
+ $setlocal hdr %gams.scrdir%gamsgeh.%gams.scrext%
28
+ $hidden $show to dump symbols to listingfile
29
+ $echo INP %system.incparent% > %par%
30
+ $echo SCR gamscge.%gams.scrext% >> %par%
31
+ $if x%mt%==x0 $echo SCD %gams.workdir% >> %par%
32
+ $if not x%mt%==x0 $echo SCD %gams.scrdir% >> %par%
33
+ $echo NMO %n_models% >> %par%
34
+ $echo NCO %n_constr% >> %par%
35
+ $echo MDL %model% >> %par%
36
+ $echo HDR %hdr% >> %par%
37
+ $echo TIM %datetime% >> %par%
38
+ $if not %system.filesys%==UNIX $call gmsge_nx "%par%"
39
+ $if %system.filesys%==UNIX $call gmsge_ux.out "%par%"
40
+ $include %hdr%
41
+ $hidden option oldname taken out for 21.3 builds, no longer supported
42
+ $exit
43
+ $label missing
44
+ $error missing model name argument for mpsgeset
45
+
46
+ * $sysinclude mpsgeset mymodel
47
+ *
48
+ $abort MPSGE further processing would be misleading
49
+
50
+ $label badname
51
+ $error model name already in use
52
+ * more explanation comes here
53
+ $abort MPSGE further processing would be misleading
@@ -0,0 +1 @@
1
+ __version__ = '49.7.0'
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: gamspy_mpsge
3
+ Version: 49.7.0
@@ -0,0 +1,12 @@
1
+ gamspy_mpsge/__init__.py,sha256=-XoZiC0ZNau17kRpsvTl291dAGi8kjtfgl9SG-5RnVM,346
2
+ gamspy_mpsge/gmsge_us.run,sha256=K8HA5WO_yEE9GD0ogQ867_JUSUGpIe20bOE3HSmv-MQ,266
3
+ gamspy_mpsge/gmsge_ux.out,sha256=YjMm-AtrGJtC32iHocNdl5onVduICd2YTW_UL-YYflo,162320
4
+ gamspy_mpsge/gmsgewus.run,sha256=SoNMuw9GRAUmO6twILrYd0kcxnFnG2DimqFt3og9BUI,103
5
+ gamspy_mpsge/gmsgewux.out,sha256=rxuDOM5iOzcA71dKmoT6pYXvtKL30Hk_oMXww3RJdVw,525304
6
+ gamspy_mpsge/libmpsgeval.so,sha256=vfQaZ7GKnUPjvx9YZ1OhNUFCYDMwEKyTQon4I4cn5D4,225760
7
+ gamspy_mpsge/mpsgeset,sha256=9SnB6TxKDHB_K51yXMYRrLAmlDHBm_XlcaRoKs4F4hM,1796
8
+ gamspy_mpsge/version.py,sha256=UsATtH8H35cUKz_5YgGCC4BOnDoemmYVZxz0XW_gosg,22
9
+ gamspy_mpsge-49.7.0.dist-info/METADATA,sha256=_Es73isRPeIKSkyASrq9ROQzXzaHKRgP-A3JzL_20Rk,57
10
+ gamspy_mpsge-49.7.0.dist-info/WHEEL,sha256=t5_TVo5EoIcKNBhWzfot9g64ilMSG_CsDKeV6kLKeBo,116
11
+ gamspy_mpsge-49.7.0.dist-info/top_level.txt,sha256=fFGHc0aIUS4As3C1AF49tM5L1gNFfszi8rB1B55EbeE,13
12
+ gamspy_mpsge-49.7.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+
5
+ Tag: py3-none-manylinux_2_28_aarch64
@@ -0,0 +1 @@
1
+ gamspy_mpsge