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/dct/dctmcc.py
ADDED
|
@@ -0,0 +1,574 @@
|
|
|
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.dct import _dctmcc
|
|
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
|
+
dctunknownSymType = _dctmcc.dctunknownSymType
|
|
58
|
+
dctfuncSymType = _dctmcc.dctfuncSymType
|
|
59
|
+
dctsetSymType = _dctmcc.dctsetSymType
|
|
60
|
+
dctacrSymType = _dctmcc.dctacrSymType
|
|
61
|
+
dctparmSymType = _dctmcc.dctparmSymType
|
|
62
|
+
dctvarSymType = _dctmcc.dctvarSymType
|
|
63
|
+
dcteqnSymType = _dctmcc.dcteqnSymType
|
|
64
|
+
dctaliasSymType = _dctmcc.dctaliasSymType
|
|
65
|
+
class intArray(object):
|
|
66
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
67
|
+
__repr__ = _swig_repr
|
|
68
|
+
|
|
69
|
+
def __init__(self, nelements):
|
|
70
|
+
_dctmcc.intArray_swiginit(self, _dctmcc.new_intArray(nelements))
|
|
71
|
+
__swig_destroy__ = _dctmcc.delete_intArray
|
|
72
|
+
|
|
73
|
+
def __getitem__(self, index):
|
|
74
|
+
return _dctmcc.intArray___getitem__(self, index)
|
|
75
|
+
|
|
76
|
+
def __setitem__(self, index, value):
|
|
77
|
+
return _dctmcc.intArray___setitem__(self, index, value)
|
|
78
|
+
|
|
79
|
+
def cast(self):
|
|
80
|
+
return _dctmcc.intArray_cast(self)
|
|
81
|
+
|
|
82
|
+
@staticmethod
|
|
83
|
+
def frompointer(t):
|
|
84
|
+
return _dctmcc.intArray_frompointer(t)
|
|
85
|
+
|
|
86
|
+
# Register intArray in _dctmcc:
|
|
87
|
+
_dctmcc.intArray_swigregister(intArray)
|
|
88
|
+
class doubleArray(object):
|
|
89
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
90
|
+
__repr__ = _swig_repr
|
|
91
|
+
|
|
92
|
+
def __init__(self, nelements):
|
|
93
|
+
_dctmcc.doubleArray_swiginit(self, _dctmcc.new_doubleArray(nelements))
|
|
94
|
+
__swig_destroy__ = _dctmcc.delete_doubleArray
|
|
95
|
+
|
|
96
|
+
def __getitem__(self, index):
|
|
97
|
+
return _dctmcc.doubleArray___getitem__(self, index)
|
|
98
|
+
|
|
99
|
+
def __setitem__(self, index, value):
|
|
100
|
+
return _dctmcc.doubleArray___setitem__(self, index, value)
|
|
101
|
+
|
|
102
|
+
def cast(self):
|
|
103
|
+
return _dctmcc.doubleArray_cast(self)
|
|
104
|
+
|
|
105
|
+
@staticmethod
|
|
106
|
+
def frompointer(t):
|
|
107
|
+
return _dctmcc.doubleArray_frompointer(t)
|
|
108
|
+
|
|
109
|
+
# Register doubleArray in _dctmcc:
|
|
110
|
+
_dctmcc.doubleArray_swigregister(doubleArray)
|
|
111
|
+
|
|
112
|
+
def new_intp():
|
|
113
|
+
return _dctmcc.new_intp()
|
|
114
|
+
|
|
115
|
+
def copy_intp(value):
|
|
116
|
+
return _dctmcc.copy_intp(value)
|
|
117
|
+
|
|
118
|
+
def delete_intp(obj):
|
|
119
|
+
return _dctmcc.delete_intp(obj)
|
|
120
|
+
|
|
121
|
+
def intp_assign(obj, value):
|
|
122
|
+
return _dctmcc.intp_assign(obj, value)
|
|
123
|
+
|
|
124
|
+
def intp_value(obj):
|
|
125
|
+
return _dctmcc.intp_value(obj)
|
|
126
|
+
|
|
127
|
+
def new_doublep():
|
|
128
|
+
return _dctmcc.new_doublep()
|
|
129
|
+
|
|
130
|
+
def copy_doublep(value):
|
|
131
|
+
return _dctmcc.copy_doublep(value)
|
|
132
|
+
|
|
133
|
+
def delete_doublep(obj):
|
|
134
|
+
return _dctmcc.delete_doublep(obj)
|
|
135
|
+
|
|
136
|
+
def doublep_assign(obj, value):
|
|
137
|
+
return _dctmcc.doublep_assign(obj, value)
|
|
138
|
+
|
|
139
|
+
def doublep_value(obj):
|
|
140
|
+
return _dctmcc.doublep_value(obj)
|
|
141
|
+
|
|
142
|
+
def new_dctHandle_tp():
|
|
143
|
+
return _dctmcc.new_dctHandle_tp()
|
|
144
|
+
|
|
145
|
+
def copy_dctHandle_tp(value):
|
|
146
|
+
return _dctmcc.copy_dctHandle_tp(value)
|
|
147
|
+
|
|
148
|
+
def delete_dctHandle_tp(obj):
|
|
149
|
+
return _dctmcc.delete_dctHandle_tp(obj)
|
|
150
|
+
|
|
151
|
+
def dctHandle_tp_assign(obj, value):
|
|
152
|
+
return _dctmcc.dctHandle_tp_assign(obj, value)
|
|
153
|
+
|
|
154
|
+
def dctHandle_tp_value(obj):
|
|
155
|
+
return _dctmcc.dctHandle_tp_value(obj)
|
|
156
|
+
|
|
157
|
+
def dctHandleToPtr(pdct):
|
|
158
|
+
r"""dctHandleToPtr(pdct) -> void *"""
|
|
159
|
+
return _dctmcc.dctHandleToPtr(pdct)
|
|
160
|
+
|
|
161
|
+
def ptrTodctHandle(vptr):
|
|
162
|
+
r"""ptrTodctHandle(vptr) -> dctHandle_t"""
|
|
163
|
+
return _dctmcc.ptrTodctHandle(vptr)
|
|
164
|
+
|
|
165
|
+
def dctGetReady(msgBufSize):
|
|
166
|
+
r"""dctGetReady(msgBufSize) -> int"""
|
|
167
|
+
return _dctmcc.dctGetReady(msgBufSize)
|
|
168
|
+
|
|
169
|
+
def dctGetReadyD(dirName, msgBufSize):
|
|
170
|
+
r"""dctGetReadyD(dirName, msgBufSize) -> int"""
|
|
171
|
+
return _dctmcc.dctGetReadyD(dirName, msgBufSize)
|
|
172
|
+
|
|
173
|
+
def dctGetReadyL(libName, msgBufSize):
|
|
174
|
+
r"""dctGetReadyL(libName, msgBufSize) -> int"""
|
|
175
|
+
return _dctmcc.dctGetReadyL(libName, msgBufSize)
|
|
176
|
+
|
|
177
|
+
def dctCreate(pdct, msgBufSize):
|
|
178
|
+
r"""dctCreate(pdct, msgBufSize) -> int"""
|
|
179
|
+
return _dctmcc.dctCreate(pdct, msgBufSize)
|
|
180
|
+
|
|
181
|
+
def dctCreateD(pdct, dirName, msgBufSize):
|
|
182
|
+
r"""dctCreateD(pdct, dirName, msgBufSize) -> int"""
|
|
183
|
+
return _dctmcc.dctCreateD(pdct, dirName, msgBufSize)
|
|
184
|
+
|
|
185
|
+
def dctCreateDD(pdct, dirName, msgBufSize):
|
|
186
|
+
r"""dctCreateDD(pdct, dirName, msgBufSize) -> int"""
|
|
187
|
+
return _dctmcc.dctCreateDD(pdct, dirName, msgBufSize)
|
|
188
|
+
|
|
189
|
+
def dctCreateL(pdct, libName, msgBufSize):
|
|
190
|
+
r"""dctCreateL(pdct, libName, msgBufSize) -> int"""
|
|
191
|
+
return _dctmcc.dctCreateL(pdct, libName, msgBufSize)
|
|
192
|
+
|
|
193
|
+
def dctFree(pdct):
|
|
194
|
+
r"""dctFree(pdct) -> int"""
|
|
195
|
+
return _dctmcc.dctFree(pdct)
|
|
196
|
+
|
|
197
|
+
def dctLibraryLoaded():
|
|
198
|
+
r"""dctLibraryLoaded() -> int"""
|
|
199
|
+
return _dctmcc.dctLibraryLoaded()
|
|
200
|
+
|
|
201
|
+
def dctLibraryUnload():
|
|
202
|
+
r"""dctLibraryUnload() -> int"""
|
|
203
|
+
return _dctmcc.dctLibraryUnload()
|
|
204
|
+
|
|
205
|
+
def dctGetScreenIndicator():
|
|
206
|
+
r"""dctGetScreenIndicator() -> int"""
|
|
207
|
+
return _dctmcc.dctGetScreenIndicator()
|
|
208
|
+
|
|
209
|
+
def dctSetScreenIndicator(scrind):
|
|
210
|
+
r"""dctSetScreenIndicator(scrind)"""
|
|
211
|
+
return _dctmcc.dctSetScreenIndicator(scrind)
|
|
212
|
+
|
|
213
|
+
def dctGetExceptionIndicator():
|
|
214
|
+
r"""dctGetExceptionIndicator() -> int"""
|
|
215
|
+
return _dctmcc.dctGetExceptionIndicator()
|
|
216
|
+
|
|
217
|
+
def dctSetExceptionIndicator(excind):
|
|
218
|
+
r"""dctSetExceptionIndicator(excind)"""
|
|
219
|
+
return _dctmcc.dctSetExceptionIndicator(excind)
|
|
220
|
+
|
|
221
|
+
def dctGetExitIndicator():
|
|
222
|
+
r"""dctGetExitIndicator() -> int"""
|
|
223
|
+
return _dctmcc.dctGetExitIndicator()
|
|
224
|
+
|
|
225
|
+
def dctSetExitIndicator(extind):
|
|
226
|
+
r"""dctSetExitIndicator(extind)"""
|
|
227
|
+
return _dctmcc.dctSetExitIndicator(extind)
|
|
228
|
+
|
|
229
|
+
def dctGetErrorCallback():
|
|
230
|
+
r"""dctGetErrorCallback() -> dctErrorCallback_t"""
|
|
231
|
+
return _dctmcc.dctGetErrorCallback()
|
|
232
|
+
|
|
233
|
+
def dctSetErrorCallback(func):
|
|
234
|
+
r"""dctSetErrorCallback(func)"""
|
|
235
|
+
return _dctmcc.dctSetErrorCallback(func)
|
|
236
|
+
|
|
237
|
+
def dctGetAPIErrorCount():
|
|
238
|
+
r"""dctGetAPIErrorCount() -> int"""
|
|
239
|
+
return _dctmcc.dctGetAPIErrorCount()
|
|
240
|
+
|
|
241
|
+
def dctSetAPIErrorCount(ecnt):
|
|
242
|
+
r"""dctSetAPIErrorCount(ecnt)"""
|
|
243
|
+
return _dctmcc.dctSetAPIErrorCount(ecnt)
|
|
244
|
+
|
|
245
|
+
def dctErrorHandling(msg):
|
|
246
|
+
r"""dctErrorHandling(msg)"""
|
|
247
|
+
return _dctmcc.dctErrorHandling(msg)
|
|
248
|
+
|
|
249
|
+
def dctLoadEx(pdct, fName, Msg_i):
|
|
250
|
+
r"""dctLoadEx(pdct, fName, Msg_i) -> int"""
|
|
251
|
+
return _dctmcc.dctLoadEx(pdct, fName, Msg_i)
|
|
252
|
+
|
|
253
|
+
def dctLoadWithHandle(pdct, gdxptr, Msg_i):
|
|
254
|
+
r"""dctLoadWithHandle(pdct, gdxptr, Msg_i) -> int"""
|
|
255
|
+
return _dctmcc.dctLoadWithHandle(pdct, gdxptr, Msg_i)
|
|
256
|
+
|
|
257
|
+
def dctNUels(pdct):
|
|
258
|
+
r"""dctNUels(pdct) -> int"""
|
|
259
|
+
return _dctmcc.dctNUels(pdct)
|
|
260
|
+
|
|
261
|
+
def dctUelIndex(pdct, uelLabel):
|
|
262
|
+
r"""dctUelIndex(pdct, uelLabel) -> int"""
|
|
263
|
+
return _dctmcc.dctUelIndex(pdct, uelLabel)
|
|
264
|
+
|
|
265
|
+
def dctUelLabel(pdct, uelIndex, q_mut, uelLabel_i):
|
|
266
|
+
r"""dctUelLabel(pdct, uelIndex, q_mut, uelLabel_i) -> int"""
|
|
267
|
+
return _dctmcc.dctUelLabel(pdct, uelIndex, q_mut, uelLabel_i)
|
|
268
|
+
|
|
269
|
+
def dctNLSyms(pdct):
|
|
270
|
+
r"""dctNLSyms(pdct) -> int"""
|
|
271
|
+
return _dctmcc.dctNLSyms(pdct)
|
|
272
|
+
|
|
273
|
+
def dctSymDim(pdct, symIndex):
|
|
274
|
+
r"""dctSymDim(pdct, symIndex) -> int"""
|
|
275
|
+
return _dctmcc.dctSymDim(pdct, symIndex)
|
|
276
|
+
|
|
277
|
+
def dctSymIndex(pdct, symName):
|
|
278
|
+
r"""dctSymIndex(pdct, symName) -> int"""
|
|
279
|
+
return _dctmcc.dctSymIndex(pdct, symName)
|
|
280
|
+
|
|
281
|
+
def dctSymName(pdct, symIndex, symName_i):
|
|
282
|
+
r"""dctSymName(pdct, symIndex, symName_i) -> int"""
|
|
283
|
+
return _dctmcc.dctSymName(pdct, symIndex, symName_i)
|
|
284
|
+
|
|
285
|
+
def dctSymText(pdct, symIndex, q_mut, symTxt_i):
|
|
286
|
+
r"""dctSymText(pdct, symIndex, q_mut, symTxt_i) -> int"""
|
|
287
|
+
return _dctmcc.dctSymText(pdct, symIndex, q_mut, symTxt_i)
|
|
288
|
+
|
|
289
|
+
def dctSymType(pdct, symIndex):
|
|
290
|
+
r"""dctSymType(pdct, symIndex) -> int"""
|
|
291
|
+
return _dctmcc.dctSymType(pdct, symIndex)
|
|
292
|
+
|
|
293
|
+
def dctSymUserInfo(pdct, symIndex):
|
|
294
|
+
r"""dctSymUserInfo(pdct, symIndex) -> int"""
|
|
295
|
+
return _dctmcc.dctSymUserInfo(pdct, symIndex)
|
|
296
|
+
|
|
297
|
+
def dctSymEntries(pdct, symIndex):
|
|
298
|
+
r"""dctSymEntries(pdct, symIndex) -> int"""
|
|
299
|
+
return _dctmcc.dctSymEntries(pdct, symIndex)
|
|
300
|
+
|
|
301
|
+
def dctSymOffset(pdct, symIndex):
|
|
302
|
+
r"""dctSymOffset(pdct, symIndex) -> int"""
|
|
303
|
+
return _dctmcc.dctSymOffset(pdct, symIndex)
|
|
304
|
+
|
|
305
|
+
def dctSymDomNames(pdct, symIndex):
|
|
306
|
+
r"""dctSymDomNames(pdct, symIndex) -> int"""
|
|
307
|
+
return _dctmcc.dctSymDomNames(pdct, symIndex)
|
|
308
|
+
|
|
309
|
+
def dctSymDomIdx(pdct, symIndex):
|
|
310
|
+
r"""dctSymDomIdx(pdct, symIndex) -> int"""
|
|
311
|
+
return _dctmcc.dctSymDomIdx(pdct, symIndex)
|
|
312
|
+
|
|
313
|
+
def dctDomNameCount(pdct):
|
|
314
|
+
r"""dctDomNameCount(pdct) -> int"""
|
|
315
|
+
return _dctmcc.dctDomNameCount(pdct)
|
|
316
|
+
|
|
317
|
+
def dctDomName(pdct, domIndex, domName_i):
|
|
318
|
+
r"""dctDomName(pdct, domIndex, domName_i) -> int"""
|
|
319
|
+
return _dctmcc.dctDomName(pdct, domIndex, domName_i)
|
|
320
|
+
|
|
321
|
+
def dctColIndex(pdct, symIndex, uelIndices):
|
|
322
|
+
r"""dctColIndex(pdct, symIndex, uelIndices) -> int"""
|
|
323
|
+
return _dctmcc.dctColIndex(pdct, symIndex, uelIndices)
|
|
324
|
+
|
|
325
|
+
def dctRowIndex(pdct, symIndex, uelIndices):
|
|
326
|
+
r"""dctRowIndex(pdct, symIndex, uelIndices) -> int"""
|
|
327
|
+
return _dctmcc.dctRowIndex(pdct, symIndex, uelIndices)
|
|
328
|
+
|
|
329
|
+
def dctColUels(pdct, j):
|
|
330
|
+
r"""dctColUels(pdct, j) -> int"""
|
|
331
|
+
return _dctmcc.dctColUels(pdct, j)
|
|
332
|
+
|
|
333
|
+
def dctRowUels(pdct, i):
|
|
334
|
+
r"""dctRowUels(pdct, i) -> int"""
|
|
335
|
+
return _dctmcc.dctRowUels(pdct, i)
|
|
336
|
+
|
|
337
|
+
def dctFindFirstRowCol(pdct, symIndex, uelIndices):
|
|
338
|
+
r"""dctFindFirstRowCol(pdct, symIndex, uelIndices) -> void *"""
|
|
339
|
+
return _dctmcc.dctFindFirstRowCol(pdct, symIndex, uelIndices)
|
|
340
|
+
|
|
341
|
+
def dctFindNextRowCol(pdct, findHandle):
|
|
342
|
+
r"""dctFindNextRowCol(pdct, findHandle) -> int"""
|
|
343
|
+
return _dctmcc.dctFindNextRowCol(pdct, findHandle)
|
|
344
|
+
|
|
345
|
+
def dctFindClose(pdct, findHandle):
|
|
346
|
+
r"""dctFindClose(pdct, findHandle)"""
|
|
347
|
+
return _dctmcc.dctFindClose(pdct, findHandle)
|
|
348
|
+
|
|
349
|
+
def dctMemUsed(pdct):
|
|
350
|
+
r"""dctMemUsed(pdct) -> double"""
|
|
351
|
+
return _dctmcc.dctMemUsed(pdct)
|
|
352
|
+
|
|
353
|
+
def dctSetBasicCounts(pdct, NRows, NCols, NBlocks):
|
|
354
|
+
r"""dctSetBasicCounts(pdct, NRows, NCols, NBlocks)"""
|
|
355
|
+
return _dctmcc.dctSetBasicCounts(pdct, NRows, NCols, NBlocks)
|
|
356
|
+
|
|
357
|
+
def dctSetBasicCountsEx(pdct, NRows, NCols, NBlocks, Msg_i):
|
|
358
|
+
r"""dctSetBasicCountsEx(pdct, NRows, NCols, NBlocks, Msg_i) -> int"""
|
|
359
|
+
return _dctmcc.dctSetBasicCountsEx(pdct, NRows, NCols, NBlocks, Msg_i)
|
|
360
|
+
|
|
361
|
+
def dctAddUel(pdct, uelLabel, q):
|
|
362
|
+
r"""dctAddUel(pdct, uelLabel, q)"""
|
|
363
|
+
return _dctmcc.dctAddUel(pdct, uelLabel, q)
|
|
364
|
+
|
|
365
|
+
def dctAddSymbol(pdct, symName, symTyp, symDim, userInfo, symTxt):
|
|
366
|
+
r"""dctAddSymbol(pdct, symName, symTyp, symDim, userInfo, symTxt)"""
|
|
367
|
+
return _dctmcc.dctAddSymbol(pdct, symName, symTyp, symDim, userInfo, symTxt)
|
|
368
|
+
|
|
369
|
+
def dctAddSymbolData(pdct, uelIndices):
|
|
370
|
+
r"""dctAddSymbolData(pdct, uelIndices)"""
|
|
371
|
+
return _dctmcc.dctAddSymbolData(pdct, uelIndices)
|
|
372
|
+
|
|
373
|
+
def dctAddSymbolDoms(pdct, symName, symDoms_in, symDim, Msg_i):
|
|
374
|
+
r"""dctAddSymbolDoms(pdct, symName, symDoms_in, symDim, Msg_i) -> int"""
|
|
375
|
+
return _dctmcc.dctAddSymbolDoms(pdct, symName, symDoms_in, symDim, Msg_i)
|
|
376
|
+
|
|
377
|
+
def dctWriteGDX(pdct, fName):
|
|
378
|
+
r"""dctWriteGDX(pdct, fName)"""
|
|
379
|
+
return _dctmcc.dctWriteGDX(pdct, fName)
|
|
380
|
+
|
|
381
|
+
def dctWriteGDXWithHandle(pdct, gdxptr):
|
|
382
|
+
r"""dctWriteGDXWithHandle(pdct, gdxptr)"""
|
|
383
|
+
return _dctmcc.dctWriteGDXWithHandle(pdct, gdxptr)
|
|
384
|
+
|
|
385
|
+
def dctNRows(pdct):
|
|
386
|
+
r"""dctNRows(pdct) -> int"""
|
|
387
|
+
return _dctmcc.dctNRows(pdct)
|
|
388
|
+
|
|
389
|
+
def dctNCols(pdct):
|
|
390
|
+
r"""dctNCols(pdct) -> int"""
|
|
391
|
+
return _dctmcc.dctNCols(pdct)
|
|
392
|
+
|
|
393
|
+
def dctLrgDim(pdct):
|
|
394
|
+
r"""dctLrgDim(pdct) -> int"""
|
|
395
|
+
return _dctmcc.dctLrgDim(pdct)
|
|
396
|
+
GLOBAL_MAX_INDEX_DIM = _dctmcc.GLOBAL_MAX_INDEX_DIM
|
|
397
|
+
|
|
398
|
+
GLOBAL_UEL_IDENT_SIZE = _dctmcc.GLOBAL_UEL_IDENT_SIZE
|
|
399
|
+
|
|
400
|
+
ITERLIM_INFINITY = _dctmcc.ITERLIM_INFINITY
|
|
401
|
+
|
|
402
|
+
RESLIM_INFINITY = _dctmcc.RESLIM_INFINITY
|
|
403
|
+
|
|
404
|
+
GMS_MAX_SOLVERS = _dctmcc.GMS_MAX_SOLVERS
|
|
405
|
+
|
|
406
|
+
GMS_MAX_INDEX_DIM = _dctmcc.GMS_MAX_INDEX_DIM
|
|
407
|
+
|
|
408
|
+
GMS_UEL_IDENT_SIZE = _dctmcc.GMS_UEL_IDENT_SIZE
|
|
409
|
+
|
|
410
|
+
GMS_SSSIZE = _dctmcc.GMS_SSSIZE
|
|
411
|
+
|
|
412
|
+
GMS_VARTYPE_UNKNOWN = _dctmcc.GMS_VARTYPE_UNKNOWN
|
|
413
|
+
|
|
414
|
+
GMS_VARTYPE_BINARY = _dctmcc.GMS_VARTYPE_BINARY
|
|
415
|
+
|
|
416
|
+
GMS_VARTYPE_INTEGER = _dctmcc.GMS_VARTYPE_INTEGER
|
|
417
|
+
|
|
418
|
+
GMS_VARTYPE_POSITIVE = _dctmcc.GMS_VARTYPE_POSITIVE
|
|
419
|
+
|
|
420
|
+
GMS_VARTYPE_NEGATIVE = _dctmcc.GMS_VARTYPE_NEGATIVE
|
|
421
|
+
|
|
422
|
+
GMS_VARTYPE_FREE = _dctmcc.GMS_VARTYPE_FREE
|
|
423
|
+
|
|
424
|
+
GMS_VARTYPE_SOS1 = _dctmcc.GMS_VARTYPE_SOS1
|
|
425
|
+
|
|
426
|
+
GMS_VARTYPE_SOS2 = _dctmcc.GMS_VARTYPE_SOS2
|
|
427
|
+
|
|
428
|
+
GMS_VARTYPE_SEMICONT = _dctmcc.GMS_VARTYPE_SEMICONT
|
|
429
|
+
|
|
430
|
+
GMS_VARTYPE_SEMIINT = _dctmcc.GMS_VARTYPE_SEMIINT
|
|
431
|
+
|
|
432
|
+
GMS_VARTYPE_MAX = _dctmcc.GMS_VARTYPE_MAX
|
|
433
|
+
|
|
434
|
+
GMS_EQU_USERINFO_BASE = _dctmcc.GMS_EQU_USERINFO_BASE
|
|
435
|
+
|
|
436
|
+
GMS_EQUTYPE_E = _dctmcc.GMS_EQUTYPE_E
|
|
437
|
+
|
|
438
|
+
GMS_EQUTYPE_G = _dctmcc.GMS_EQUTYPE_G
|
|
439
|
+
|
|
440
|
+
GMS_EQUTYPE_L = _dctmcc.GMS_EQUTYPE_L
|
|
441
|
+
|
|
442
|
+
GMS_EQUTYPE_N = _dctmcc.GMS_EQUTYPE_N
|
|
443
|
+
|
|
444
|
+
GMS_EQUTYPE_X = _dctmcc.GMS_EQUTYPE_X
|
|
445
|
+
|
|
446
|
+
GMS_EQUTYPE_C = _dctmcc.GMS_EQUTYPE_C
|
|
447
|
+
|
|
448
|
+
GMS_EQUTYPE_B = _dctmcc.GMS_EQUTYPE_B
|
|
449
|
+
|
|
450
|
+
GMS_EQUTYPE_MAX = _dctmcc.GMS_EQUTYPE_MAX
|
|
451
|
+
|
|
452
|
+
GMS_EQUEOFFSET = _dctmcc.GMS_EQUEOFFSET
|
|
453
|
+
|
|
454
|
+
GMS_SETTYPE_DEFAULT = _dctmcc.GMS_SETTYPE_DEFAULT
|
|
455
|
+
|
|
456
|
+
GMS_SETTYPE_SINGLETON = _dctmcc.GMS_SETTYPE_SINGLETON
|
|
457
|
+
|
|
458
|
+
GMS_SETTYPE_MAX = _dctmcc.GMS_SETTYPE_MAX
|
|
459
|
+
|
|
460
|
+
GMS_VAL_LEVEL = _dctmcc.GMS_VAL_LEVEL
|
|
461
|
+
|
|
462
|
+
GMS_VAL_MARGINAL = _dctmcc.GMS_VAL_MARGINAL
|
|
463
|
+
|
|
464
|
+
GMS_VAL_LOWER = _dctmcc.GMS_VAL_LOWER
|
|
465
|
+
|
|
466
|
+
GMS_VAL_UPPER = _dctmcc.GMS_VAL_UPPER
|
|
467
|
+
|
|
468
|
+
GMS_VAL_SCALE = _dctmcc.GMS_VAL_SCALE
|
|
469
|
+
|
|
470
|
+
GMS_VAL_MAX = _dctmcc.GMS_VAL_MAX
|
|
471
|
+
|
|
472
|
+
sv_valund = _dctmcc.sv_valund
|
|
473
|
+
|
|
474
|
+
sv_valna = _dctmcc.sv_valna
|
|
475
|
+
|
|
476
|
+
sv_valpin = _dctmcc.sv_valpin
|
|
477
|
+
|
|
478
|
+
sv_valmin = _dctmcc.sv_valmin
|
|
479
|
+
|
|
480
|
+
sv_valeps = _dctmcc.sv_valeps
|
|
481
|
+
|
|
482
|
+
sv_normal = _dctmcc.sv_normal
|
|
483
|
+
|
|
484
|
+
sv_acronym = _dctmcc.sv_acronym
|
|
485
|
+
|
|
486
|
+
GMS_SVIDX_UNDEF = _dctmcc.GMS_SVIDX_UNDEF
|
|
487
|
+
|
|
488
|
+
GMS_SVIDX_NA = _dctmcc.GMS_SVIDX_NA
|
|
489
|
+
|
|
490
|
+
GMS_SVIDX_PINF = _dctmcc.GMS_SVIDX_PINF
|
|
491
|
+
|
|
492
|
+
GMS_SVIDX_MINF = _dctmcc.GMS_SVIDX_MINF
|
|
493
|
+
|
|
494
|
+
GMS_SVIDX_EPS = _dctmcc.GMS_SVIDX_EPS
|
|
495
|
+
|
|
496
|
+
GMS_SVIDX_NORMAL = _dctmcc.GMS_SVIDX_NORMAL
|
|
497
|
+
|
|
498
|
+
GMS_SVIDX_ACR = _dctmcc.GMS_SVIDX_ACR
|
|
499
|
+
|
|
500
|
+
GMS_SVIDX_MAX = _dctmcc.GMS_SVIDX_MAX
|
|
501
|
+
|
|
502
|
+
dt_set = _dctmcc.dt_set
|
|
503
|
+
|
|
504
|
+
dt_par = _dctmcc.dt_par
|
|
505
|
+
|
|
506
|
+
dt_var = _dctmcc.dt_var
|
|
507
|
+
|
|
508
|
+
dt_equ = _dctmcc.dt_equ
|
|
509
|
+
|
|
510
|
+
dt_alias = _dctmcc.dt_alias
|
|
511
|
+
|
|
512
|
+
GMS_DT_SET = _dctmcc.GMS_DT_SET
|
|
513
|
+
|
|
514
|
+
GMS_DT_PAR = _dctmcc.GMS_DT_PAR
|
|
515
|
+
|
|
516
|
+
GMS_DT_VAR = _dctmcc.GMS_DT_VAR
|
|
517
|
+
|
|
518
|
+
GMS_DT_EQU = _dctmcc.GMS_DT_EQU
|
|
519
|
+
|
|
520
|
+
GMS_DT_ALIAS = _dctmcc.GMS_DT_ALIAS
|
|
521
|
+
|
|
522
|
+
GMS_DT_MAX = _dctmcc.GMS_DT_MAX
|
|
523
|
+
|
|
524
|
+
GMS_SV_UNDEF = _dctmcc.GMS_SV_UNDEF
|
|
525
|
+
|
|
526
|
+
GMS_SV_NA = _dctmcc.GMS_SV_NA
|
|
527
|
+
|
|
528
|
+
GMS_SV_PINF = _dctmcc.GMS_SV_PINF
|
|
529
|
+
|
|
530
|
+
GMS_SV_MINF = _dctmcc.GMS_SV_MINF
|
|
531
|
+
|
|
532
|
+
GMS_SV_EPS = _dctmcc.GMS_SV_EPS
|
|
533
|
+
|
|
534
|
+
GMS_SV_ACR = _dctmcc.GMS_SV_ACR
|
|
535
|
+
|
|
536
|
+
GMS_SV_NAINT = _dctmcc.GMS_SV_NAINT
|
|
537
|
+
|
|
538
|
+
STAT_OK = _dctmcc.STAT_OK
|
|
539
|
+
|
|
540
|
+
STAT_NOPT = _dctmcc.STAT_NOPT
|
|
541
|
+
|
|
542
|
+
STAT_INFES = _dctmcc.STAT_INFES
|
|
543
|
+
|
|
544
|
+
STAT_UNBND = _dctmcc.STAT_UNBND
|
|
545
|
+
|
|
546
|
+
STAT_EVAL = _dctmcc.STAT_EVAL
|
|
547
|
+
|
|
548
|
+
STAT_UNKNW = _dctmcc.STAT_UNKNW
|
|
549
|
+
|
|
550
|
+
STAT_REDEF = _dctmcc.STAT_REDEF
|
|
551
|
+
|
|
552
|
+
STAT_DEPND = _dctmcc.STAT_DEPND
|
|
553
|
+
|
|
554
|
+
STAT_REDIR = _dctmcc.STAT_REDIR
|
|
555
|
+
|
|
556
|
+
STAT_MAX = _dctmcc.STAT_MAX
|
|
557
|
+
|
|
558
|
+
SS_MAX = _dctmcc.SS_MAX
|
|
559
|
+
|
|
560
|
+
MS_MAX = _dctmcc.MS_MAX
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
cvar = _dctmcc.cvar
|
|
564
|
+
gmsGdxTypeText = cvar.gmsGdxTypeText
|
|
565
|
+
gmsVarTypeText = cvar.gmsVarTypeText
|
|
566
|
+
gmsValTypeText = cvar.gmsValTypeText
|
|
567
|
+
gmsSVText = cvar.gmsSVText
|
|
568
|
+
gmsSpecialValues = cvar.gmsSpecialValues
|
|
569
|
+
gmsDefRecVar = cvar.gmsDefRecVar
|
|
570
|
+
gmsDefRecEqu = cvar.gmsDefRecEqu
|
|
571
|
+
rcStat = cvar.rcStat
|
|
572
|
+
solveStatusTxt = cvar.solveStatusTxt
|
|
573
|
+
modelStatusTxt = cvar.modelStatusTxt
|
|
574
|
+
|
|
@@ -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.embedded.gamsemb import *
|