gamsapi 52.5.0__cp312-cp312-win_amd64.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.
- gams/__init__.py +27 -0
- gams/_version.py +1 -0
- gams/connect/__init__.py +28 -0
- gams/connect/agents/__init__.py +24 -0
- gams/connect/agents/_excel/__init__.py +32 -0
- gams/connect/agents/_excel/excelagent.py +312 -0
- gams/connect/agents/_excel/workbook.py +155 -0
- gams/connect/agents/_sqlconnectors/__init__.py +42 -0
- gams/connect/agents/_sqlconnectors/_accesshandler.py +211 -0
- gams/connect/agents/_sqlconnectors/_databasehandler.py +250 -0
- gams/connect/agents/_sqlconnectors/_mysqlhandler.py +168 -0
- gams/connect/agents/_sqlconnectors/_postgreshandler.py +131 -0
- gams/connect/agents/_sqlconnectors/_pyodbchandler.py +112 -0
- gams/connect/agents/_sqlconnectors/_sqlalchemyhandler.py +74 -0
- gams/connect/agents/_sqlconnectors/_sqlitehandler.py +262 -0
- gams/connect/agents/_sqlconnectors/_sqlserverhandler.py +179 -0
- gams/connect/agents/concatenate.py +440 -0
- gams/connect/agents/connectagent.py +743 -0
- gams/connect/agents/csvreader.py +675 -0
- gams/connect/agents/csvwriter.py +151 -0
- gams/connect/agents/domainwriter.py +143 -0
- gams/connect/agents/excelreader.py +756 -0
- gams/connect/agents/excelwriter.py +467 -0
- gams/connect/agents/filter.py +223 -0
- gams/connect/agents/gamsreader.py +112 -0
- gams/connect/agents/gamswriter.py +239 -0
- gams/connect/agents/gdxreader.py +109 -0
- gams/connect/agents/gdxwriter.py +146 -0
- gams/connect/agents/labelmanipulator.py +303 -0
- gams/connect/agents/projection.py +539 -0
- gams/connect/agents/pythoncode.py +71 -0
- gams/connect/agents/rawcsvreader.py +248 -0
- gams/connect/agents/rawexcelreader.py +312 -0
- gams/connect/agents/schema/CSVReader.yaml +92 -0
- gams/connect/agents/schema/CSVWriter.yaml +44 -0
- gams/connect/agents/schema/Concatenate.yaml +52 -0
- gams/connect/agents/schema/DomainWriter.yaml +25 -0
- gams/connect/agents/schema/ExcelReader.yaml +121 -0
- gams/connect/agents/schema/ExcelWriter.yaml +78 -0
- gams/connect/agents/schema/Filter.yaml +74 -0
- gams/connect/agents/schema/GAMSReader.yaml +20 -0
- gams/connect/agents/schema/GAMSWriter.yaml +47 -0
- gams/connect/agents/schema/GDXReader.yaml +23 -0
- gams/connect/agents/schema/GDXWriter.yaml +32 -0
- gams/connect/agents/schema/LabelManipulator.yaml +99 -0
- gams/connect/agents/schema/Projection.yaml +24 -0
- gams/connect/agents/schema/PythonCode.yaml +6 -0
- gams/connect/agents/schema/RawCSVReader.yaml +34 -0
- gams/connect/agents/schema/RawExcelReader.yaml +42 -0
- gams/connect/agents/schema/SQLReader.yaml +75 -0
- gams/connect/agents/schema/SQLWriter.yaml +103 -0
- gams/connect/agents/sqlreader.py +301 -0
- gams/connect/agents/sqlwriter.py +276 -0
- gams/connect/connectdatabase.py +275 -0
- gams/connect/connectvalidator.py +93 -0
- gams/connect/errors.py +34 -0
- gams/control/__init__.py +136 -0
- gams/control/database.py +2231 -0
- gams/control/execution.py +1900 -0
- gams/control/options.py +2792 -0
- gams/control/workspace.py +1198 -0
- gams/core/__init__.py +24 -0
- gams/core/cfg/__init__.py +26 -0
- gams/core/cfg/_cfgmcc.cp312-win_amd64.pyd +0 -0
- gams/core/cfg/cfgmcc.py +519 -0
- gams/core/dct/__init__.py +26 -0
- gams/core/dct/_dctmcc.cp312-win_amd64.pyd +0 -0
- gams/core/dct/dctmcc.py +574 -0
- gams/core/embedded/__init__.py +26 -0
- gams/core/embedded/gamsemb.py +1024 -0
- gams/core/emp/__init__.py +24 -0
- gams/core/emp/emplexer.py +89 -0
- gams/core/emp/empyacc.py +281 -0
- gams/core/gdx/__init__.py +26 -0
- gams/core/gdx/_gdxcc.cp312-win_amd64.pyd +0 -0
- gams/core/gdx/gdxcc.py +866 -0
- gams/core/gev/__init__.py +26 -0
- gams/core/gev/_gevmcc.cp312-win_amd64.pyd +0 -0
- gams/core/gev/gevmcc.py +855 -0
- gams/core/gmd/__init__.py +26 -0
- gams/core/gmd/_gmdcc.cp312-win_amd64.pyd +0 -0
- gams/core/gmd/gmdcc.py +917 -0
- gams/core/gmo/__init__.py +26 -0
- gams/core/gmo/_gmomcc.cp312-win_amd64.pyd +0 -0
- gams/core/gmo/gmomcc.py +2046 -0
- gams/core/idx/__init__.py +26 -0
- gams/core/idx/_idxcc.cp312-win_amd64.pyd +0 -0
- gams/core/idx/idxcc.py +510 -0
- gams/core/numpy/__init__.py +29 -0
- gams/core/numpy/_gams2numpy.cp312-win_amd64.pyd +0 -0
- gams/core/numpy/gams2numpy.py +1048 -0
- gams/core/opt/__init__.py +26 -0
- gams/core/opt/_optcc.cp312-win_amd64.pyd +0 -0
- gams/core/opt/optcc.py +840 -0
- gams/engine/__init__.py +204 -0
- gams/engine/api/__init__.py +13 -0
- gams/engine/api/auth_api.py +7653 -0
- gams/engine/api/cleanup_api.py +751 -0
- gams/engine/api/default_api.py +887 -0
- gams/engine/api/hypercube_api.py +2629 -0
- gams/engine/api/jobs_api.py +5229 -0
- gams/engine/api/licenses_api.py +2220 -0
- gams/engine/api/namespaces_api.py +7783 -0
- gams/engine/api/usage_api.py +5627 -0
- gams/engine/api/users_api.py +5931 -0
- gams/engine/api_client.py +804 -0
- gams/engine/api_response.py +21 -0
- gams/engine/configuration.py +601 -0
- gams/engine/exceptions.py +216 -0
- gams/engine/models/__init__.py +86 -0
- gams/engine/models/bad_input.py +89 -0
- gams/engine/models/cleanable_job_result.py +104 -0
- gams/engine/models/cleanable_job_result_page.py +113 -0
- gams/engine/models/engine_license.py +107 -0
- gams/engine/models/files_not_found.py +93 -0
- gams/engine/models/forwarded_token_response.py +112 -0
- gams/engine/models/generic_key_value_pair.py +89 -0
- gams/engine/models/hypercube.py +160 -0
- gams/engine/models/hypercube_page.py +111 -0
- gams/engine/models/hypercube_summary.py +91 -0
- gams/engine/models/hypercube_token.py +97 -0
- gams/engine/models/identity_provider.py +107 -0
- gams/engine/models/identity_provider_ldap.py +121 -0
- gams/engine/models/identity_provider_oauth2.py +146 -0
- gams/engine/models/identity_provider_oauth2_scope.py +89 -0
- gams/engine/models/identity_provider_oauth2_with_secret.py +152 -0
- gams/engine/models/identity_provider_oidc.py +133 -0
- gams/engine/models/identity_provider_oidc_with_secret.py +143 -0
- gams/engine/models/inex.py +91 -0
- gams/engine/models/invitation.py +136 -0
- gams/engine/models/invitation_quota.py +106 -0
- gams/engine/models/invitation_token.py +87 -0
- gams/engine/models/job.py +165 -0
- gams/engine/models/job_no_text_entry.py +138 -0
- gams/engine/models/job_no_text_entry_page.py +111 -0
- gams/engine/models/license.py +91 -0
- gams/engine/models/log_piece.py +96 -0
- gams/engine/models/message.py +87 -0
- gams/engine/models/message_and_token.py +99 -0
- gams/engine/models/message_with_webhook_id.py +89 -0
- gams/engine/models/model_auth_token.py +87 -0
- gams/engine/models/model_configuration.py +125 -0
- gams/engine/models/model_default_instance.py +99 -0
- gams/engine/models/model_default_user_instance.py +98 -0
- gams/engine/models/model_hypercube_job.py +106 -0
- gams/engine/models/model_hypercube_usage.py +130 -0
- gams/engine/models/model_instance_info.py +116 -0
- gams/engine/models/model_instance_info_full.py +123 -0
- gams/engine/models/model_instance_pool_info.py +112 -0
- gams/engine/models/model_job_labels.py +179 -0
- gams/engine/models/model_job_usage.py +133 -0
- gams/engine/models/model_pool_usage.py +124 -0
- gams/engine/models/model_usage.py +115 -0
- gams/engine/models/model_user.py +96 -0
- gams/engine/models/model_userinstance_info.py +119 -0
- gams/engine/models/model_userinstancepool_info.py +95 -0
- gams/engine/models/model_version.py +91 -0
- gams/engine/models/models.py +120 -0
- gams/engine/models/namespace.py +104 -0
- gams/engine/models/namespace_quota.py +96 -0
- gams/engine/models/namespace_with_permission.py +96 -0
- gams/engine/models/not_found.py +91 -0
- gams/engine/models/password_policy.py +97 -0
- gams/engine/models/perm_and_username.py +89 -0
- gams/engine/models/quota.py +117 -0
- gams/engine/models/quota_exceeded.py +97 -0
- gams/engine/models/status_code_meaning.py +89 -0
- gams/engine/models/stream_entry.py +89 -0
- gams/engine/models/system_wide_license.py +92 -0
- gams/engine/models/text_entries.py +87 -0
- gams/engine/models/text_entry.py +101 -0
- gams/engine/models/time_span.py +95 -0
- gams/engine/models/time_span_pool_worker.py +99 -0
- gams/engine/models/token_forward_error.py +87 -0
- gams/engine/models/user.py +127 -0
- gams/engine/models/user_group_member.py +96 -0
- gams/engine/models/user_groups.py +108 -0
- gams/engine/models/vapid_info.py +87 -0
- gams/engine/models/webhook.py +138 -0
- gams/engine/models/webhook_parameterized_event.py +99 -0
- gams/engine/py.typed +0 -0
- gams/engine/rest.py +258 -0
- gams/magic/__init__.py +32 -0
- gams/magic/gams_magic.py +142 -0
- gams/magic/interactive.py +402 -0
- gams/tools/__init__.py +30 -0
- gams/tools/errors.py +34 -0
- gams/tools/toolcollection/__init__.py +24 -0
- gams/tools/toolcollection/alg/__init__.py +24 -0
- gams/tools/toolcollection/alg/rank.py +51 -0
- gams/tools/toolcollection/data/__init__.py +24 -0
- gams/tools/toolcollection/data/csvread.py +444 -0
- gams/tools/toolcollection/data/csvwrite.py +311 -0
- gams/tools/toolcollection/data/exceldump.py +47 -0
- gams/tools/toolcollection/data/sqlitewrite.py +276 -0
- gams/tools/toolcollection/gdxservice/__init__.py +24 -0
- gams/tools/toolcollection/gdxservice/gdxencoding.py +104 -0
- gams/tools/toolcollection/gdxservice/gdxrename.py +94 -0
- gams/tools/toolcollection/linalg/__init__.py +24 -0
- gams/tools/toolcollection/linalg/cholesky.py +57 -0
- gams/tools/toolcollection/linalg/eigenvalue.py +56 -0
- gams/tools/toolcollection/linalg/eigenvector.py +58 -0
- gams/tools/toolcollection/linalg/invert.py +55 -0
- gams/tools/toolcollection/linalg/ols.py +138 -0
- gams/tools/toolcollection/tooltemplate.py +321 -0
- gams/tools/toolcollection/win32/__init__.py +24 -0
- gams/tools/toolcollection/win32/excelmerge.py +93 -0
- gams/tools/toolcollection/win32/exceltalk.py +76 -0
- gams/tools/toolcollection/win32/msappavail.py +49 -0
- gams/tools/toolcollection/win32/shellexecute.py +54 -0
- gams/tools/tools.py +116 -0
- gams/transfer/__init__.py +35 -0
- gams/transfer/_abcs/__init__.py +37 -0
- gams/transfer/_abcs/container_abcs.py +433 -0
- gams/transfer/_internals/__init__.py +63 -0
- gams/transfer/_internals/algorithms.py +436 -0
- gams/transfer/_internals/casepreservingdict.py +124 -0
- gams/transfer/_internals/constants.py +270 -0
- gams/transfer/_internals/domainviolation.py +103 -0
- gams/transfer/_internals/specialvalues.py +172 -0
- gams/transfer/containers/__init__.py +26 -0
- gams/transfer/containers/_container.py +1794 -0
- gams/transfer/containers/_io/__init__.py +28 -0
- gams/transfer/containers/_io/containers.py +164 -0
- gams/transfer/containers/_io/gdx.py +1029 -0
- gams/transfer/containers/_io/gmd.py +872 -0
- gams/transfer/containers/_mixins/__init__.py +26 -0
- gams/transfer/containers/_mixins/ccc.py +1274 -0
- gams/transfer/syms/__init__.py +33 -0
- gams/transfer/syms/_methods/__init__.py +24 -0
- gams/transfer/syms/_methods/tables.py +120 -0
- gams/transfer/syms/_methods/toDict.py +115 -0
- gams/transfer/syms/_methods/toList.py +83 -0
- gams/transfer/syms/_methods/toValue.py +60 -0
- gams/transfer/syms/_mixins/__init__.py +32 -0
- gams/transfer/syms/_mixins/equals.py +626 -0
- gams/transfer/syms/_mixins/generateRecords.py +499 -0
- gams/transfer/syms/_mixins/pivot.py +313 -0
- gams/transfer/syms/_mixins/pve.py +627 -0
- gams/transfer/syms/_mixins/sa.py +27 -0
- gams/transfer/syms/_mixins/sapve.py +27 -0
- gams/transfer/syms/_mixins/saua.py +27 -0
- gams/transfer/syms/_mixins/sauapve.py +199 -0
- gams/transfer/syms/_mixins/spve.py +1528 -0
- gams/transfer/syms/_mixins/ve.py +936 -0
- gams/transfer/syms/container_syms/__init__.py +31 -0
- gams/transfer/syms/container_syms/_alias.py +984 -0
- gams/transfer/syms/container_syms/_equation.py +333 -0
- gams/transfer/syms/container_syms/_parameter.py +973 -0
- gams/transfer/syms/container_syms/_set.py +604 -0
- gams/transfer/syms/container_syms/_universe_alias.py +461 -0
- gams/transfer/syms/container_syms/_variable.py +321 -0
- gamsapi-52.5.0.dist-info/METADATA +150 -0
- gamsapi-52.5.0.dist-info/RECORD +257 -0
- gamsapi-52.5.0.dist-info/WHEEL +5 -0
- gamsapi-52.5.0.dist-info/licenses/LICENSE +22 -0
- gamsapi-52.5.0.dist-info/top_level.txt +1 -0
gams/core/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#
|
|
2
|
+
# GAMS - General Algebraic Modeling System Python API
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2017-2026 GAMS Development Corp. <support@gams.com>
|
|
5
|
+
# Copyright (c) 2017-2026 GAMS Software GmbH <support@gams.com>
|
|
6
|
+
#
|
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
# furnished to do so, subject to the following conditions:
|
|
13
|
+
#
|
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
# copies or substantial portions of the Software.
|
|
16
|
+
#
|
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
# SOFTWARE.
|
|
24
|
+
#
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#
|
|
2
|
+
# GAMS - General Algebraic Modeling System Python API
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2017-2026 GAMS Development Corp. <support@gams.com>
|
|
5
|
+
# Copyright (c) 2017-2026 GAMS Software GmbH <support@gams.com>
|
|
6
|
+
#
|
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
# furnished to do so, subject to the following conditions:
|
|
13
|
+
#
|
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
# copies or substantial portions of the Software.
|
|
16
|
+
#
|
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
# SOFTWARE.
|
|
24
|
+
#
|
|
25
|
+
|
|
26
|
+
from gams.core.cfg.cfgmcc import *
|
|
Binary file
|
gams/core/cfg/cfgmcc.py
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
# This file was automatically generated by SWIG (https://www.swig.org).
|
|
2
|
+
# Version 4.4.0
|
|
3
|
+
#
|
|
4
|
+
# Do not make changes to this file unless you know what you are doing - modify
|
|
5
|
+
# the SWIG interface file instead.
|
|
6
|
+
|
|
7
|
+
from sys import version_info as _swig_python_version_info
|
|
8
|
+
from gams.core.cfg import _cfgmcc
|
|
9
|
+
|
|
10
|
+
try:
|
|
11
|
+
import builtins as __builtin__
|
|
12
|
+
except ImportError:
|
|
13
|
+
import __builtin__
|
|
14
|
+
|
|
15
|
+
def _swig_repr(self):
|
|
16
|
+
try:
|
|
17
|
+
strthis = "proxy of " + self.this.__repr__()
|
|
18
|
+
except __builtin__.Exception:
|
|
19
|
+
strthis = ""
|
|
20
|
+
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _swig_setattr_nondynamic_instance_variable(set):
|
|
24
|
+
def set_instance_attr(self, name, value):
|
|
25
|
+
if name == "this":
|
|
26
|
+
set(self, name, value)
|
|
27
|
+
elif name == "thisown":
|
|
28
|
+
self.this.own(value)
|
|
29
|
+
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
|
30
|
+
set(self, name, value)
|
|
31
|
+
else:
|
|
32
|
+
raise AttributeError("You cannot add instance attributes to %s" % self)
|
|
33
|
+
return set_instance_attr
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _swig_setattr_nondynamic_class_variable(set):
|
|
37
|
+
def set_class_attr(cls, name, value):
|
|
38
|
+
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
|
|
39
|
+
set(cls, name, value)
|
|
40
|
+
else:
|
|
41
|
+
raise AttributeError("You cannot add class attributes to %s" % cls)
|
|
42
|
+
return set_class_attr
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _swig_add_metaclass(metaclass):
|
|
46
|
+
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
|
|
47
|
+
def wrapper(cls):
|
|
48
|
+
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
|
|
49
|
+
return wrapper
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class _SwigNonDynamicMeta(type):
|
|
53
|
+
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
|
|
54
|
+
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
cfgProc_none = _cfgmcc.cfgProc_none
|
|
58
|
+
cfgProc_lp = _cfgmcc.cfgProc_lp
|
|
59
|
+
cfgProc_mip = _cfgmcc.cfgProc_mip
|
|
60
|
+
cfgProc_rmip = _cfgmcc.cfgProc_rmip
|
|
61
|
+
cfgProc_nlp = _cfgmcc.cfgProc_nlp
|
|
62
|
+
cfgProc_mcp = _cfgmcc.cfgProc_mcp
|
|
63
|
+
cfgProc_mpec = _cfgmcc.cfgProc_mpec
|
|
64
|
+
cfgProc_rmpec = _cfgmcc.cfgProc_rmpec
|
|
65
|
+
cfgProc_cns = _cfgmcc.cfgProc_cns
|
|
66
|
+
cfgProc_dnlp = _cfgmcc.cfgProc_dnlp
|
|
67
|
+
cfgProc_rminlp = _cfgmcc.cfgProc_rminlp
|
|
68
|
+
cfgProc_minlp = _cfgmcc.cfgProc_minlp
|
|
69
|
+
cfgProc_qcp = _cfgmcc.cfgProc_qcp
|
|
70
|
+
cfgProc_miqcp = _cfgmcc.cfgProc_miqcp
|
|
71
|
+
cfgProc_rmiqcp = _cfgmcc.cfgProc_rmiqcp
|
|
72
|
+
cfgProc_emp = _cfgmcc.cfgProc_emp
|
|
73
|
+
cfgProc_nrofmodeltypes = _cfgmcc.cfgProc_nrofmodeltypes
|
|
74
|
+
class intArray(object):
|
|
75
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
76
|
+
__repr__ = _swig_repr
|
|
77
|
+
|
|
78
|
+
def __init__(self, nelements):
|
|
79
|
+
_cfgmcc.intArray_swiginit(self, _cfgmcc.new_intArray(nelements))
|
|
80
|
+
__swig_destroy__ = _cfgmcc.delete_intArray
|
|
81
|
+
|
|
82
|
+
def __getitem__(self, index):
|
|
83
|
+
return _cfgmcc.intArray___getitem__(self, index)
|
|
84
|
+
|
|
85
|
+
def __setitem__(self, index, value):
|
|
86
|
+
return _cfgmcc.intArray___setitem__(self, index, value)
|
|
87
|
+
|
|
88
|
+
def cast(self):
|
|
89
|
+
return _cfgmcc.intArray_cast(self)
|
|
90
|
+
|
|
91
|
+
@staticmethod
|
|
92
|
+
def frompointer(t):
|
|
93
|
+
return _cfgmcc.intArray_frompointer(t)
|
|
94
|
+
|
|
95
|
+
# Register intArray in _cfgmcc:
|
|
96
|
+
_cfgmcc.intArray_swigregister(intArray)
|
|
97
|
+
class doubleArray(object):
|
|
98
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
99
|
+
__repr__ = _swig_repr
|
|
100
|
+
|
|
101
|
+
def __init__(self, nelements):
|
|
102
|
+
_cfgmcc.doubleArray_swiginit(self, _cfgmcc.new_doubleArray(nelements))
|
|
103
|
+
__swig_destroy__ = _cfgmcc.delete_doubleArray
|
|
104
|
+
|
|
105
|
+
def __getitem__(self, index):
|
|
106
|
+
return _cfgmcc.doubleArray___getitem__(self, index)
|
|
107
|
+
|
|
108
|
+
def __setitem__(self, index, value):
|
|
109
|
+
return _cfgmcc.doubleArray___setitem__(self, index, value)
|
|
110
|
+
|
|
111
|
+
def cast(self):
|
|
112
|
+
return _cfgmcc.doubleArray_cast(self)
|
|
113
|
+
|
|
114
|
+
@staticmethod
|
|
115
|
+
def frompointer(t):
|
|
116
|
+
return _cfgmcc.doubleArray_frompointer(t)
|
|
117
|
+
|
|
118
|
+
# Register doubleArray in _cfgmcc:
|
|
119
|
+
_cfgmcc.doubleArray_swigregister(doubleArray)
|
|
120
|
+
|
|
121
|
+
def new_intp():
|
|
122
|
+
return _cfgmcc.new_intp()
|
|
123
|
+
|
|
124
|
+
def copy_intp(value):
|
|
125
|
+
return _cfgmcc.copy_intp(value)
|
|
126
|
+
|
|
127
|
+
def delete_intp(obj):
|
|
128
|
+
return _cfgmcc.delete_intp(obj)
|
|
129
|
+
|
|
130
|
+
def intp_assign(obj, value):
|
|
131
|
+
return _cfgmcc.intp_assign(obj, value)
|
|
132
|
+
|
|
133
|
+
def intp_value(obj):
|
|
134
|
+
return _cfgmcc.intp_value(obj)
|
|
135
|
+
|
|
136
|
+
def new_doublep():
|
|
137
|
+
return _cfgmcc.new_doublep()
|
|
138
|
+
|
|
139
|
+
def copy_doublep(value):
|
|
140
|
+
return _cfgmcc.copy_doublep(value)
|
|
141
|
+
|
|
142
|
+
def delete_doublep(obj):
|
|
143
|
+
return _cfgmcc.delete_doublep(obj)
|
|
144
|
+
|
|
145
|
+
def doublep_assign(obj, value):
|
|
146
|
+
return _cfgmcc.doublep_assign(obj, value)
|
|
147
|
+
|
|
148
|
+
def doublep_value(obj):
|
|
149
|
+
return _cfgmcc.doublep_value(obj)
|
|
150
|
+
|
|
151
|
+
def new_cfgHandle_tp():
|
|
152
|
+
return _cfgmcc.new_cfgHandle_tp()
|
|
153
|
+
|
|
154
|
+
def copy_cfgHandle_tp(value):
|
|
155
|
+
return _cfgmcc.copy_cfgHandle_tp(value)
|
|
156
|
+
|
|
157
|
+
def delete_cfgHandle_tp(obj):
|
|
158
|
+
return _cfgmcc.delete_cfgHandle_tp(obj)
|
|
159
|
+
|
|
160
|
+
def cfgHandle_tp_assign(obj, value):
|
|
161
|
+
return _cfgmcc.cfgHandle_tp_assign(obj, value)
|
|
162
|
+
|
|
163
|
+
def cfgHandle_tp_value(obj):
|
|
164
|
+
return _cfgmcc.cfgHandle_tp_value(obj)
|
|
165
|
+
|
|
166
|
+
def cfgHandleToPtr(pcfg):
|
|
167
|
+
r"""cfgHandleToPtr(pcfg) -> void *"""
|
|
168
|
+
return _cfgmcc.cfgHandleToPtr(pcfg)
|
|
169
|
+
|
|
170
|
+
def ptrTocfgHandle(vptr):
|
|
171
|
+
r"""ptrTocfgHandle(vptr) -> cfgHandle_t"""
|
|
172
|
+
return _cfgmcc.ptrTocfgHandle(vptr)
|
|
173
|
+
|
|
174
|
+
def cfgGetReady(msgBufSize):
|
|
175
|
+
r"""cfgGetReady(msgBufSize) -> int"""
|
|
176
|
+
return _cfgmcc.cfgGetReady(msgBufSize)
|
|
177
|
+
|
|
178
|
+
def cfgGetReadyD(dirName, msgBufSize):
|
|
179
|
+
r"""cfgGetReadyD(dirName, msgBufSize) -> int"""
|
|
180
|
+
return _cfgmcc.cfgGetReadyD(dirName, msgBufSize)
|
|
181
|
+
|
|
182
|
+
def cfgGetReadyL(libName, msgBufSize):
|
|
183
|
+
r"""cfgGetReadyL(libName, msgBufSize) -> int"""
|
|
184
|
+
return _cfgmcc.cfgGetReadyL(libName, msgBufSize)
|
|
185
|
+
|
|
186
|
+
def cfgCreate(pcfg, msgBufSize):
|
|
187
|
+
r"""cfgCreate(pcfg, msgBufSize) -> int"""
|
|
188
|
+
return _cfgmcc.cfgCreate(pcfg, msgBufSize)
|
|
189
|
+
|
|
190
|
+
def cfgCreateD(pcfg, dirName, msgBufSize):
|
|
191
|
+
r"""cfgCreateD(pcfg, dirName, msgBufSize) -> int"""
|
|
192
|
+
return _cfgmcc.cfgCreateD(pcfg, dirName, msgBufSize)
|
|
193
|
+
|
|
194
|
+
def cfgCreateL(pcfg, libName, msgBufSize):
|
|
195
|
+
r"""cfgCreateL(pcfg, libName, msgBufSize) -> int"""
|
|
196
|
+
return _cfgmcc.cfgCreateL(pcfg, libName, msgBufSize)
|
|
197
|
+
|
|
198
|
+
def cfgFree(pcfg):
|
|
199
|
+
r"""cfgFree(pcfg) -> int"""
|
|
200
|
+
return _cfgmcc.cfgFree(pcfg)
|
|
201
|
+
|
|
202
|
+
def cfgLibraryLoaded():
|
|
203
|
+
r"""cfgLibraryLoaded() -> int"""
|
|
204
|
+
return _cfgmcc.cfgLibraryLoaded()
|
|
205
|
+
|
|
206
|
+
def cfgLibraryUnload():
|
|
207
|
+
r"""cfgLibraryUnload() -> int"""
|
|
208
|
+
return _cfgmcc.cfgLibraryUnload()
|
|
209
|
+
|
|
210
|
+
def cfgGetScreenIndicator():
|
|
211
|
+
r"""cfgGetScreenIndicator() -> int"""
|
|
212
|
+
return _cfgmcc.cfgGetScreenIndicator()
|
|
213
|
+
|
|
214
|
+
def cfgSetScreenIndicator(scrind):
|
|
215
|
+
r"""cfgSetScreenIndicator(scrind)"""
|
|
216
|
+
return _cfgmcc.cfgSetScreenIndicator(scrind)
|
|
217
|
+
|
|
218
|
+
def cfgGetExceptionIndicator():
|
|
219
|
+
r"""cfgGetExceptionIndicator() -> int"""
|
|
220
|
+
return _cfgmcc.cfgGetExceptionIndicator()
|
|
221
|
+
|
|
222
|
+
def cfgSetExceptionIndicator(excind):
|
|
223
|
+
r"""cfgSetExceptionIndicator(excind)"""
|
|
224
|
+
return _cfgmcc.cfgSetExceptionIndicator(excind)
|
|
225
|
+
|
|
226
|
+
def cfgGetExitIndicator():
|
|
227
|
+
r"""cfgGetExitIndicator() -> int"""
|
|
228
|
+
return _cfgmcc.cfgGetExitIndicator()
|
|
229
|
+
|
|
230
|
+
def cfgSetExitIndicator(extind):
|
|
231
|
+
r"""cfgSetExitIndicator(extind)"""
|
|
232
|
+
return _cfgmcc.cfgSetExitIndicator(extind)
|
|
233
|
+
|
|
234
|
+
def cfgGetErrorCallback():
|
|
235
|
+
r"""cfgGetErrorCallback() -> cfgErrorCallback_t"""
|
|
236
|
+
return _cfgmcc.cfgGetErrorCallback()
|
|
237
|
+
|
|
238
|
+
def cfgSetErrorCallback(func):
|
|
239
|
+
r"""cfgSetErrorCallback(func)"""
|
|
240
|
+
return _cfgmcc.cfgSetErrorCallback(func)
|
|
241
|
+
|
|
242
|
+
def cfgGetAPIErrorCount():
|
|
243
|
+
r"""cfgGetAPIErrorCount() -> int"""
|
|
244
|
+
return _cfgmcc.cfgGetAPIErrorCount()
|
|
245
|
+
|
|
246
|
+
def cfgSetAPIErrorCount(ecnt):
|
|
247
|
+
r"""cfgSetAPIErrorCount(ecnt)"""
|
|
248
|
+
return _cfgmcc.cfgSetAPIErrorCount(ecnt)
|
|
249
|
+
|
|
250
|
+
def cfgErrorHandling(msg):
|
|
251
|
+
r"""cfgErrorHandling(msg)"""
|
|
252
|
+
return _cfgmcc.cfgErrorHandling(msg)
|
|
253
|
+
|
|
254
|
+
def cfgReadConfig(pcfg, filename):
|
|
255
|
+
r"""cfgReadConfig(pcfg, filename) -> int"""
|
|
256
|
+
return _cfgmcc.cfgReadConfig(pcfg, filename)
|
|
257
|
+
|
|
258
|
+
def cfgReadConfigGUC(pcfg, filename, sysDir):
|
|
259
|
+
r"""cfgReadConfigGUC(pcfg, filename, sysDir) -> int"""
|
|
260
|
+
return _cfgmcc.cfgReadConfigGUC(pcfg, filename, sysDir)
|
|
261
|
+
|
|
262
|
+
def cfgNumAlgs(pcfg):
|
|
263
|
+
r"""cfgNumAlgs(pcfg) -> int"""
|
|
264
|
+
return _cfgmcc.cfgNumAlgs(pcfg)
|
|
265
|
+
|
|
266
|
+
def cfgDefaultAlg(pcfg, proc):
|
|
267
|
+
r"""cfgDefaultAlg(pcfg, proc) -> int"""
|
|
268
|
+
return _cfgmcc.cfgDefaultAlg(pcfg, proc)
|
|
269
|
+
|
|
270
|
+
def cfgAlgName(pcfg, alg):
|
|
271
|
+
r"""cfgAlgName(pcfg, alg) -> char *"""
|
|
272
|
+
return _cfgmcc.cfgAlgName(pcfg, alg)
|
|
273
|
+
|
|
274
|
+
def cfgAlgCode(pcfg, alg):
|
|
275
|
+
r"""cfgAlgCode(pcfg, alg) -> char *"""
|
|
276
|
+
return _cfgmcc.cfgAlgCode(pcfg, alg)
|
|
277
|
+
|
|
278
|
+
def cfgAlgHidden(pcfg, alg):
|
|
279
|
+
r"""cfgAlgHidden(pcfg, alg) -> int"""
|
|
280
|
+
return _cfgmcc.cfgAlgHidden(pcfg, alg)
|
|
281
|
+
|
|
282
|
+
def cfgAlgAllowsModifyProblem(pcfg, alg):
|
|
283
|
+
r"""cfgAlgAllowsModifyProblem(pcfg, alg) -> int"""
|
|
284
|
+
return _cfgmcc.cfgAlgAllowsModifyProblem(pcfg, alg)
|
|
285
|
+
|
|
286
|
+
def cfgAlgLibInfo(pcfg, alg):
|
|
287
|
+
r"""cfgAlgLibInfo(pcfg, alg) -> int"""
|
|
288
|
+
return _cfgmcc.cfgAlgLibInfo(pcfg, alg)
|
|
289
|
+
|
|
290
|
+
def cfgAlgThreadSafeIndic(pcfg, alg):
|
|
291
|
+
r"""cfgAlgThreadSafeIndic(pcfg, alg) -> int"""
|
|
292
|
+
return _cfgmcc.cfgAlgThreadSafeIndic(pcfg, alg)
|
|
293
|
+
|
|
294
|
+
def cfgAlgNumber(pcfg, id):
|
|
295
|
+
r"""cfgAlgNumber(pcfg, id) -> int"""
|
|
296
|
+
return _cfgmcc.cfgAlgNumber(pcfg, id)
|
|
297
|
+
|
|
298
|
+
def cfgAlgCapability(pcfg, alg, proc):
|
|
299
|
+
r"""cfgAlgCapability(pcfg, alg, proc) -> int"""
|
|
300
|
+
return _cfgmcc.cfgAlgCapability(pcfg, alg, proc)
|
|
301
|
+
|
|
302
|
+
def cfgAlgCreate(pcfg, alg, psl, sysDir):
|
|
303
|
+
r"""cfgAlgCreate(pcfg, alg, psl, sysDir) -> int"""
|
|
304
|
+
return _cfgmcc.cfgAlgCreate(pcfg, alg, psl, sysDir)
|
|
305
|
+
|
|
306
|
+
def cfgAlgReadyAPI(pcfg, alg, psl, gmo):
|
|
307
|
+
r"""cfgAlgReadyAPI(pcfg, alg, psl, gmo) -> int"""
|
|
308
|
+
return _cfgmcc.cfgAlgReadyAPI(pcfg, alg, psl, gmo)
|
|
309
|
+
|
|
310
|
+
def cfgAlgModifyProblem(pcfg, alg, psl):
|
|
311
|
+
r"""cfgAlgModifyProblem(pcfg, alg, psl) -> int"""
|
|
312
|
+
return _cfgmcc.cfgAlgModifyProblem(pcfg, alg, psl)
|
|
313
|
+
|
|
314
|
+
def cfgAlgCallSolver(pcfg, alg, psl, gmo):
|
|
315
|
+
r"""cfgAlgCallSolver(pcfg, alg, psl, gmo) -> int"""
|
|
316
|
+
return _cfgmcc.cfgAlgCallSolver(pcfg, alg, psl, gmo)
|
|
317
|
+
|
|
318
|
+
def cfgAlgFree(pcfg, alg, vpsl):
|
|
319
|
+
r"""cfgAlgFree(pcfg, alg, vpsl)"""
|
|
320
|
+
return _cfgmcc.cfgAlgFree(pcfg, alg, vpsl)
|
|
321
|
+
|
|
322
|
+
def cfgDefFileName(pcfg, id):
|
|
323
|
+
r"""cfgDefFileName(pcfg, id) -> int"""
|
|
324
|
+
return _cfgmcc.cfgDefFileName(pcfg, id)
|
|
325
|
+
|
|
326
|
+
def cfgModelTypeName(pcfg, proc):
|
|
327
|
+
r"""cfgModelTypeName(pcfg, proc) -> char *"""
|
|
328
|
+
return _cfgmcc.cfgModelTypeName(pcfg, proc)
|
|
329
|
+
|
|
330
|
+
def cfgModelTypeNumber(pcfg, id):
|
|
331
|
+
r"""cfgModelTypeNumber(pcfg, id) -> int"""
|
|
332
|
+
return _cfgmcc.cfgModelTypeNumber(pcfg, id)
|
|
333
|
+
|
|
334
|
+
def cfgNumMsg(pcfg):
|
|
335
|
+
r"""cfgNumMsg(pcfg) -> int"""
|
|
336
|
+
return _cfgmcc.cfgNumMsg(pcfg)
|
|
337
|
+
|
|
338
|
+
def cfgGetMsg(pcfg):
|
|
339
|
+
r"""cfgGetMsg(pcfg) -> char *"""
|
|
340
|
+
return _cfgmcc.cfgGetMsg(pcfg)
|
|
341
|
+
GLOBAL_MAX_INDEX_DIM = _cfgmcc.GLOBAL_MAX_INDEX_DIM
|
|
342
|
+
|
|
343
|
+
GLOBAL_UEL_IDENT_SIZE = _cfgmcc.GLOBAL_UEL_IDENT_SIZE
|
|
344
|
+
|
|
345
|
+
ITERLIM_INFINITY = _cfgmcc.ITERLIM_INFINITY
|
|
346
|
+
|
|
347
|
+
RESLIM_INFINITY = _cfgmcc.RESLIM_INFINITY
|
|
348
|
+
|
|
349
|
+
GMS_MAX_SOLVERS = _cfgmcc.GMS_MAX_SOLVERS
|
|
350
|
+
|
|
351
|
+
GMS_MAX_INDEX_DIM = _cfgmcc.GMS_MAX_INDEX_DIM
|
|
352
|
+
|
|
353
|
+
GMS_UEL_IDENT_SIZE = _cfgmcc.GMS_UEL_IDENT_SIZE
|
|
354
|
+
|
|
355
|
+
GMS_SSSIZE = _cfgmcc.GMS_SSSIZE
|
|
356
|
+
|
|
357
|
+
GMS_VARTYPE_UNKNOWN = _cfgmcc.GMS_VARTYPE_UNKNOWN
|
|
358
|
+
|
|
359
|
+
GMS_VARTYPE_BINARY = _cfgmcc.GMS_VARTYPE_BINARY
|
|
360
|
+
|
|
361
|
+
GMS_VARTYPE_INTEGER = _cfgmcc.GMS_VARTYPE_INTEGER
|
|
362
|
+
|
|
363
|
+
GMS_VARTYPE_POSITIVE = _cfgmcc.GMS_VARTYPE_POSITIVE
|
|
364
|
+
|
|
365
|
+
GMS_VARTYPE_NEGATIVE = _cfgmcc.GMS_VARTYPE_NEGATIVE
|
|
366
|
+
|
|
367
|
+
GMS_VARTYPE_FREE = _cfgmcc.GMS_VARTYPE_FREE
|
|
368
|
+
|
|
369
|
+
GMS_VARTYPE_SOS1 = _cfgmcc.GMS_VARTYPE_SOS1
|
|
370
|
+
|
|
371
|
+
GMS_VARTYPE_SOS2 = _cfgmcc.GMS_VARTYPE_SOS2
|
|
372
|
+
|
|
373
|
+
GMS_VARTYPE_SEMICONT = _cfgmcc.GMS_VARTYPE_SEMICONT
|
|
374
|
+
|
|
375
|
+
GMS_VARTYPE_SEMIINT = _cfgmcc.GMS_VARTYPE_SEMIINT
|
|
376
|
+
|
|
377
|
+
GMS_VARTYPE_MAX = _cfgmcc.GMS_VARTYPE_MAX
|
|
378
|
+
|
|
379
|
+
GMS_EQU_USERINFO_BASE = _cfgmcc.GMS_EQU_USERINFO_BASE
|
|
380
|
+
|
|
381
|
+
GMS_EQUTYPE_E = _cfgmcc.GMS_EQUTYPE_E
|
|
382
|
+
|
|
383
|
+
GMS_EQUTYPE_G = _cfgmcc.GMS_EQUTYPE_G
|
|
384
|
+
|
|
385
|
+
GMS_EQUTYPE_L = _cfgmcc.GMS_EQUTYPE_L
|
|
386
|
+
|
|
387
|
+
GMS_EQUTYPE_N = _cfgmcc.GMS_EQUTYPE_N
|
|
388
|
+
|
|
389
|
+
GMS_EQUTYPE_X = _cfgmcc.GMS_EQUTYPE_X
|
|
390
|
+
|
|
391
|
+
GMS_EQUTYPE_C = _cfgmcc.GMS_EQUTYPE_C
|
|
392
|
+
|
|
393
|
+
GMS_EQUTYPE_B = _cfgmcc.GMS_EQUTYPE_B
|
|
394
|
+
|
|
395
|
+
GMS_EQUTYPE_MAX = _cfgmcc.GMS_EQUTYPE_MAX
|
|
396
|
+
|
|
397
|
+
GMS_EQUEOFFSET = _cfgmcc.GMS_EQUEOFFSET
|
|
398
|
+
|
|
399
|
+
GMS_SETTYPE_DEFAULT = _cfgmcc.GMS_SETTYPE_DEFAULT
|
|
400
|
+
|
|
401
|
+
GMS_SETTYPE_SINGLETON = _cfgmcc.GMS_SETTYPE_SINGLETON
|
|
402
|
+
|
|
403
|
+
GMS_SETTYPE_MAX = _cfgmcc.GMS_SETTYPE_MAX
|
|
404
|
+
|
|
405
|
+
GMS_VAL_LEVEL = _cfgmcc.GMS_VAL_LEVEL
|
|
406
|
+
|
|
407
|
+
GMS_VAL_MARGINAL = _cfgmcc.GMS_VAL_MARGINAL
|
|
408
|
+
|
|
409
|
+
GMS_VAL_LOWER = _cfgmcc.GMS_VAL_LOWER
|
|
410
|
+
|
|
411
|
+
GMS_VAL_UPPER = _cfgmcc.GMS_VAL_UPPER
|
|
412
|
+
|
|
413
|
+
GMS_VAL_SCALE = _cfgmcc.GMS_VAL_SCALE
|
|
414
|
+
|
|
415
|
+
GMS_VAL_MAX = _cfgmcc.GMS_VAL_MAX
|
|
416
|
+
|
|
417
|
+
sv_valund = _cfgmcc.sv_valund
|
|
418
|
+
|
|
419
|
+
sv_valna = _cfgmcc.sv_valna
|
|
420
|
+
|
|
421
|
+
sv_valpin = _cfgmcc.sv_valpin
|
|
422
|
+
|
|
423
|
+
sv_valmin = _cfgmcc.sv_valmin
|
|
424
|
+
|
|
425
|
+
sv_valeps = _cfgmcc.sv_valeps
|
|
426
|
+
|
|
427
|
+
sv_normal = _cfgmcc.sv_normal
|
|
428
|
+
|
|
429
|
+
sv_acronym = _cfgmcc.sv_acronym
|
|
430
|
+
|
|
431
|
+
GMS_SVIDX_UNDEF = _cfgmcc.GMS_SVIDX_UNDEF
|
|
432
|
+
|
|
433
|
+
GMS_SVIDX_NA = _cfgmcc.GMS_SVIDX_NA
|
|
434
|
+
|
|
435
|
+
GMS_SVIDX_PINF = _cfgmcc.GMS_SVIDX_PINF
|
|
436
|
+
|
|
437
|
+
GMS_SVIDX_MINF = _cfgmcc.GMS_SVIDX_MINF
|
|
438
|
+
|
|
439
|
+
GMS_SVIDX_EPS = _cfgmcc.GMS_SVIDX_EPS
|
|
440
|
+
|
|
441
|
+
GMS_SVIDX_NORMAL = _cfgmcc.GMS_SVIDX_NORMAL
|
|
442
|
+
|
|
443
|
+
GMS_SVIDX_ACR = _cfgmcc.GMS_SVIDX_ACR
|
|
444
|
+
|
|
445
|
+
GMS_SVIDX_MAX = _cfgmcc.GMS_SVIDX_MAX
|
|
446
|
+
|
|
447
|
+
dt_set = _cfgmcc.dt_set
|
|
448
|
+
|
|
449
|
+
dt_par = _cfgmcc.dt_par
|
|
450
|
+
|
|
451
|
+
dt_var = _cfgmcc.dt_var
|
|
452
|
+
|
|
453
|
+
dt_equ = _cfgmcc.dt_equ
|
|
454
|
+
|
|
455
|
+
dt_alias = _cfgmcc.dt_alias
|
|
456
|
+
|
|
457
|
+
GMS_DT_SET = _cfgmcc.GMS_DT_SET
|
|
458
|
+
|
|
459
|
+
GMS_DT_PAR = _cfgmcc.GMS_DT_PAR
|
|
460
|
+
|
|
461
|
+
GMS_DT_VAR = _cfgmcc.GMS_DT_VAR
|
|
462
|
+
|
|
463
|
+
GMS_DT_EQU = _cfgmcc.GMS_DT_EQU
|
|
464
|
+
|
|
465
|
+
GMS_DT_ALIAS = _cfgmcc.GMS_DT_ALIAS
|
|
466
|
+
|
|
467
|
+
GMS_DT_MAX = _cfgmcc.GMS_DT_MAX
|
|
468
|
+
|
|
469
|
+
GMS_SV_UNDEF = _cfgmcc.GMS_SV_UNDEF
|
|
470
|
+
|
|
471
|
+
GMS_SV_NA = _cfgmcc.GMS_SV_NA
|
|
472
|
+
|
|
473
|
+
GMS_SV_PINF = _cfgmcc.GMS_SV_PINF
|
|
474
|
+
|
|
475
|
+
GMS_SV_MINF = _cfgmcc.GMS_SV_MINF
|
|
476
|
+
|
|
477
|
+
GMS_SV_EPS = _cfgmcc.GMS_SV_EPS
|
|
478
|
+
|
|
479
|
+
GMS_SV_ACR = _cfgmcc.GMS_SV_ACR
|
|
480
|
+
|
|
481
|
+
GMS_SV_NAINT = _cfgmcc.GMS_SV_NAINT
|
|
482
|
+
|
|
483
|
+
STAT_OK = _cfgmcc.STAT_OK
|
|
484
|
+
|
|
485
|
+
STAT_NOPT = _cfgmcc.STAT_NOPT
|
|
486
|
+
|
|
487
|
+
STAT_INFES = _cfgmcc.STAT_INFES
|
|
488
|
+
|
|
489
|
+
STAT_UNBND = _cfgmcc.STAT_UNBND
|
|
490
|
+
|
|
491
|
+
STAT_EVAL = _cfgmcc.STAT_EVAL
|
|
492
|
+
|
|
493
|
+
STAT_UNKNW = _cfgmcc.STAT_UNKNW
|
|
494
|
+
|
|
495
|
+
STAT_REDEF = _cfgmcc.STAT_REDEF
|
|
496
|
+
|
|
497
|
+
STAT_DEPND = _cfgmcc.STAT_DEPND
|
|
498
|
+
|
|
499
|
+
STAT_REDIR = _cfgmcc.STAT_REDIR
|
|
500
|
+
|
|
501
|
+
STAT_MAX = _cfgmcc.STAT_MAX
|
|
502
|
+
|
|
503
|
+
SS_MAX = _cfgmcc.SS_MAX
|
|
504
|
+
|
|
505
|
+
MS_MAX = _cfgmcc.MS_MAX
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
cvar = _cfgmcc.cvar
|
|
509
|
+
gmsGdxTypeText = cvar.gmsGdxTypeText
|
|
510
|
+
gmsVarTypeText = cvar.gmsVarTypeText
|
|
511
|
+
gmsValTypeText = cvar.gmsValTypeText
|
|
512
|
+
gmsSVText = cvar.gmsSVText
|
|
513
|
+
gmsSpecialValues = cvar.gmsSpecialValues
|
|
514
|
+
gmsDefRecVar = cvar.gmsDefRecVar
|
|
515
|
+
gmsDefRecEqu = cvar.gmsDefRecEqu
|
|
516
|
+
rcStat = cvar.rcStat
|
|
517
|
+
solveStatusTxt = cvar.solveStatusTxt
|
|
518
|
+
modelStatusTxt = cvar.modelStatusTxt
|
|
519
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#
|
|
2
|
+
# GAMS - General Algebraic Modeling System Python API
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2017-2026 GAMS Development Corp. <support@gams.com>
|
|
5
|
+
# Copyright (c) 2017-2026 GAMS Software GmbH <support@gams.com>
|
|
6
|
+
#
|
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
# furnished to do so, subject to the following conditions:
|
|
13
|
+
#
|
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
# copies or substantial portions of the Software.
|
|
16
|
+
#
|
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
# SOFTWARE.
|
|
24
|
+
#
|
|
25
|
+
|
|
26
|
+
from gams.core.dct.dctmcc import *
|
|
Binary file
|