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
|
@@ -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.idx.idxcc import *
|
|
Binary file
|
gams/core/idx/idxcc.py
ADDED
|
@@ -0,0 +1,510 @@
|
|
|
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.idx import _idxcc
|
|
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
|
+
class intArray(object):
|
|
58
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
59
|
+
__repr__ = _swig_repr
|
|
60
|
+
|
|
61
|
+
def __init__(self, nelements):
|
|
62
|
+
_idxcc.intArray_swiginit(self, _idxcc.new_intArray(nelements))
|
|
63
|
+
__swig_destroy__ = _idxcc.delete_intArray
|
|
64
|
+
|
|
65
|
+
def __getitem__(self, index):
|
|
66
|
+
return _idxcc.intArray___getitem__(self, index)
|
|
67
|
+
|
|
68
|
+
def __setitem__(self, index, value):
|
|
69
|
+
return _idxcc.intArray___setitem__(self, index, value)
|
|
70
|
+
|
|
71
|
+
def cast(self):
|
|
72
|
+
return _idxcc.intArray_cast(self)
|
|
73
|
+
|
|
74
|
+
@staticmethod
|
|
75
|
+
def frompointer(t):
|
|
76
|
+
return _idxcc.intArray_frompointer(t)
|
|
77
|
+
|
|
78
|
+
# Register intArray in _idxcc:
|
|
79
|
+
_idxcc.intArray_swigregister(intArray)
|
|
80
|
+
class doubleArray(object):
|
|
81
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
82
|
+
__repr__ = _swig_repr
|
|
83
|
+
|
|
84
|
+
def __init__(self, nelements):
|
|
85
|
+
_idxcc.doubleArray_swiginit(self, _idxcc.new_doubleArray(nelements))
|
|
86
|
+
__swig_destroy__ = _idxcc.delete_doubleArray
|
|
87
|
+
|
|
88
|
+
def __getitem__(self, index):
|
|
89
|
+
return _idxcc.doubleArray___getitem__(self, index)
|
|
90
|
+
|
|
91
|
+
def __setitem__(self, index, value):
|
|
92
|
+
return _idxcc.doubleArray___setitem__(self, index, value)
|
|
93
|
+
|
|
94
|
+
def cast(self):
|
|
95
|
+
return _idxcc.doubleArray_cast(self)
|
|
96
|
+
|
|
97
|
+
@staticmethod
|
|
98
|
+
def frompointer(t):
|
|
99
|
+
return _idxcc.doubleArray_frompointer(t)
|
|
100
|
+
|
|
101
|
+
# Register doubleArray in _idxcc:
|
|
102
|
+
_idxcc.doubleArray_swigregister(doubleArray)
|
|
103
|
+
|
|
104
|
+
def new_intp():
|
|
105
|
+
return _idxcc.new_intp()
|
|
106
|
+
|
|
107
|
+
def copy_intp(value):
|
|
108
|
+
return _idxcc.copy_intp(value)
|
|
109
|
+
|
|
110
|
+
def delete_intp(obj):
|
|
111
|
+
return _idxcc.delete_intp(obj)
|
|
112
|
+
|
|
113
|
+
def intp_assign(obj, value):
|
|
114
|
+
return _idxcc.intp_assign(obj, value)
|
|
115
|
+
|
|
116
|
+
def intp_value(obj):
|
|
117
|
+
return _idxcc.intp_value(obj)
|
|
118
|
+
|
|
119
|
+
def new_doublep():
|
|
120
|
+
return _idxcc.new_doublep()
|
|
121
|
+
|
|
122
|
+
def copy_doublep(value):
|
|
123
|
+
return _idxcc.copy_doublep(value)
|
|
124
|
+
|
|
125
|
+
def delete_doublep(obj):
|
|
126
|
+
return _idxcc.delete_doublep(obj)
|
|
127
|
+
|
|
128
|
+
def doublep_assign(obj, value):
|
|
129
|
+
return _idxcc.doublep_assign(obj, value)
|
|
130
|
+
|
|
131
|
+
def doublep_value(obj):
|
|
132
|
+
return _idxcc.doublep_value(obj)
|
|
133
|
+
|
|
134
|
+
def new_idxHandle_tp():
|
|
135
|
+
return _idxcc.new_idxHandle_tp()
|
|
136
|
+
|
|
137
|
+
def copy_idxHandle_tp(value):
|
|
138
|
+
return _idxcc.copy_idxHandle_tp(value)
|
|
139
|
+
|
|
140
|
+
def delete_idxHandle_tp(obj):
|
|
141
|
+
return _idxcc.delete_idxHandle_tp(obj)
|
|
142
|
+
|
|
143
|
+
def idxHandle_tp_assign(obj, value):
|
|
144
|
+
return _idxcc.idxHandle_tp_assign(obj, value)
|
|
145
|
+
|
|
146
|
+
def idxHandle_tp_value(obj):
|
|
147
|
+
return _idxcc.idxHandle_tp_value(obj)
|
|
148
|
+
|
|
149
|
+
def idxHandleToPtr(pidx):
|
|
150
|
+
r"""idxHandleToPtr(pidx) -> void *"""
|
|
151
|
+
return _idxcc.idxHandleToPtr(pidx)
|
|
152
|
+
|
|
153
|
+
def ptrToidxHandle(vptr):
|
|
154
|
+
r"""ptrToidxHandle(vptr) -> idxHandle_t"""
|
|
155
|
+
return _idxcc.ptrToidxHandle(vptr)
|
|
156
|
+
|
|
157
|
+
def idxGetReady(msgBufSize):
|
|
158
|
+
r"""idxGetReady(msgBufSize) -> int"""
|
|
159
|
+
return _idxcc.idxGetReady(msgBufSize)
|
|
160
|
+
|
|
161
|
+
def idxGetReadyD(dirName, msgBufSize):
|
|
162
|
+
r"""idxGetReadyD(dirName, msgBufSize) -> int"""
|
|
163
|
+
return _idxcc.idxGetReadyD(dirName, msgBufSize)
|
|
164
|
+
|
|
165
|
+
def idxGetReadyL(libName, msgBufSize):
|
|
166
|
+
r"""idxGetReadyL(libName, msgBufSize) -> int"""
|
|
167
|
+
return _idxcc.idxGetReadyL(libName, msgBufSize)
|
|
168
|
+
|
|
169
|
+
def idxCreate(pidx, msgBufSize):
|
|
170
|
+
r"""idxCreate(pidx, msgBufSize) -> int"""
|
|
171
|
+
return _idxcc.idxCreate(pidx, msgBufSize)
|
|
172
|
+
|
|
173
|
+
def idxCreateD(pidx, dirName, msgBufSize):
|
|
174
|
+
r"""idxCreateD(pidx, dirName, msgBufSize) -> int"""
|
|
175
|
+
return _idxcc.idxCreateD(pidx, dirName, msgBufSize)
|
|
176
|
+
|
|
177
|
+
def idxCreateL(pidx, libName, msgBufSize):
|
|
178
|
+
r"""idxCreateL(pidx, libName, msgBufSize) -> int"""
|
|
179
|
+
return _idxcc.idxCreateL(pidx, libName, msgBufSize)
|
|
180
|
+
|
|
181
|
+
def idxFree(pidx):
|
|
182
|
+
r"""idxFree(pidx) -> int"""
|
|
183
|
+
return _idxcc.idxFree(pidx)
|
|
184
|
+
|
|
185
|
+
def idxLibraryLoaded():
|
|
186
|
+
r"""idxLibraryLoaded() -> int"""
|
|
187
|
+
return _idxcc.idxLibraryLoaded()
|
|
188
|
+
|
|
189
|
+
def idxLibraryUnload():
|
|
190
|
+
r"""idxLibraryUnload() -> int"""
|
|
191
|
+
return _idxcc.idxLibraryUnload()
|
|
192
|
+
|
|
193
|
+
def idxGetScreenIndicator():
|
|
194
|
+
r"""idxGetScreenIndicator() -> int"""
|
|
195
|
+
return _idxcc.idxGetScreenIndicator()
|
|
196
|
+
|
|
197
|
+
def idxSetScreenIndicator(scrind):
|
|
198
|
+
r"""idxSetScreenIndicator(scrind)"""
|
|
199
|
+
return _idxcc.idxSetScreenIndicator(scrind)
|
|
200
|
+
|
|
201
|
+
def idxGetExceptionIndicator():
|
|
202
|
+
r"""idxGetExceptionIndicator() -> int"""
|
|
203
|
+
return _idxcc.idxGetExceptionIndicator()
|
|
204
|
+
|
|
205
|
+
def idxSetExceptionIndicator(excind):
|
|
206
|
+
r"""idxSetExceptionIndicator(excind)"""
|
|
207
|
+
return _idxcc.idxSetExceptionIndicator(excind)
|
|
208
|
+
|
|
209
|
+
def idxGetExitIndicator():
|
|
210
|
+
r"""idxGetExitIndicator() -> int"""
|
|
211
|
+
return _idxcc.idxGetExitIndicator()
|
|
212
|
+
|
|
213
|
+
def idxSetExitIndicator(extind):
|
|
214
|
+
r"""idxSetExitIndicator(extind)"""
|
|
215
|
+
return _idxcc.idxSetExitIndicator(extind)
|
|
216
|
+
|
|
217
|
+
def idxGetErrorCallback():
|
|
218
|
+
r"""idxGetErrorCallback() -> idxErrorCallback_t"""
|
|
219
|
+
return _idxcc.idxGetErrorCallback()
|
|
220
|
+
|
|
221
|
+
def idxSetErrorCallback(func):
|
|
222
|
+
r"""idxSetErrorCallback(func)"""
|
|
223
|
+
return _idxcc.idxSetErrorCallback(func)
|
|
224
|
+
|
|
225
|
+
def idxGetAPIErrorCount():
|
|
226
|
+
r"""idxGetAPIErrorCount() -> int"""
|
|
227
|
+
return _idxcc.idxGetAPIErrorCount()
|
|
228
|
+
|
|
229
|
+
def idxSetAPIErrorCount(ecnt):
|
|
230
|
+
r"""idxSetAPIErrorCount(ecnt)"""
|
|
231
|
+
return _idxcc.idxSetAPIErrorCount(ecnt)
|
|
232
|
+
|
|
233
|
+
def idxErrorHandling(msg):
|
|
234
|
+
r"""idxErrorHandling(msg)"""
|
|
235
|
+
return _idxcc.idxErrorHandling(msg)
|
|
236
|
+
|
|
237
|
+
def idxGetLastError(pidx):
|
|
238
|
+
r"""idxGetLastError(pidx) -> int"""
|
|
239
|
+
return _idxcc.idxGetLastError(pidx)
|
|
240
|
+
|
|
241
|
+
def idxErrorStr(pidx, ErrNr, ErrMsg_i):
|
|
242
|
+
r"""idxErrorStr(pidx, ErrNr, ErrMsg_i)"""
|
|
243
|
+
return _idxcc.idxErrorStr(pidx, ErrNr, ErrMsg_i)
|
|
244
|
+
|
|
245
|
+
def idxOpenRead(pidx, FileName):
|
|
246
|
+
r"""idxOpenRead(pidx, FileName) -> int"""
|
|
247
|
+
return _idxcc.idxOpenRead(pidx, FileName)
|
|
248
|
+
|
|
249
|
+
def idxOpenWrite(pidx, FileName, Producer):
|
|
250
|
+
r"""idxOpenWrite(pidx, FileName, Producer) -> int"""
|
|
251
|
+
return _idxcc.idxOpenWrite(pidx, FileName, Producer)
|
|
252
|
+
|
|
253
|
+
def idxClose(pidx):
|
|
254
|
+
r"""idxClose(pidx) -> int"""
|
|
255
|
+
return _idxcc.idxClose(pidx)
|
|
256
|
+
|
|
257
|
+
def idxGetSymCount(pidx):
|
|
258
|
+
r"""idxGetSymCount(pidx) -> int"""
|
|
259
|
+
return _idxcc.idxGetSymCount(pidx)
|
|
260
|
+
|
|
261
|
+
def idxGetSymbolInfo(pidx, iSym, symName_i, explText_i):
|
|
262
|
+
r"""idxGetSymbolInfo(pidx, iSym, symName_i, explText_i) -> int"""
|
|
263
|
+
return _idxcc.idxGetSymbolInfo(pidx, iSym, symName_i, explText_i)
|
|
264
|
+
|
|
265
|
+
def idxGetSymbolInfoByName(pidx, symName, explText_i):
|
|
266
|
+
r"""idxGetSymbolInfoByName(pidx, symName, explText_i) -> int"""
|
|
267
|
+
return _idxcc.idxGetSymbolInfoByName(pidx, symName, explText_i)
|
|
268
|
+
|
|
269
|
+
def idxGetIndexBase(pidx):
|
|
270
|
+
r"""idxGetIndexBase(pidx) -> int"""
|
|
271
|
+
return _idxcc.idxGetIndexBase(pidx)
|
|
272
|
+
|
|
273
|
+
def idxSetIndexBase(pidx, idxBase):
|
|
274
|
+
r"""idxSetIndexBase(pidx, idxBase) -> int"""
|
|
275
|
+
return _idxcc.idxSetIndexBase(pidx, idxBase)
|
|
276
|
+
|
|
277
|
+
def idxDataReadStart(pidx, symName, ErrMsg_i):
|
|
278
|
+
r"""idxDataReadStart(pidx, symName, ErrMsg_i) -> int"""
|
|
279
|
+
return _idxcc.idxDataReadStart(pidx, symName, ErrMsg_i)
|
|
280
|
+
|
|
281
|
+
def idxDataRead(pidx):
|
|
282
|
+
r"""idxDataRead(pidx) -> int"""
|
|
283
|
+
return _idxcc.idxDataRead(pidx)
|
|
284
|
+
|
|
285
|
+
def idxDataReadDone(pidx):
|
|
286
|
+
r"""idxDataReadDone(pidx) -> int"""
|
|
287
|
+
return _idxcc.idxDataReadDone(pidx)
|
|
288
|
+
|
|
289
|
+
def idxDataReadSparseColMajor(pidx, idxBase, colPtr, rowIdx, vals):
|
|
290
|
+
r"""idxDataReadSparseColMajor(pidx, idxBase, colPtr, rowIdx, vals) -> int"""
|
|
291
|
+
return _idxcc.idxDataReadSparseColMajor(pidx, idxBase, colPtr, rowIdx, vals)
|
|
292
|
+
|
|
293
|
+
def idxDataReadSparseRowMajor(pidx, idxBase, rowPtr, colIdx, vals):
|
|
294
|
+
r"""idxDataReadSparseRowMajor(pidx, idxBase, rowPtr, colIdx, vals) -> int"""
|
|
295
|
+
return _idxcc.idxDataReadSparseRowMajor(pidx, idxBase, rowPtr, colIdx, vals)
|
|
296
|
+
|
|
297
|
+
def idxDataReadDenseColMajor(pidx, vals):
|
|
298
|
+
r"""idxDataReadDenseColMajor(pidx, vals) -> int"""
|
|
299
|
+
return _idxcc.idxDataReadDenseColMajor(pidx, vals)
|
|
300
|
+
|
|
301
|
+
def idxDataReadDenseRowMajor(pidx, vals):
|
|
302
|
+
r"""idxDataReadDenseRowMajor(pidx, vals) -> int"""
|
|
303
|
+
return _idxcc.idxDataReadDenseRowMajor(pidx, vals)
|
|
304
|
+
|
|
305
|
+
def idxDataWriteStart(pidx, symName, explTxt, symDim, dims, ErrMsg_i):
|
|
306
|
+
r"""idxDataWriteStart(pidx, symName, explTxt, symDim, dims, ErrMsg_i) -> int"""
|
|
307
|
+
return _idxcc.idxDataWriteStart(pidx, symName, explTxt, symDim, dims, ErrMsg_i)
|
|
308
|
+
|
|
309
|
+
def idxDataWrite(pidx, keys, val):
|
|
310
|
+
r"""idxDataWrite(pidx, keys, val) -> int"""
|
|
311
|
+
return _idxcc.idxDataWrite(pidx, keys, val)
|
|
312
|
+
|
|
313
|
+
def idxDataWriteDone(pidx):
|
|
314
|
+
r"""idxDataWriteDone(pidx) -> int"""
|
|
315
|
+
return _idxcc.idxDataWriteDone(pidx)
|
|
316
|
+
|
|
317
|
+
def idxDataWriteSparseColMajor(pidx, colPtr, rowIdx, vals):
|
|
318
|
+
r"""idxDataWriteSparseColMajor(pidx, colPtr, rowIdx, vals) -> int"""
|
|
319
|
+
return _idxcc.idxDataWriteSparseColMajor(pidx, colPtr, rowIdx, vals)
|
|
320
|
+
|
|
321
|
+
def idxDataWriteSparseRowMajor(pidx, rowPtr, colIdx, vals):
|
|
322
|
+
r"""idxDataWriteSparseRowMajor(pidx, rowPtr, colIdx, vals) -> int"""
|
|
323
|
+
return _idxcc.idxDataWriteSparseRowMajor(pidx, rowPtr, colIdx, vals)
|
|
324
|
+
|
|
325
|
+
def idxDataWriteDenseColMajor(pidx, dataDim, vals):
|
|
326
|
+
r"""idxDataWriteDenseColMajor(pidx, dataDim, vals) -> int"""
|
|
327
|
+
return _idxcc.idxDataWriteDenseColMajor(pidx, dataDim, vals)
|
|
328
|
+
|
|
329
|
+
def idxDataWriteDenseRowMajor(pidx, dataDim, vals):
|
|
330
|
+
r"""idxDataWriteDenseRowMajor(pidx, dataDim, vals) -> int"""
|
|
331
|
+
return _idxcc.idxDataWriteDenseRowMajor(pidx, dataDim, vals)
|
|
332
|
+
GLOBAL_MAX_INDEX_DIM = _idxcc.GLOBAL_MAX_INDEX_DIM
|
|
333
|
+
|
|
334
|
+
GLOBAL_UEL_IDENT_SIZE = _idxcc.GLOBAL_UEL_IDENT_SIZE
|
|
335
|
+
|
|
336
|
+
ITERLIM_INFINITY = _idxcc.ITERLIM_INFINITY
|
|
337
|
+
|
|
338
|
+
RESLIM_INFINITY = _idxcc.RESLIM_INFINITY
|
|
339
|
+
|
|
340
|
+
GMS_MAX_SOLVERS = _idxcc.GMS_MAX_SOLVERS
|
|
341
|
+
|
|
342
|
+
GMS_MAX_INDEX_DIM = _idxcc.GMS_MAX_INDEX_DIM
|
|
343
|
+
|
|
344
|
+
GMS_UEL_IDENT_SIZE = _idxcc.GMS_UEL_IDENT_SIZE
|
|
345
|
+
|
|
346
|
+
GMS_SSSIZE = _idxcc.GMS_SSSIZE
|
|
347
|
+
|
|
348
|
+
GMS_VARTYPE_UNKNOWN = _idxcc.GMS_VARTYPE_UNKNOWN
|
|
349
|
+
|
|
350
|
+
GMS_VARTYPE_BINARY = _idxcc.GMS_VARTYPE_BINARY
|
|
351
|
+
|
|
352
|
+
GMS_VARTYPE_INTEGER = _idxcc.GMS_VARTYPE_INTEGER
|
|
353
|
+
|
|
354
|
+
GMS_VARTYPE_POSITIVE = _idxcc.GMS_VARTYPE_POSITIVE
|
|
355
|
+
|
|
356
|
+
GMS_VARTYPE_NEGATIVE = _idxcc.GMS_VARTYPE_NEGATIVE
|
|
357
|
+
|
|
358
|
+
GMS_VARTYPE_FREE = _idxcc.GMS_VARTYPE_FREE
|
|
359
|
+
|
|
360
|
+
GMS_VARTYPE_SOS1 = _idxcc.GMS_VARTYPE_SOS1
|
|
361
|
+
|
|
362
|
+
GMS_VARTYPE_SOS2 = _idxcc.GMS_VARTYPE_SOS2
|
|
363
|
+
|
|
364
|
+
GMS_VARTYPE_SEMICONT = _idxcc.GMS_VARTYPE_SEMICONT
|
|
365
|
+
|
|
366
|
+
GMS_VARTYPE_SEMIINT = _idxcc.GMS_VARTYPE_SEMIINT
|
|
367
|
+
|
|
368
|
+
GMS_VARTYPE_MAX = _idxcc.GMS_VARTYPE_MAX
|
|
369
|
+
|
|
370
|
+
GMS_EQU_USERINFO_BASE = _idxcc.GMS_EQU_USERINFO_BASE
|
|
371
|
+
|
|
372
|
+
GMS_EQUTYPE_E = _idxcc.GMS_EQUTYPE_E
|
|
373
|
+
|
|
374
|
+
GMS_EQUTYPE_G = _idxcc.GMS_EQUTYPE_G
|
|
375
|
+
|
|
376
|
+
GMS_EQUTYPE_L = _idxcc.GMS_EQUTYPE_L
|
|
377
|
+
|
|
378
|
+
GMS_EQUTYPE_N = _idxcc.GMS_EQUTYPE_N
|
|
379
|
+
|
|
380
|
+
GMS_EQUTYPE_X = _idxcc.GMS_EQUTYPE_X
|
|
381
|
+
|
|
382
|
+
GMS_EQUTYPE_C = _idxcc.GMS_EQUTYPE_C
|
|
383
|
+
|
|
384
|
+
GMS_EQUTYPE_B = _idxcc.GMS_EQUTYPE_B
|
|
385
|
+
|
|
386
|
+
GMS_EQUTYPE_MAX = _idxcc.GMS_EQUTYPE_MAX
|
|
387
|
+
|
|
388
|
+
GMS_EQUEOFFSET = _idxcc.GMS_EQUEOFFSET
|
|
389
|
+
|
|
390
|
+
GMS_SETTYPE_DEFAULT = _idxcc.GMS_SETTYPE_DEFAULT
|
|
391
|
+
|
|
392
|
+
GMS_SETTYPE_SINGLETON = _idxcc.GMS_SETTYPE_SINGLETON
|
|
393
|
+
|
|
394
|
+
GMS_SETTYPE_MAX = _idxcc.GMS_SETTYPE_MAX
|
|
395
|
+
|
|
396
|
+
GMS_VAL_LEVEL = _idxcc.GMS_VAL_LEVEL
|
|
397
|
+
|
|
398
|
+
GMS_VAL_MARGINAL = _idxcc.GMS_VAL_MARGINAL
|
|
399
|
+
|
|
400
|
+
GMS_VAL_LOWER = _idxcc.GMS_VAL_LOWER
|
|
401
|
+
|
|
402
|
+
GMS_VAL_UPPER = _idxcc.GMS_VAL_UPPER
|
|
403
|
+
|
|
404
|
+
GMS_VAL_SCALE = _idxcc.GMS_VAL_SCALE
|
|
405
|
+
|
|
406
|
+
GMS_VAL_MAX = _idxcc.GMS_VAL_MAX
|
|
407
|
+
|
|
408
|
+
sv_valund = _idxcc.sv_valund
|
|
409
|
+
|
|
410
|
+
sv_valna = _idxcc.sv_valna
|
|
411
|
+
|
|
412
|
+
sv_valpin = _idxcc.sv_valpin
|
|
413
|
+
|
|
414
|
+
sv_valmin = _idxcc.sv_valmin
|
|
415
|
+
|
|
416
|
+
sv_valeps = _idxcc.sv_valeps
|
|
417
|
+
|
|
418
|
+
sv_normal = _idxcc.sv_normal
|
|
419
|
+
|
|
420
|
+
sv_acronym = _idxcc.sv_acronym
|
|
421
|
+
|
|
422
|
+
GMS_SVIDX_UNDEF = _idxcc.GMS_SVIDX_UNDEF
|
|
423
|
+
|
|
424
|
+
GMS_SVIDX_NA = _idxcc.GMS_SVIDX_NA
|
|
425
|
+
|
|
426
|
+
GMS_SVIDX_PINF = _idxcc.GMS_SVIDX_PINF
|
|
427
|
+
|
|
428
|
+
GMS_SVIDX_MINF = _idxcc.GMS_SVIDX_MINF
|
|
429
|
+
|
|
430
|
+
GMS_SVIDX_EPS = _idxcc.GMS_SVIDX_EPS
|
|
431
|
+
|
|
432
|
+
GMS_SVIDX_NORMAL = _idxcc.GMS_SVIDX_NORMAL
|
|
433
|
+
|
|
434
|
+
GMS_SVIDX_ACR = _idxcc.GMS_SVIDX_ACR
|
|
435
|
+
|
|
436
|
+
GMS_SVIDX_MAX = _idxcc.GMS_SVIDX_MAX
|
|
437
|
+
|
|
438
|
+
dt_set = _idxcc.dt_set
|
|
439
|
+
|
|
440
|
+
dt_par = _idxcc.dt_par
|
|
441
|
+
|
|
442
|
+
dt_var = _idxcc.dt_var
|
|
443
|
+
|
|
444
|
+
dt_equ = _idxcc.dt_equ
|
|
445
|
+
|
|
446
|
+
dt_alias = _idxcc.dt_alias
|
|
447
|
+
|
|
448
|
+
GMS_DT_SET = _idxcc.GMS_DT_SET
|
|
449
|
+
|
|
450
|
+
GMS_DT_PAR = _idxcc.GMS_DT_PAR
|
|
451
|
+
|
|
452
|
+
GMS_DT_VAR = _idxcc.GMS_DT_VAR
|
|
453
|
+
|
|
454
|
+
GMS_DT_EQU = _idxcc.GMS_DT_EQU
|
|
455
|
+
|
|
456
|
+
GMS_DT_ALIAS = _idxcc.GMS_DT_ALIAS
|
|
457
|
+
|
|
458
|
+
GMS_DT_MAX = _idxcc.GMS_DT_MAX
|
|
459
|
+
|
|
460
|
+
GMS_SV_UNDEF = _idxcc.GMS_SV_UNDEF
|
|
461
|
+
|
|
462
|
+
GMS_SV_NA = _idxcc.GMS_SV_NA
|
|
463
|
+
|
|
464
|
+
GMS_SV_PINF = _idxcc.GMS_SV_PINF
|
|
465
|
+
|
|
466
|
+
GMS_SV_MINF = _idxcc.GMS_SV_MINF
|
|
467
|
+
|
|
468
|
+
GMS_SV_EPS = _idxcc.GMS_SV_EPS
|
|
469
|
+
|
|
470
|
+
GMS_SV_ACR = _idxcc.GMS_SV_ACR
|
|
471
|
+
|
|
472
|
+
GMS_SV_NAINT = _idxcc.GMS_SV_NAINT
|
|
473
|
+
|
|
474
|
+
STAT_OK = _idxcc.STAT_OK
|
|
475
|
+
|
|
476
|
+
STAT_NOPT = _idxcc.STAT_NOPT
|
|
477
|
+
|
|
478
|
+
STAT_INFES = _idxcc.STAT_INFES
|
|
479
|
+
|
|
480
|
+
STAT_UNBND = _idxcc.STAT_UNBND
|
|
481
|
+
|
|
482
|
+
STAT_EVAL = _idxcc.STAT_EVAL
|
|
483
|
+
|
|
484
|
+
STAT_UNKNW = _idxcc.STAT_UNKNW
|
|
485
|
+
|
|
486
|
+
STAT_REDEF = _idxcc.STAT_REDEF
|
|
487
|
+
|
|
488
|
+
STAT_DEPND = _idxcc.STAT_DEPND
|
|
489
|
+
|
|
490
|
+
STAT_REDIR = _idxcc.STAT_REDIR
|
|
491
|
+
|
|
492
|
+
STAT_MAX = _idxcc.STAT_MAX
|
|
493
|
+
|
|
494
|
+
SS_MAX = _idxcc.SS_MAX
|
|
495
|
+
|
|
496
|
+
MS_MAX = _idxcc.MS_MAX
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
cvar = _idxcc.cvar
|
|
500
|
+
gmsGdxTypeText = cvar.gmsGdxTypeText
|
|
501
|
+
gmsVarTypeText = cvar.gmsVarTypeText
|
|
502
|
+
gmsValTypeText = cvar.gmsValTypeText
|
|
503
|
+
gmsSVText = cvar.gmsSVText
|
|
504
|
+
gmsSpecialValues = cvar.gmsSpecialValues
|
|
505
|
+
gmsDefRecVar = cvar.gmsDefRecVar
|
|
506
|
+
gmsDefRecEqu = cvar.gmsDefRecEqu
|
|
507
|
+
rcStat = cvar.rcStat
|
|
508
|
+
solveStatusTxt = cvar.solveStatusTxt
|
|
509
|
+
modelStatusTxt = cvar.modelStatusTxt
|
|
510
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
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.numpy.gams2numpy import Gams2Numpy
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
__all__ = ["Gams2Numpy"]
|
|
Binary file
|