jijmodeling 1.10.2__cp311-cp311-manylinux_2_28_aarch64.whl → 1.11.0__cp311-cp311-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 +342 -329
- jijmodeling/_jijmodeling.cpython-311-aarch64-linux-gnu.so +0 -0
- jijmodeling/dataset.pyi +5 -4
- jijmodeling/experimental.pyi +67 -66
- jijmodeling/range/__init__.pyi +9 -8
- jijmodeling/range/size.pyi +9 -8
- jijmodeling/range/value.pyi +9 -8
- {jijmodeling-1.10.2.dist-info → jijmodeling-1.11.0.dist-info}/METADATA +3 -3
- jijmodeling-1.11.0.dist-info/RECORD +18 -0
- {jijmodeling-1.10.2.dist-info → jijmodeling-1.11.0.dist-info}/WHEEL +1 -1
- jijmodeling-1.10.2.dist-info/RECORD +0 -18
- {jijmodeling-1.10.2.dist-info → jijmodeling-1.11.0.dist-info}/licenses/LICENSE.txt +0 -0
|
Binary file
|
jijmodeling/dataset.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# This file is automatically generated by pyo3_stub_gen
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
|
+
import builtins
|
|
4
5
|
import typing
|
|
5
6
|
|
|
6
7
|
class Miplib:
|
|
@@ -43,9 +44,9 @@ class Miplib:
|
|
|
43
44
|
|
|
44
45
|
```
|
|
45
46
|
"""
|
|
46
|
-
available_names: list[str]
|
|
47
|
+
available_names: builtins.list[builtins.str]
|
|
47
48
|
instance_statistics: typing.Any
|
|
48
|
-
def __new__(cls,verbose
|
|
49
|
+
def __new__(cls,verbose:builtins.bool=True): ...
|
|
49
50
|
def load(self, name:str) -> tuple:
|
|
50
51
|
r"""
|
|
51
52
|
Load a problem from the MIPLIB dataset.
|
|
@@ -93,9 +94,9 @@ class Qplib:
|
|
|
93
94
|
|
|
94
95
|
```
|
|
95
96
|
"""
|
|
96
|
-
available_names: list[str]
|
|
97
|
+
available_names: builtins.list[builtins.str]
|
|
97
98
|
instance_statistics: typing.Any
|
|
98
|
-
def __new__(cls,verbose
|
|
99
|
+
def __new__(cls,verbose:builtins.bool=True): ...
|
|
99
100
|
def load(self, name:str) -> tuple:
|
|
100
101
|
r"""
|
|
101
102
|
Load a problem from the QPLIB dataset.
|
jijmodeling/experimental.pyi
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
# This file is automatically generated by pyo3_stub_gen
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
|
+
import builtins
|
|
4
5
|
import numpy
|
|
5
6
|
import numpy.typing
|
|
6
7
|
import typing
|
|
7
8
|
from enum import Enum, auto
|
|
8
9
|
|
|
9
10
|
class EvaluationResult:
|
|
10
|
-
objective: float
|
|
11
|
-
constraints: dict[str, Violation]
|
|
12
|
-
penalties: dict[str, Violation]
|
|
13
|
-
def __new__(cls,objective
|
|
14
|
-
def __str__(self) -> str:
|
|
11
|
+
objective: builtins.float
|
|
12
|
+
constraints: builtins.dict[builtins.str, Violation]
|
|
13
|
+
penalties: builtins.dict[builtins.str, Violation]
|
|
14
|
+
def __new__(cls,objective:builtins.float=0.0, constraints:typing.Mapping[builtins.str, Violation]={}, penalties:typing.Mapping[builtins.str, Violation]={}): ...
|
|
15
|
+
def __str__(self) -> builtins.str:
|
|
15
16
|
...
|
|
16
17
|
|
|
17
|
-
def __repr__(self) -> str:
|
|
18
|
+
def __repr__(self) -> builtins.str:
|
|
18
19
|
...
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
class MeasuringTime:
|
|
22
|
-
def __new__(cls,solving_time:typing.Optional[SolvingTime], system_time:typing.Optional[SystemTime]): ...
|
|
23
|
-
def __str__(self) -> str:
|
|
23
|
+
def __new__(cls,solving_time:typing.Optional[SolvingTime]=None, system_time:typing.Optional[SystemTime]=None): ...
|
|
24
|
+
def __str__(self) -> builtins.str:
|
|
24
25
|
...
|
|
25
26
|
|
|
26
|
-
def __repr__(self) -> str:
|
|
27
|
+
def __repr__(self) -> builtins.str:
|
|
27
28
|
...
|
|
28
29
|
|
|
29
|
-
def total(self) -> float:
|
|
30
|
+
def total(self) -> builtins.float:
|
|
30
31
|
r"""
|
|
31
32
|
Returns the total time measurred, across both `SolvingTime` and `SystemTime`.
|
|
32
33
|
"""
|
|
@@ -58,29 +59,29 @@ class Sample:
|
|
|
58
59
|
`run_id` is a unique identifier of the run in which this sample was found.
|
|
59
60
|
Note that this is not the same as a unique identifier of the Sample.
|
|
60
61
|
"""
|
|
61
|
-
run_id: str
|
|
62
|
-
num_occurrences: int
|
|
63
|
-
run_info: dict[str, None | str | int | float | list | dict]
|
|
64
|
-
var_values: dict[str, SparseVarValues]
|
|
62
|
+
run_id: builtins.str
|
|
63
|
+
num_occurrences: builtins.int
|
|
64
|
+
run_info: builtins.dict[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]
|
|
65
|
+
var_values: builtins.dict[builtins.str, SparseVarValues]
|
|
65
66
|
eval: EvaluationResult
|
|
66
|
-
def __new__(cls,num_occurrences
|
|
67
|
+
def __new__(cls,num_occurrences:builtins.int=1, run_id:typing.Optional[builtins.str]=None, run_info:typing.Optional[typing.Mapping[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]]=None, var_values:typing.Optional[typing.Mapping[builtins.str, SparseVarValues]]=None, eval:typing.Optional[EvaluationResult]=None): ...
|
|
67
68
|
@staticmethod
|
|
68
|
-
def from_dense_arrays(dict,num_occurrences
|
|
69
|
+
def from_dense_arrays(dict:typing.Mapping[builtins.str, numpy.typing.NDArray[numpy.float64] | list], num_occurrences:builtins.int=1, var_types:typing.Optional[typing.Mapping[builtins.str, VarType]]=None, run_id:typing.Optional[builtins.str]=None, meta_info:typing.Optional[typing.Mapping[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]]=None) -> Sample:
|
|
69
70
|
...
|
|
70
71
|
|
|
71
|
-
def __str__(self) -> str:
|
|
72
|
+
def __str__(self) -> builtins.str:
|
|
72
73
|
...
|
|
73
74
|
|
|
74
|
-
def __repr__(self) -> str:
|
|
75
|
+
def __repr__(self) -> builtins.str:
|
|
75
76
|
...
|
|
76
77
|
|
|
77
|
-
def __eq__(self, other:typing.Any) -> bool:
|
|
78
|
+
def __eq__(self, other:typing.Any) -> builtins.bool:
|
|
78
79
|
...
|
|
79
80
|
|
|
80
|
-
def is_feasible(self, epsilon
|
|
81
|
+
def is_feasible(self, epsilon:builtins.float=1e-08) -> builtins.bool:
|
|
81
82
|
...
|
|
82
83
|
|
|
83
|
-
def to_dense(self) -> dict[str, numpy.typing.NDArray[numpy.float64]]:
|
|
84
|
+
def to_dense(self) -> builtins.dict[builtins.str, numpy.typing.NDArray[numpy.float64]]:
|
|
84
85
|
...
|
|
85
86
|
|
|
86
87
|
@staticmethod
|
|
@@ -115,33 +116,33 @@ class SampleIter:
|
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
class SampleSet:
|
|
118
|
-
data: list[Sample]
|
|
119
|
-
set_id: str
|
|
120
|
-
set_info: dict[str, None | str | int | float | list | dict]
|
|
121
|
-
run_info: dict[str, None | str | int | float | list | dict]
|
|
119
|
+
data: builtins.list[Sample]
|
|
120
|
+
set_id: builtins.str
|
|
121
|
+
set_info: builtins.dict[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]
|
|
122
|
+
run_info: builtins.dict[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]
|
|
122
123
|
measuring_time: MeasuringTime
|
|
123
|
-
run_times: dict[str, MeasuringTime]
|
|
124
|
-
def __new__(cls,data
|
|
125
|
-
def __str__(self) -> str:
|
|
124
|
+
run_times: builtins.dict[builtins.str, MeasuringTime]
|
|
125
|
+
def __new__(cls,data:typing.Sequence[Sample]=[], *, set_id:typing.Optional[builtins.str]=None, set_info:typing.Optional[typing.Mapping[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]]=None, run_info:typing.Optional[typing.Mapping[builtins.str, None | builtins.str | builtins.int | builtins.float | builtins.list | builtins.dict]]=None, measuring_time:MeasuringTime=..., run_times:typing.Mapping[builtins.str, MeasuringTime]={}): ...
|
|
126
|
+
def __str__(self) -> builtins.str:
|
|
126
127
|
...
|
|
127
128
|
|
|
128
|
-
def __repr__(self) -> str:
|
|
129
|
+
def __repr__(self) -> builtins.str:
|
|
129
130
|
...
|
|
130
131
|
|
|
131
|
-
def __eq__(self, other:typing.Any) -> bool:
|
|
132
|
+
def __eq__(self, other:typing.Any) -> builtins.bool:
|
|
132
133
|
...
|
|
133
134
|
|
|
134
|
-
def __len__(self) -> int:
|
|
135
|
+
def __len__(self) -> builtins.int:
|
|
135
136
|
...
|
|
136
137
|
|
|
137
|
-
def __getitem__(self, idx:int) -> Sample:
|
|
138
|
+
def __getitem__(self, idx:builtins.int) -> Sample:
|
|
138
139
|
...
|
|
139
140
|
|
|
140
141
|
def __iter__(self) -> SampleIter:
|
|
141
142
|
...
|
|
142
143
|
|
|
143
144
|
@staticmethod
|
|
144
|
-
def from_array(samples:typing.Sequence[typing.Mapping[str, numpy.typing.NDArray[numpy.float64] | list]]) -> SampleSet:
|
|
145
|
+
def from_array(samples:typing.Sequence[typing.Mapping[builtins.str, numpy.typing.NDArray[numpy.float64] | list]]) -> SampleSet:
|
|
145
146
|
r"""
|
|
146
147
|
Builds a SampleSet from a list of dictionaries, where each entry is interpreted as a sample.
|
|
147
148
|
|
|
@@ -184,7 +185,7 @@ class SampleSet:
|
|
|
184
185
|
"""
|
|
185
186
|
...
|
|
186
187
|
|
|
187
|
-
def feasibles(self, epsilon
|
|
188
|
+
def feasibles(self, epsilon:builtins.float=1e-08) -> SampleSet:
|
|
188
189
|
r"""
|
|
189
190
|
Returns a SampleSet containing only the feasible samples.
|
|
190
191
|
|
|
@@ -198,7 +199,7 @@ class SampleSet:
|
|
|
198
199
|
"""
|
|
199
200
|
...
|
|
200
201
|
|
|
201
|
-
def separate(self) -> dict[str, SampleSet]:
|
|
202
|
+
def separate(self) -> builtins.dict[builtins.str, SampleSet]:
|
|
202
203
|
r"""
|
|
203
204
|
Splits this `SampleSet` based on the `run_id` of the samples.
|
|
204
205
|
|
|
@@ -211,7 +212,7 @@ class SampleSet:
|
|
|
211
212
|
"""
|
|
212
213
|
...
|
|
213
214
|
|
|
214
|
-
def lowest(self, epsilon
|
|
215
|
+
def lowest(self, epsilon:builtins.float=1e-08) -> builtins.list[Sample]:
|
|
215
216
|
r"""
|
|
216
217
|
Returns a list of the feasible samples which have the lowest objective value.
|
|
217
218
|
If there are no feasible solutions, this returns an empty list.
|
|
@@ -228,37 +229,37 @@ class SampleSet:
|
|
|
228
229
|
|
|
229
230
|
|
|
230
231
|
class SolvingTime:
|
|
231
|
-
compiling_time: float
|
|
232
|
-
transpiling_time: float
|
|
233
|
-
preprocess_time: float
|
|
234
|
-
solving_time: float
|
|
235
|
-
decoding_time: float
|
|
236
|
-
postprocess_time: float
|
|
237
|
-
def __new__(cls,compiling_time
|
|
238
|
-
def __str__(self) -> str:
|
|
232
|
+
compiling_time: builtins.float
|
|
233
|
+
transpiling_time: builtins.float
|
|
234
|
+
preprocess_time: builtins.float
|
|
235
|
+
solving_time: builtins.float
|
|
236
|
+
decoding_time: builtins.float
|
|
237
|
+
postprocess_time: builtins.float
|
|
238
|
+
def __new__(cls,compiling_time:builtins.float=0.0, transpiling_time:builtins.float=0.0, preprocess_time:builtins.float=0.0, solving_time:builtins.float=0.0, decoding_time:builtins.float=0.0, postprocess_time:builtins.float=0.0): ...
|
|
239
|
+
def __str__(self) -> builtins.str:
|
|
239
240
|
...
|
|
240
241
|
|
|
241
|
-
def __repr__(self) -> str:
|
|
242
|
+
def __repr__(self) -> builtins.str:
|
|
242
243
|
...
|
|
243
244
|
|
|
244
|
-
def total(self) -> float:
|
|
245
|
+
def total(self) -> builtins.float:
|
|
245
246
|
...
|
|
246
247
|
|
|
247
248
|
|
|
248
249
|
class SparseVarValues:
|
|
249
|
-
name: str
|
|
250
|
-
values: dict[typing.Tuple[int, ...], float]
|
|
250
|
+
name: builtins.str
|
|
251
|
+
values: builtins.dict[typing.Tuple[int, ...], builtins.float]
|
|
251
252
|
var_type: VarType
|
|
252
253
|
shape: tuple
|
|
253
|
-
def __new__(cls,name,values,shape,var_type
|
|
254
|
-
def __str__(self) -> str:
|
|
254
|
+
def __new__(cls,name:builtins.str, values:typing.Mapping[typing.Tuple[int, ...], builtins.float], shape:typing.Sequence[builtins.int], var_type:VarType=...): ...
|
|
255
|
+
def __str__(self) -> builtins.str:
|
|
255
256
|
...
|
|
256
257
|
|
|
257
|
-
def __repr__(self) -> str:
|
|
258
|
+
def __repr__(self) -> builtins.str:
|
|
258
259
|
...
|
|
259
260
|
|
|
260
261
|
@staticmethod
|
|
261
|
-
def from_array(name,array,var_type
|
|
262
|
+
def from_array(name:builtins.str, array:numpy.typing.NDArray[numpy.float64], var_type:VarType=...) -> SparseVarValues:
|
|
262
263
|
...
|
|
263
264
|
|
|
264
265
|
def to_dense(self) -> numpy.typing.NDArray[numpy.float64]:
|
|
@@ -266,28 +267,28 @@ class SparseVarValues:
|
|
|
266
267
|
|
|
267
268
|
|
|
268
269
|
class SystemTime:
|
|
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]
|
|
274
|
-
def __new__(cls,posting_time
|
|
275
|
-
def __str__(self) -> str:
|
|
270
|
+
posting_time: typing.Optional[builtins.float]
|
|
271
|
+
request_queuing_time: typing.Optional[builtins.float]
|
|
272
|
+
fetching_problem_time: typing.Optional[builtins.float]
|
|
273
|
+
fetching_result_time: typing.Optional[builtins.float]
|
|
274
|
+
deserialize_time: typing.Optional[builtins.float]
|
|
275
|
+
def __new__(cls,posting_time:typing.Optional[builtins.float]=None, request_queuing_time:typing.Optional[builtins.float]=None, fetching_problem_time:typing.Optional[builtins.float]=None, fetching_result_time:typing.Optional[builtins.float]=None, deserialize_time:typing.Optional[builtins.float]=None): ...
|
|
276
|
+
def __str__(self) -> builtins.str:
|
|
276
277
|
...
|
|
277
278
|
|
|
278
|
-
def __repr__(self) -> str:
|
|
279
|
+
def __repr__(self) -> builtins.str:
|
|
279
280
|
...
|
|
280
281
|
|
|
281
282
|
|
|
282
283
|
class Violation:
|
|
283
|
-
name: str
|
|
284
|
-
total_violation: float
|
|
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]): ...
|
|
287
|
-
def __str__(self) -> str:
|
|
284
|
+
name: builtins.str
|
|
285
|
+
total_violation: builtins.float
|
|
286
|
+
expr_values: builtins.dict[typing.Tuple[int, ...], builtins.float]
|
|
287
|
+
def __new__(cls,name:builtins.str, total_violation:builtins.float, expr_values:typing.Mapping[typing.Tuple[int, ...], builtins.float]): ...
|
|
288
|
+
def __str__(self) -> builtins.str:
|
|
288
289
|
...
|
|
289
290
|
|
|
290
|
-
def __repr__(self) -> str:
|
|
291
|
+
def __repr__(self) -> builtins.str:
|
|
291
292
|
...
|
|
292
293
|
|
|
293
294
|
|
jijmodeling/range/__init__.pyi
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
# This file is automatically generated by pyo3_stub_gen
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
|
+
import builtins
|
|
4
5
|
import typing
|
|
5
6
|
from . import size
|
|
6
7
|
from . import value
|
|
7
8
|
|
|
8
|
-
def at_least(bd:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
9
|
+
def at_least(bd:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
9
10
|
r"""
|
|
10
11
|
`at_least(lb)` returns a closed interval $[\mathtt{lb}, \infty)$; that is, $x \in \mathtt{at\_least(lb)} \iff x \geq \mathtt{lb}$.
|
|
11
12
|
"""
|
|
12
13
|
...
|
|
13
14
|
|
|
14
|
-
def at_most(bd:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
15
|
+
def at_most(bd:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
15
16
|
r"""
|
|
16
17
|
`at_most(ub)` returns a closed interval $(-\infty, \mathtt{ub}]$; that is, $x \in \mathtt{at\_most(ub)} \iff x \leq \mathtt{ub}$.
|
|
17
18
|
"""
|
|
18
19
|
...
|
|
19
20
|
|
|
20
|
-
def closed(lb:int | float,ub:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
21
|
+
def closed(lb:builtins.int | builtins.float, ub:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
21
22
|
r"""
|
|
22
23
|
`closed(lb, ub)` returns a closed interval $[\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{closed(lb, ub)} \iff \mathtt{lb} \leq x \leq \mathtt{ub}$
|
|
23
24
|
"""
|
|
24
25
|
...
|
|
25
26
|
|
|
26
|
-
def closed_open(lb:int | float,ub:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
27
|
+
def closed_open(lb:builtins.int | builtins.float, ub:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
27
28
|
r"""
|
|
28
29
|
`closed_open(lb, ub)` returns a upper half-open interval $[\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{closed\_open(lb, ub)} \iff \mathtt{lb} \leq x < \mathtt{ub}$. For size range, it is same as the python's standard `range(lb, ub)` function.
|
|
29
30
|
"""
|
|
30
31
|
...
|
|
31
32
|
|
|
32
|
-
def greater_than(bd:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
33
|
+
def greater_than(bd:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
33
34
|
r"""
|
|
34
35
|
`greater_than(lb)` returns an open interval $(\mathtt{lb}, \infty)$; that is, $x \in \mathtt{greater\_than(lb)} \iff x > \mathtt{lb}$.
|
|
35
36
|
"""
|
|
36
37
|
...
|
|
37
38
|
|
|
38
|
-
def less_than(bd:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
39
|
+
def less_than(bd:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
39
40
|
r"""
|
|
40
41
|
`less_than(ub)` returns an open interval $(-\infty, \mathtt{ub})$; that is, $x \in \mathtt{less\_than(ub)} \iff x < \mathtt{ub}$. For size range, it is same as the python's standard `range(ub)` function.
|
|
41
42
|
"""
|
|
42
43
|
...
|
|
43
44
|
|
|
44
|
-
def open(lb:int | float,ub:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
45
|
+
def open(lb:builtins.int | builtins.float, ub:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
45
46
|
r"""
|
|
46
47
|
`open(lb, ub)` returns an open interval $(\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{open(lb, ub)} \iff \mathtt{lb} < x < \mathtt{ub}$
|
|
47
48
|
"""
|
|
48
49
|
...
|
|
49
50
|
|
|
50
|
-
def open_closed(lb:int | float,ub:int | float) -> dict[str, dict[str, int] | typing.Literal['Unbounded']] | dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
51
|
+
def open_closed(lb:builtins.int | builtins.float, ub:builtins.int | builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
51
52
|
r"""
|
|
52
53
|
`open_closed(lb, ub)` returns a lower half-open interval $(\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{open\_closed(lb, ub)} \iff \mathtt{lb} < x \leq \mathtt{ub}$.
|
|
53
54
|
"""
|
jijmodeling/range/size.pyi
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
# This file is automatically generated by pyo3_stub_gen
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
|
+
import builtins
|
|
4
5
|
import typing
|
|
5
6
|
|
|
6
|
-
def at_least(arg:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
7
|
+
def at_least(arg:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
7
8
|
r"""
|
|
8
9
|
`at_least(lb)` returns a closed interval $[\mathtt{lb}, \infty)$; that is, $x \in \mathtt{at\_least(lb)} \iff x \geq \mathtt{lb}$.
|
|
9
10
|
"""
|
|
10
11
|
...
|
|
11
12
|
|
|
12
|
-
def at_most(bd:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
13
|
+
def at_most(bd:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
13
14
|
r"""
|
|
14
15
|
`at_most(ub)` returns a closed interval $(-\infty, \mathtt{ub}]$; that is, $x \in \mathtt{at\_most(ub)} \iff x \leq \mathtt{ub}$.
|
|
15
16
|
"""
|
|
16
17
|
...
|
|
17
18
|
|
|
18
|
-
def closed(lb:int,ub:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
19
|
+
def closed(lb:builtins.int, ub:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
19
20
|
r"""
|
|
20
21
|
`closed(lb, ub)` returns a closed interval $[\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{closed(lb, ub)} \iff \mathtt{lb} \leq x \leq \mathtt{ub}$
|
|
21
22
|
"""
|
|
22
23
|
...
|
|
23
24
|
|
|
24
|
-
def closed_open(lb:int,ub:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
25
|
+
def closed_open(lb:builtins.int, ub:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
25
26
|
r"""
|
|
26
27
|
`closed_open(lb, ub)` returns a upper half-open interval $[\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{closed\_open(lb, ub)} \iff \mathtt{lb} \leq x < \mathtt{ub}$. For size range, it is same as the python's standard `range(lb, ub)` function.
|
|
27
28
|
"""
|
|
28
29
|
...
|
|
29
30
|
|
|
30
|
-
def greater_than(arg:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
31
|
+
def greater_than(arg:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
31
32
|
r"""
|
|
32
33
|
`greater_than(lb)` returns an open interval $(\mathtt{lb}, \infty)$; that is, $x \in \mathtt{greater\_than(lb)} \iff x > \mathtt{lb}$.
|
|
33
34
|
"""
|
|
34
35
|
...
|
|
35
36
|
|
|
36
|
-
def less_than(bd:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
37
|
+
def less_than(bd:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
37
38
|
r"""
|
|
38
39
|
`less_than(ub)` returns an open interval $(-\infty, \mathtt{ub})$; that is, $x \in \mathtt{less\_than(ub)} \iff x < \mathtt{ub}$. For size range, it is same as the python's standard `range(ub)` function.
|
|
39
40
|
"""
|
|
40
41
|
...
|
|
41
42
|
|
|
42
|
-
def open(lb:int,ub:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
43
|
+
def open(lb:builtins.int, ub:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
43
44
|
r"""
|
|
44
45
|
`open(lb, ub)` returns an open interval $(\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{open(lb, ub)} \iff \mathtt{lb} < x < \mathtt{ub}$
|
|
45
46
|
"""
|
|
46
47
|
...
|
|
47
48
|
|
|
48
|
-
def open_closed(lb:int,ub:int) -> dict[str, dict[str, int] | typing.Literal['Unbounded']]:
|
|
49
|
+
def open_closed(lb:builtins.int, ub:builtins.int) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']]:
|
|
49
50
|
r"""
|
|
50
51
|
`open_closed(lb, ub)` returns a lower half-open interval $(\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{open\_closed(lb, ub)} \iff \mathtt{lb} < x \leq \mathtt{ub}$.
|
|
51
52
|
"""
|
jijmodeling/range/value.pyi
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
# This file is automatically generated by pyo3_stub_gen
|
|
2
2
|
# ruff: noqa: E501, F401
|
|
3
3
|
|
|
4
|
+
import builtins
|
|
4
5
|
import typing
|
|
5
6
|
|
|
6
|
-
def at_least(arg:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
7
|
+
def at_least(arg:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
7
8
|
r"""
|
|
8
9
|
`at_least(lb)` returns a closed interval $[\mathtt{lb}, \infty)$; that is, $x \in \mathtt{at\_least(lb)} \iff x \geq \mathtt{lb}$.
|
|
9
10
|
"""
|
|
10
11
|
...
|
|
11
12
|
|
|
12
|
-
def at_most(bd:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
13
|
+
def at_most(bd:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
13
14
|
r"""
|
|
14
15
|
`at_most(ub)` returns a closed interval $(-\infty, \mathtt{ub}]$; that is, $x \in \mathtt{at\_most(ub)} \iff x \leq \mathtt{ub}$.
|
|
15
16
|
"""
|
|
16
17
|
...
|
|
17
18
|
|
|
18
|
-
def closed(lb:float,ub:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
19
|
+
def closed(lb:builtins.float, ub:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
19
20
|
r"""
|
|
20
21
|
`closed(lb, ub)` returns a closed interval $[\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{closed(lb, ub)} \iff \mathtt{lb} \leq x \leq \mathtt{ub}$
|
|
21
22
|
"""
|
|
22
23
|
...
|
|
23
24
|
|
|
24
|
-
def closed_open(lb:float,ub:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
25
|
+
def closed_open(lb:builtins.float, ub:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
25
26
|
r"""
|
|
26
27
|
`closed_open(lb, ub)` returns a upper half-open interval $[\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{closed\_open(lb, ub)} \iff \mathtt{lb} \leq x < \mathtt{ub}$. For size range, it is same as the python's standard `range(lb, ub)` function.
|
|
27
28
|
"""
|
|
28
29
|
...
|
|
29
30
|
|
|
30
|
-
def greater_than(arg:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
31
|
+
def greater_than(arg:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
31
32
|
r"""
|
|
32
33
|
`greater_than(lb)` returns an open interval $(\mathtt{lb}, \infty)$; that is, $x \in \mathtt{greater\_than(lb)} \iff x > \mathtt{lb}$.
|
|
33
34
|
"""
|
|
34
35
|
...
|
|
35
36
|
|
|
36
|
-
def less_than(bd:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
37
|
+
def less_than(bd:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
37
38
|
r"""
|
|
38
39
|
`less_than(ub)` returns an open interval $(-\infty, \mathtt{ub})$; that is, $x \in \mathtt{less\_than(ub)} \iff x < \mathtt{ub}$. For size range, it is same as the python's standard `range(ub)` function.
|
|
39
40
|
"""
|
|
40
41
|
...
|
|
41
42
|
|
|
42
|
-
def open(lb:float,ub:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
43
|
+
def open(lb:builtins.float, ub:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
43
44
|
r"""
|
|
44
45
|
`open(lb, ub)` returns an open interval $(\mathtt{lb}, \mathtt{ub})$; that is, $x \in \mathtt{open(lb, ub)} \iff \mathtt{lb} < x < \mathtt{ub}$
|
|
45
46
|
"""
|
|
46
47
|
...
|
|
47
48
|
|
|
48
|
-
def open_closed(lb:float,ub:float) -> dict[str, dict[str, float] | typing.Literal['Unbounded']]:
|
|
49
|
+
def open_closed(lb:builtins.float, ub:builtins.float) -> builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]:
|
|
49
50
|
r"""
|
|
50
51
|
`open_closed(lb, ub)` returns a lower half-open interval $(\mathtt{lb}, \mathtt{ub}]$; that is, $x \in \mathtt{open\_closed(lb, ub)} \iff \mathtt{lb} < x \leq \mathtt{ub}$.
|
|
51
52
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: jijmodeling
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.11.0
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Operating System :: POSIX :: Linux
|
|
6
6
|
Classifier: Operating System :: MacOS
|
|
@@ -19,7 +19,7 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
|
19
19
|
Requires-Dist: numpy
|
|
20
20
|
Requires-Dist: pandas
|
|
21
21
|
Requires-Dist: orjson >=3.8.0, <4.0.0
|
|
22
|
-
Requires-Dist: ommx >=1.
|
|
22
|
+
Requires-Dist: ommx >=1.6.0, <2.0.0
|
|
23
23
|
Requires-Dist: pyright ; extra == 'test'
|
|
24
24
|
Requires-Dist: pytest ; extra == 'test'
|
|
25
25
|
Requires-Dist: hypothesis ; extra == 'test'
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
jijmodeling-1.11.0.dist-info/METADATA,sha256=nfE5NAY6F7XpqFvrhH5rWajkkjXsL4NcTcGWrsoH1Yg,12942
|
|
2
|
+
jijmodeling-1.11.0.dist-info/WHEEL,sha256=VrcPSJDMGodGagx4CnYkxjI1tJrcF_MJFDuTS_5GdKA,109
|
|
3
|
+
jijmodeling-1.11.0.dist-info/licenses/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
|
|
4
|
+
jijmodeling/experimental.py,sha256=Of-tUY3kfpFHpjGbIcclbMenCP2BMW07me895YH7tG8,575
|
|
5
|
+
jijmodeling/experimental.pyi,sha256=lBo4LxYFm-C4m2oC6XVYkBON6EVbbZjWl2NmMziPhbw,11275
|
|
6
|
+
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
jijmodeling/dataset.pyi,sha256=3kKSch5XR16pEZA0c_Xr_J9Ai_IAv3aTqExR7iCd-pk,4083
|
|
8
|
+
jijmodeling/range/value.py,sha256=aRwQGzpH5MZgpgKvd8gxMkMRyloq0S5zv87Kv3PHSd4,532
|
|
9
|
+
jijmodeling/range/size.py,sha256=gBwFfLuO4GprRfjVWyCplEvFJri8cxPRtuEd5uXzo7Q,528
|
|
10
|
+
jijmodeling/range/size.pyi,sha256=qV7OxCU_sHBVrH7Vyf1tOpClQphMlPD3ZzBDLVacRWI,2830
|
|
11
|
+
jijmodeling/range/__init__.py,sha256=4HqNNHBnK4H3EDl7nV7crz9EIEr85Uc3APnI6xvz4OQ,529
|
|
12
|
+
jijmodeling/range/__init__.pyi,sha256=VM36FPMICfAW54EAZKIrYFbams01fcCuaSn58MR54Qc,3911
|
|
13
|
+
jijmodeling/range/value.pyi,sha256=rm6hAOACwTUYPNlYOLAmqMKoT7c2XQUMH6HyzvhbVjc,2870
|
|
14
|
+
jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
|
|
15
|
+
jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
|
|
16
|
+
jijmodeling/__init__.pyi,sha256=ZXoglsqQuuqboaPFVcXSnJ7O92AGuoPSoyjaBqwTLYo,154968
|
|
17
|
+
jijmodeling/_jijmodeling.cpython-311-aarch64-linux-gnu.so,sha256=7p_fpXyxtY1L6jNdFs_7_M6mEiJ74EZZrC9Gs1gypy4,10527120
|
|
18
|
+
jijmodeling-1.11.0.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
jijmodeling-1.10.2.dist-info/METADATA,sha256=KuAW1v9euOwEjW3il9b_qJ83jezd8cNDB4XCD2MhKYg,12942
|
|
2
|
-
jijmodeling-1.10.2.dist-info/WHEEL,sha256=ihzFq5jcE5uDy_WZwQrqjoVP7mz_dNm98Pf_oUsksmM,109
|
|
3
|
-
jijmodeling-1.10.2.dist-info/licenses/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
|
|
4
|
-
jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
jijmodeling/experimental.pyi,sha256=PBGw5LutDarKtaP3HTzByjV_FPRrPvv4NAZ_XWUZuGA,9018
|
|
6
|
-
jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
|
|
7
|
-
jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
|
|
8
|
-
jijmodeling/experimental.py,sha256=Of-tUY3kfpFHpjGbIcclbMenCP2BMW07me895YH7tG8,575
|
|
9
|
-
jijmodeling/dataset.pyi,sha256=LSYVLeyvQRq-Xmql8zfjavbmQwFHjU5Ir_GGyeg0q2Y,4005
|
|
10
|
-
jijmodeling/range/__init__.py,sha256=4HqNNHBnK4H3EDl7nV7crz9EIEr85Uc3APnI6xvz4OQ,529
|
|
11
|
-
jijmodeling/range/size.py,sha256=gBwFfLuO4GprRfjVWyCplEvFJri8cxPRtuEd5uXzo7Q,528
|
|
12
|
-
jijmodeling/range/value.pyi,sha256=L4RItu9VN-TImJyUpkednuVltdTMp6uYyTZruZ3Eyiw,2382
|
|
13
|
-
jijmodeling/range/size.pyi,sha256=xurzAdYokb4T7LiyBSmTs8g6KAH1Fz2iTEtGbnXBLBk,2342
|
|
14
|
-
jijmodeling/range/__init__.pyi,sha256=YJxtWXA8aTVm3vZyPF0mGob0SfwEwKiK-i95ZUsOI6E,2955
|
|
15
|
-
jijmodeling/range/value.py,sha256=aRwQGzpH5MZgpgKvd8gxMkMRyloq0S5zv87Kv3PHSd4,532
|
|
16
|
-
jijmodeling/__init__.pyi,sha256=q-wYEZS2VtKGg6P4_L68ZFOfZVbDUO4YIBSDmWZpG1I,142695
|
|
17
|
-
jijmodeling/_jijmodeling.cpython-311-aarch64-linux-gnu.so,sha256=RvpO0-gRiQCjDcU2lAdchj2Bi420giBYpzeydgYo7-Q,9070232
|
|
18
|
-
jijmodeling-1.10.2.dist-info/RECORD,,
|
|
File without changes
|