jijmodeling 2.0.0a3__cp38-abi3-win_amd64.whl → 2.0.0a4__cp38-abi3-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.
Potentially problematic release.
This version of jijmodeling might be problematic. Click here for more details.
- jijmodeling/__init__.pyi +19 -2
- jijmodeling/_jijmodeling.pyd +0 -0
- {jijmodeling-2.0.0a3.dist-info → jijmodeling-2.0.0a4.dist-info}/METADATA +2 -2
- jijmodeling-2.0.0a4.dist-info/RECORD +9 -0
- jijmodeling-2.0.0a3.dist-info/RECORD +0 -9
- {jijmodeling-2.0.0a3.dist-info → jijmodeling-2.0.0a4.dist-info}/WHEEL +0 -0
- {jijmodeling-2.0.0a3.dist-info → jijmodeling-2.0.0a4.dist-info}/licenses/LICENSE.txt +0 -0
jijmodeling/__init__.pyi
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
4
|
import builtins
|
|
5
|
+
import numpy
|
|
6
|
+
import numpy.typing
|
|
5
7
|
import ommx.v1
|
|
6
8
|
import typing
|
|
7
9
|
from . import _jijmodeling
|
|
@@ -9,7 +11,7 @@ from enum import Enum, auto
|
|
|
9
11
|
|
|
10
12
|
__version__: builtins.str
|
|
11
13
|
class Compiler:
|
|
12
|
-
def __new__(cls,namespace:Namespace, instance_data:
|
|
14
|
+
def __new__(cls,namespace:Namespace, instance_data:typing.Mapping[builtins.str, builtins.int | builtins.float | numpy.typing.NDArray[numpy.float64] | numpy.typing.NDArray[numpy.int64] | list]): ...
|
|
13
15
|
def get_constraint_id_by_name(self, name:builtins.str) -> dict:
|
|
14
16
|
r"""
|
|
15
17
|
Obtains a dictionary from subscript to constraint Id.
|
|
@@ -29,7 +31,7 @@ class Compiler:
|
|
|
29
31
|
...
|
|
30
32
|
|
|
31
33
|
@staticmethod
|
|
32
|
-
def from_problem(problem:Problem, instance_data:
|
|
34
|
+
def from_problem(problem:Problem, instance_data:typing.Mapping[builtins.str, builtins.int | builtins.float | numpy.typing.NDArray[numpy.float64] | numpy.typing.NDArray[numpy.int64] | list]) -> Compiler:
|
|
33
35
|
...
|
|
34
36
|
|
|
35
37
|
|
|
@@ -498,6 +500,12 @@ class Namespace:
|
|
|
498
500
|
def add_decision_var(self, var:DecisionVar) -> None:
|
|
499
501
|
...
|
|
500
502
|
|
|
503
|
+
def type_of(self, name:builtins.str) -> Type:
|
|
504
|
+
...
|
|
505
|
+
|
|
506
|
+
def infer(self, expr:Expression | builtins.int | builtins.float | DecisionVar | Placeholder | list | tuple | typing.Callable[[Expression], typing.Any]) -> Type:
|
|
507
|
+
...
|
|
508
|
+
|
|
501
509
|
|
|
502
510
|
class Placeholder:
|
|
503
511
|
r"""
|
|
@@ -1162,6 +1170,15 @@ class Problem:
|
|
|
1162
1170
|
"""
|
|
1163
1171
|
...
|
|
1164
1172
|
|
|
1173
|
+
def type_of(self, name:builtins.str) -> Type:
|
|
1174
|
+
...
|
|
1175
|
+
|
|
1176
|
+
def infer(self, expr:Expression | builtins.int | builtins.float | DecisionVar | Placeholder | list | tuple | typing.Callable[[Expression], typing.Any]) -> Type:
|
|
1177
|
+
...
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
class Type:
|
|
1181
|
+
...
|
|
1165
1182
|
|
|
1166
1183
|
class ConstraintSense(Enum):
|
|
1167
1184
|
EQUAL = auto()
|
jijmodeling/_jijmodeling.pyd
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jijmodeling
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0a4
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Operating System :: POSIX :: Linux
|
|
6
6
|
Classifier: Operating System :: MacOS
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
|
20
20
|
Requires-Dist: numpy
|
|
21
21
|
Requires-Dist: pandas
|
|
22
22
|
Requires-Dist: orjson>=3.8.0,<4.0.0
|
|
23
|
-
Requires-Dist: ommx>=2.0.
|
|
23
|
+
Requires-Dist: ommx>=2.0.0,<3.0.0
|
|
24
24
|
License-File: LICENSE.txt
|
|
25
25
|
Summary: Mathematical modeling tool for optimization problem
|
|
26
26
|
Author: Jij Inc.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
jijmodeling-2.0.0a4.dist-info/METADATA,sha256=AcdlHCE356R2MJz9zCa8vf3orZDIU6uSzsUsma1c_lA,2495
|
|
2
|
+
jijmodeling-2.0.0a4.dist-info/WHEEL,sha256=fUMUCU57hCqRM9lAdoyg0PVMCOUk2MQLaFVqt4-GBRk,94
|
|
3
|
+
jijmodeling-2.0.0a4.dist-info/licenses/LICENSE.txt,sha256=llUjgcEN5bUeFlj1RqxJxDMxUnlYvowLsldCF6Lwq8c,3445
|
|
4
|
+
jijmodeling/__init__.py,sha256=jJ6o5wp3MPAP1uR3dqSvjaXG57t1IwcS8ojqPpZL-gU,45
|
|
5
|
+
jijmodeling/__init__.pyi,sha256=knf5AypgyK7s2Nml-hf1LJpN37LvdBWUAzAVtB5JOpM,62026
|
|
6
|
+
jijmodeling/_jijmodeling.pyd,sha256=KYjECtniKwcqVOQcZmJHWD4XIs7e7_CSdf-GqkvSMk0,8350208
|
|
7
|
+
jijmodeling/_jijmodeling.pyi,sha256=DNNHcMrqQWMefF5936RoeVtH9OEnw2kYlX_c6pZ7idU,175
|
|
8
|
+
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
jijmodeling-2.0.0a4.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
jijmodeling-2.0.0a3.dist-info/METADATA,sha256=fizIB1MCWIGNcgVMJYGp9sFfgk4ez6InlUY4iewORz0,2498
|
|
2
|
-
jijmodeling-2.0.0a3.dist-info/WHEEL,sha256=fUMUCU57hCqRM9lAdoyg0PVMCOUk2MQLaFVqt4-GBRk,94
|
|
3
|
-
jijmodeling-2.0.0a3.dist-info/licenses/LICENSE.txt,sha256=llUjgcEN5bUeFlj1RqxJxDMxUnlYvowLsldCF6Lwq8c,3445
|
|
4
|
-
jijmodeling/__init__.py,sha256=jJ6o5wp3MPAP1uR3dqSvjaXG57t1IwcS8ojqPpZL-gU,45
|
|
5
|
-
jijmodeling/__init__.pyi,sha256=jiYzfDlmBuE_2tYaXYer22kWOKmprKaparVZAZDClmo,61201
|
|
6
|
-
jijmodeling/_jijmodeling.pyd,sha256=Hx2dVK1sO_IbCrFihfbJ3vagEwC1BO1gsZZiSQnKQ74,8131072
|
|
7
|
-
jijmodeling/_jijmodeling.pyi,sha256=DNNHcMrqQWMefF5936RoeVtH9OEnw2kYlX_c6pZ7idU,175
|
|
8
|
-
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
jijmodeling-2.0.0a3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|