jijmodeling 1.6.0__cp39-cp39-manylinux_2_28_aarch64.whl → 1.7.1__cp39-cp39-manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jijmodeling might be problematic. Click here for more details.
- jijmodeling/__init__.pyi +897 -577
- jijmodeling/_jijmodeling.cpython-39-aarch64-linux-gnu.so +0 -0
- jijmodeling/dataset.pyi +9 -11
- jijmodeling/experimental.pyi +48 -55
- {jijmodeling-1.6.0.dist-info → jijmodeling-1.7.1.dist-info}/METADATA +1 -1
- jijmodeling-1.7.1.dist-info/RECORD +12 -0
- {jijmodeling-1.6.0.dist-info → jijmodeling-1.7.1.dist-info}/WHEEL +1 -1
- jijmodeling-1.6.0.dist-info/RECORD +0 -12
- {jijmodeling-1.6.0.dist-info/license_files → jijmodeling-1.7.1.dist-info/licenses}/LICENSE.txt +0 -0
|
Binary file
|
jijmodeling/dataset.pyi
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
# This file is automatically generated by
|
|
1
|
+
# This file is automatically generated by pyo3_stub_gen
|
|
2
|
+
# ruff: noqa: E501, F401
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
from enum import Enum, auto
|
|
4
|
+
import typing
|
|
5
5
|
|
|
6
|
-
@final
|
|
7
6
|
class Miplib:
|
|
8
7
|
r"""
|
|
9
8
|
Automatically load problems from the MIPLIB dataset.
|
|
@@ -44,17 +43,16 @@ class Miplib:
|
|
|
44
43
|
|
|
45
44
|
```
|
|
46
45
|
"""
|
|
47
|
-
available_names:
|
|
48
|
-
instance_statistics: Any
|
|
46
|
+
available_names: list[str]
|
|
47
|
+
instance_statistics: typing.Any
|
|
49
48
|
def __new__(cls,verbose = ...): ...
|
|
50
|
-
def load(self, name) ->
|
|
49
|
+
def load(self, name:str) -> tuple:
|
|
51
50
|
r"""
|
|
52
51
|
Load a problem from the MIPLIB dataset.
|
|
53
52
|
"""
|
|
54
53
|
...
|
|
55
54
|
|
|
56
55
|
|
|
57
|
-
@final
|
|
58
56
|
class Qplib:
|
|
59
57
|
r"""
|
|
60
58
|
Automatically load problems from the MIPLIB dataset.
|
|
@@ -95,10 +93,10 @@ class Qplib:
|
|
|
95
93
|
|
|
96
94
|
```
|
|
97
95
|
"""
|
|
98
|
-
available_names:
|
|
99
|
-
instance_statistics: Any
|
|
96
|
+
available_names: list[str]
|
|
97
|
+
instance_statistics: typing.Any
|
|
100
98
|
def __new__(cls,verbose = ...): ...
|
|
101
|
-
def load(self, name) ->
|
|
99
|
+
def load(self, name:str) -> tuple:
|
|
102
100
|
r"""
|
|
103
101
|
Load a problem from the QPLIB dataset.
|
|
104
102
|
"""
|
jijmodeling/experimental.pyi
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# This file is automatically generated by
|
|
1
|
+
# This file is automatically generated by pyo3_stub_gen
|
|
2
|
+
# ruff: noqa: E501, F401
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import numpy
|
|
5
|
+
import numpy.typing
|
|
6
|
+
import typing
|
|
4
7
|
from enum import Enum, auto
|
|
5
8
|
|
|
6
|
-
@final
|
|
7
9
|
class EvaluationResult:
|
|
8
10
|
objective: float
|
|
9
|
-
constraints:
|
|
10
|
-
penalties:
|
|
11
|
+
constraints: dict[str, Violation]
|
|
12
|
+
penalties: dict[str, Violation]
|
|
11
13
|
def __new__(cls,objective = ...,constraints = ...,penalties = ...): ...
|
|
12
14
|
def __str__(self) -> str:
|
|
13
15
|
...
|
|
@@ -16,9 +18,8 @@ class EvaluationResult:
|
|
|
16
18
|
...
|
|
17
19
|
|
|
18
20
|
|
|
19
|
-
@final
|
|
20
21
|
class MeasuringTime:
|
|
21
|
-
def __new__(cls,solving_time, system_time): ...
|
|
22
|
+
def __new__(cls,solving_time:typing.Optional[SolvingTime], system_time:typing.Optional[SystemTime]): ...
|
|
22
23
|
def __str__(self) -> str:
|
|
23
24
|
...
|
|
24
25
|
|
|
@@ -31,20 +32,19 @@ class MeasuringTime:
|
|
|
31
32
|
"""
|
|
32
33
|
...
|
|
33
34
|
|
|
34
|
-
def view_solving_time(self) ->
|
|
35
|
+
def view_solving_time(self) -> SolvingTime:
|
|
35
36
|
r"""
|
|
36
37
|
Returns a readonly view of the internal `SolvingTime` field.
|
|
37
38
|
"""
|
|
38
39
|
...
|
|
39
40
|
|
|
40
|
-
def view_system_time(self) ->
|
|
41
|
+
def view_system_time(self) -> SystemTime:
|
|
41
42
|
r"""
|
|
42
43
|
Returns a readonly view of the internal `SystemTime` field.
|
|
43
44
|
"""
|
|
44
45
|
...
|
|
45
46
|
|
|
46
47
|
|
|
47
|
-
@final
|
|
48
48
|
class Sample:
|
|
49
49
|
r"""
|
|
50
50
|
A Sample representing an individual solution found by running the mathematical optimization model.
|
|
@@ -60,12 +60,12 @@ class Sample:
|
|
|
60
60
|
"""
|
|
61
61
|
run_id: str
|
|
62
62
|
num_occurrences: int
|
|
63
|
-
run_info:
|
|
64
|
-
var_values:
|
|
65
|
-
eval:
|
|
63
|
+
run_info: dict[str, None | str | int | float | list | dict]
|
|
64
|
+
var_values: dict[str, SparseVarValues]
|
|
65
|
+
eval: EvaluationResult
|
|
66
66
|
def __new__(cls,num_occurrences = ...,run_id = ...,run_info = ...,var_values = ...,eval = ...): ...
|
|
67
67
|
@staticmethod
|
|
68
|
-
def from_dense_arrays(dict,num_occurrences = ...,var_types = ...,run_id = ...,meta_info = ...) ->
|
|
68
|
+
def from_dense_arrays(dict,num_occurrences = ...,var_types = ...,run_id = ...,meta_info = ...) -> Sample:
|
|
69
69
|
...
|
|
70
70
|
|
|
71
71
|
def __str__(self) -> str:
|
|
@@ -74,17 +74,17 @@ class Sample:
|
|
|
74
74
|
def __repr__(self) -> str:
|
|
75
75
|
...
|
|
76
76
|
|
|
77
|
-
def __eq__(self, other) -> bool:
|
|
77
|
+
def __eq__(self, other:typing.Any) -> bool:
|
|
78
78
|
...
|
|
79
79
|
|
|
80
80
|
def is_feasible(self, epsilon = ...) -> bool:
|
|
81
81
|
...
|
|
82
82
|
|
|
83
|
-
def to_dense(self) ->
|
|
83
|
+
def to_dense(self) -> dict[str, numpy.typing.NDArray[numpy.float64]]:
|
|
84
84
|
...
|
|
85
85
|
|
|
86
86
|
@staticmethod
|
|
87
|
-
def from_dict(dict) ->
|
|
87
|
+
def from_dict(dict:dict) -> Sample:
|
|
88
88
|
r"""
|
|
89
89
|
Converts a python dictionary into a SampleSet.
|
|
90
90
|
|
|
@@ -94,7 +94,7 @@ class Sample:
|
|
|
94
94
|
"""
|
|
95
95
|
...
|
|
96
96
|
|
|
97
|
-
def to_dict(self) -> Any:
|
|
97
|
+
def to_dict(self) -> typing.Any:
|
|
98
98
|
r"""
|
|
99
99
|
Converts this SampleSet into a regular python dictionary.
|
|
100
100
|
|
|
@@ -106,23 +106,21 @@ class Sample:
|
|
|
106
106
|
...
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
@final
|
|
110
109
|
class SampleIter:
|
|
111
|
-
def __iter__(self) ->
|
|
110
|
+
def __iter__(self) -> SampleIter:
|
|
112
111
|
...
|
|
113
112
|
|
|
114
|
-
def __next__(self) ->
|
|
113
|
+
def __next__(self) -> Sample:
|
|
115
114
|
...
|
|
116
115
|
|
|
117
116
|
|
|
118
|
-
@final
|
|
119
117
|
class SampleSet:
|
|
120
|
-
data:
|
|
118
|
+
data: list[Sample]
|
|
121
119
|
set_id: str
|
|
122
|
-
set_info:
|
|
123
|
-
run_info:
|
|
124
|
-
measuring_time:
|
|
125
|
-
run_times:
|
|
120
|
+
set_info: dict[str, None | str | int | float | list | dict]
|
|
121
|
+
run_info: dict[str, None | str | int | float | list | dict]
|
|
122
|
+
measuring_time: MeasuringTime
|
|
123
|
+
run_times: dict[str, MeasuringTime]
|
|
126
124
|
def __new__(cls,data = ...,*,set_id = ...,set_info = ...,run_info = ...,measuring_time = ...,run_times = ...): ...
|
|
127
125
|
def __str__(self) -> str:
|
|
128
126
|
...
|
|
@@ -130,20 +128,20 @@ class SampleSet:
|
|
|
130
128
|
def __repr__(self) -> str:
|
|
131
129
|
...
|
|
132
130
|
|
|
133
|
-
def __eq__(self, other) -> bool:
|
|
131
|
+
def __eq__(self, other:typing.Any) -> bool:
|
|
134
132
|
...
|
|
135
133
|
|
|
136
134
|
def __len__(self) -> int:
|
|
137
135
|
...
|
|
138
136
|
|
|
139
|
-
def __getitem__(self, idx) ->
|
|
137
|
+
def __getitem__(self, idx:int) -> Sample:
|
|
140
138
|
...
|
|
141
139
|
|
|
142
|
-
def __iter__(self) ->
|
|
140
|
+
def __iter__(self) -> SampleIter:
|
|
143
141
|
...
|
|
144
142
|
|
|
145
143
|
@staticmethod
|
|
146
|
-
def from_array(samples) ->
|
|
144
|
+
def from_array(samples:typing.Sequence[typing.Mapping[str, numpy.typing.NDArray[numpy.float64] | list]]) -> SampleSet:
|
|
147
145
|
r"""
|
|
148
146
|
Builds a SampleSet from a list of dictionaries, where each entry is interpreted as a sample.
|
|
149
147
|
|
|
@@ -154,7 +152,7 @@ class SampleSet:
|
|
|
154
152
|
...
|
|
155
153
|
|
|
156
154
|
@staticmethod
|
|
157
|
-
def concat(family) ->
|
|
155
|
+
def concat(family:typing.Sequence[SampleSet]) -> SampleSet:
|
|
158
156
|
r"""
|
|
159
157
|
Creates a single SampleSet by concatenating a list of multiple SampleSets.
|
|
160
158
|
|
|
@@ -165,7 +163,7 @@ class SampleSet:
|
|
|
165
163
|
...
|
|
166
164
|
|
|
167
165
|
@staticmethod
|
|
168
|
-
def from_dict(dict) ->
|
|
166
|
+
def from_dict(dict:dict) -> SampleSet:
|
|
169
167
|
r"""
|
|
170
168
|
Converts a python dictionary into a SampleSet.
|
|
171
169
|
|
|
@@ -175,7 +173,7 @@ class SampleSet:
|
|
|
175
173
|
"""
|
|
176
174
|
...
|
|
177
175
|
|
|
178
|
-
def to_dict(self) -> Any:
|
|
176
|
+
def to_dict(self) -> typing.Any:
|
|
179
177
|
r"""
|
|
180
178
|
Converts this SampleSet into a regular python dictionary.
|
|
181
179
|
|
|
@@ -186,7 +184,7 @@ class SampleSet:
|
|
|
186
184
|
"""
|
|
187
185
|
...
|
|
188
186
|
|
|
189
|
-
def feasibles(self, epsilon = ...) ->
|
|
187
|
+
def feasibles(self, epsilon = ...) -> SampleSet:
|
|
190
188
|
r"""
|
|
191
189
|
Returns a SampleSet containing only the feasible samples.
|
|
192
190
|
|
|
@@ -200,7 +198,7 @@ class SampleSet:
|
|
|
200
198
|
"""
|
|
201
199
|
...
|
|
202
200
|
|
|
203
|
-
def separate(self) ->
|
|
201
|
+
def separate(self) -> dict[str, SampleSet]:
|
|
204
202
|
r"""
|
|
205
203
|
Splits this `SampleSet` based on the `run_id` of the samples.
|
|
206
204
|
|
|
@@ -213,7 +211,7 @@ class SampleSet:
|
|
|
213
211
|
"""
|
|
214
212
|
...
|
|
215
213
|
|
|
216
|
-
def lowest(self, epsilon = ...) ->
|
|
214
|
+
def lowest(self, epsilon = ...) -> list[Sample]:
|
|
217
215
|
r"""
|
|
218
216
|
Returns a list of the feasible samples which have the lowest objective value.
|
|
219
217
|
If there are no feasible solutions, this returns an empty list.
|
|
@@ -229,7 +227,6 @@ class SampleSet:
|
|
|
229
227
|
...
|
|
230
228
|
|
|
231
229
|
|
|
232
|
-
@final
|
|
233
230
|
class SolvingTime:
|
|
234
231
|
compiling_time: float
|
|
235
232
|
transpiling_time: float
|
|
@@ -248,12 +245,11 @@ class SolvingTime:
|
|
|
248
245
|
...
|
|
249
246
|
|
|
250
247
|
|
|
251
|
-
@final
|
|
252
248
|
class SparseVarValues:
|
|
253
249
|
name: str
|
|
254
|
-
values:
|
|
255
|
-
var_type:
|
|
256
|
-
shape:
|
|
250
|
+
values: dict[typing.Tuple[int, ...], float]
|
|
251
|
+
var_type: VarType
|
|
252
|
+
shape: tuple
|
|
257
253
|
def __new__(cls,name,values,shape,var_type = ...): ...
|
|
258
254
|
def __str__(self) -> str:
|
|
259
255
|
...
|
|
@@ -262,20 +258,19 @@ class SparseVarValues:
|
|
|
262
258
|
...
|
|
263
259
|
|
|
264
260
|
@staticmethod
|
|
265
|
-
def from_array(name,array,var_type = ...) ->
|
|
261
|
+
def from_array(name,array,var_type = ...) -> SparseVarValues:
|
|
266
262
|
...
|
|
267
263
|
|
|
268
|
-
def to_dense(self) ->
|
|
264
|
+
def to_dense(self) -> numpy.typing.NDArray[numpy.float64]:
|
|
269
265
|
...
|
|
270
266
|
|
|
271
267
|
|
|
272
|
-
@final
|
|
273
268
|
class SystemTime:
|
|
274
|
-
posting_time:
|
|
275
|
-
request_queuing_time:
|
|
276
|
-
fetching_problem_time:
|
|
277
|
-
fetching_result_time:
|
|
278
|
-
deserialize_time:
|
|
269
|
+
posting_time: typing.Optional[float]
|
|
270
|
+
request_queuing_time: typing.Optional[float]
|
|
271
|
+
fetching_problem_time: typing.Optional[float]
|
|
272
|
+
fetching_result_time: typing.Optional[float]
|
|
273
|
+
deserialize_time: typing.Optional[float]
|
|
279
274
|
def __new__(cls,posting_time = ...,request_queuing_time = ...,fetching_problem_time = ...,fetching_result_time = ...,deserialize_time = ...): ...
|
|
280
275
|
def __str__(self) -> str:
|
|
281
276
|
...
|
|
@@ -284,12 +279,11 @@ class SystemTime:
|
|
|
284
279
|
...
|
|
285
280
|
|
|
286
281
|
|
|
287
|
-
@final
|
|
288
282
|
class Violation:
|
|
289
283
|
name: str
|
|
290
284
|
total_violation: float
|
|
291
|
-
expr_values:
|
|
292
|
-
def __new__(cls,name, total_violation, expr_values): ...
|
|
285
|
+
expr_values: dict[typing.Tuple[int, ...], float]
|
|
286
|
+
def __new__(cls,name:str, total_violation:float, expr_values:typing.Mapping[typing.Tuple[int, ...], float]): ...
|
|
293
287
|
def __str__(self) -> str:
|
|
294
288
|
...
|
|
295
289
|
|
|
@@ -297,12 +291,11 @@ class Violation:
|
|
|
297
291
|
...
|
|
298
292
|
|
|
299
293
|
|
|
300
|
-
@final
|
|
301
294
|
class VarType(Enum):
|
|
302
295
|
CONTINUOUS = auto()
|
|
303
296
|
INTEGER = auto()
|
|
304
297
|
BINARY = auto()
|
|
305
298
|
|
|
306
|
-
def from_old_sampleset(sampleset) ->
|
|
299
|
+
def from_old_sampleset(sampleset:typing.Any) -> SampleSet:
|
|
307
300
|
...
|
|
308
301
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
jijmodeling-1.7.1.dist-info/METADATA,sha256=Ww97ajazvE8O3wWUa81vwtXVB9Dq7DaJfPiOd9kd7W8,12760
|
|
2
|
+
jijmodeling-1.7.1.dist-info/WHEEL,sha256=nnEmcJCrA_e9D3iNdvVsBSgSRmUG4AreZ7NbPLUxjXU,107
|
|
3
|
+
jijmodeling-1.7.1.dist-info/licenses/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
|
|
4
|
+
jijmodeling/__init__.pyi,sha256=fgbL7lNuAR6f3iF0murcGspACejjxthd0y7PeHhx1do,129647
|
|
5
|
+
jijmodeling/experimental.py,sha256=Of-tUY3kfpFHpjGbIcclbMenCP2BMW07me895YH7tG8,575
|
|
6
|
+
jijmodeling/dataset.pyi,sha256=LSYVLeyvQRq-Xmql8zfjavbmQwFHjU5Ir_GGyeg0q2Y,4005
|
|
7
|
+
jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
|
|
8
|
+
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
|
|
10
|
+
jijmodeling/experimental.pyi,sha256=PBGw5LutDarKtaP3HTzByjV_FPRrPvv4NAZ_XWUZuGA,9018
|
|
11
|
+
jijmodeling/_jijmodeling.cpython-39-aarch64-linux-gnu.so,sha256=xXcnzR_GGokpXlW6LnRyL9ajCWdKfbq2Uae2z5cVLwk,4074040
|
|
12
|
+
jijmodeling-1.7.1.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
jijmodeling-1.6.0.dist-info/METADATA,sha256=NIX1DwgAgCJ_MpAGU7Zv-NJx4gsOsXimgTZDAw2QQuA,12760
|
|
2
|
-
jijmodeling-1.6.0.dist-info/WHEEL,sha256=0SzFuCpis8OY5SsB6cOhjSjxOlPgkJ5gW3iIIRjXm7w,107
|
|
3
|
-
jijmodeling-1.6.0.dist-info/license_files/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
|
|
4
|
-
jijmodeling/dataset.pyi,sha256=x77frITd2LuKQ_kG457wyBGG-Fi5K-Ym0hKFC_CNOxw,4022
|
|
5
|
-
jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
|
|
6
|
-
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
jijmodeling/experimental.pyi,sha256=D_ejdT0zxLXqe_8sx2_8cY84OaZwacEhJuuXDLm0l0g,8288
|
|
8
|
-
jijmodeling/experimental.py,sha256=Of-tUY3kfpFHpjGbIcclbMenCP2BMW07me895YH7tG8,575
|
|
9
|
-
jijmodeling/__init__.pyi,sha256=2Y6bSIZqRuTJAdiQaQ1aoFjPX7nkAtcFj69qGww7xa4,114698
|
|
10
|
-
jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
|
|
11
|
-
jijmodeling/_jijmodeling.cpython-39-aarch64-linux-gnu.so,sha256=mEbO2_KNFgILYR5nAqE4SQsZMyrl6lTVTs-01nuJhbg,3979808
|
|
12
|
-
jijmodeling-1.6.0.dist-info/RECORD,,
|
{jijmodeling-1.6.0.dist-info/license_files → jijmodeling-1.7.1.dist-info/licenses}/LICENSE.txt
RENAMED
|
File without changes
|