jijmodeling 1.13.1__cp38-abi3-manylinux_2_28_aarch64.whl → 1.13.3__cp38-abi3-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 CHANGED
@@ -8,7 +8,7 @@ import typing
8
8
  from . import dataset
9
9
  from . import experimental
10
10
  from . import range
11
- from enum import Enum, auto
11
+ from enum import Enum
12
12
 
13
13
  __version__: builtins.str
14
14
  class AbsOp:
@@ -26,7 +26,8 @@ class AbsOp:
26
26
  -----
27
27
  The `AbsOp` class does not have a constructor.
28
28
  """
29
- operand: typing.Any
29
+ @property
30
+ def operand(self) -> typing.Any: ...
30
31
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
31
32
  r"""
32
33
  Set the LaTeX representation of the object.
@@ -36,74 +37,28 @@ class AbsOp:
36
37
  -----
37
38
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
38
39
  """
39
- ...
40
-
41
- def __str__(self) -> builtins.str:
42
- ...
43
-
44
- def __repr__(self) -> builtins.str:
45
- ...
46
-
47
- def _repr_latex_(self) -> builtins.str:
48
- ...
49
-
50
- def __eq__(self, other:typing.Any) -> typing.Any:
51
- ...
52
-
53
- def __ne__(self, other:typing.Any) -> typing.Any:
54
- ...
55
-
56
- def __lt__(self, other:typing.Any) -> typing.Any:
57
- ...
58
-
59
- def __le__(self, other:typing.Any) -> typing.Any:
60
- ...
61
-
62
- def __gt__(self, other:typing.Any) -> typing.Any:
63
- ...
64
-
65
- def __ge__(self, other:typing.Any) -> typing.Any:
66
- ...
67
-
68
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
69
- ...
70
-
71
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
72
- ...
73
-
74
- def __mod__(self, other:typing.Any) -> typing.Any:
75
- ...
76
-
77
- def __rmod__(self, other:typing.Any) -> typing.Any:
78
- ...
79
-
80
- def __truediv__(self, other:typing.Any) -> typing.Any:
81
- ...
82
-
83
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
84
- ...
85
-
86
- def __mul__(self, other:typing.Any) -> typing.Any:
87
- ...
88
-
89
- def __rmul__(self, other:typing.Any) -> typing.Any:
90
- ...
91
-
92
- def __sub__(self, other:typing.Any) -> typing.Any:
93
- ...
94
-
95
- def __rsub__(self, other:typing.Any) -> typing.Any:
96
- ...
97
-
98
- def __add__(self, other:typing.Any) -> typing.Any:
99
- ...
100
-
101
- def __radd__(self, other:typing.Any) -> typing.Any:
102
- ...
103
-
104
- def __neg__(self) -> typing.Any:
105
- ...
106
-
40
+ def __str__(self) -> builtins.str: ...
41
+ def __repr__(self) -> builtins.str: ...
42
+ def _repr_latex_(self) -> builtins.str: ...
43
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
44
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
45
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
46
+ def __le__(self, other:typing.Any) -> typing.Any: ...
47
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
48
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
49
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
50
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
51
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
52
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
53
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
54
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
55
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
56
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
57
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
58
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
59
+ def __add__(self, other:typing.Any) -> typing.Any: ...
60
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
61
+ def __neg__(self) -> typing.Any: ...
107
62
 
108
63
  class AddOp:
109
64
  r"""
@@ -123,7 +78,8 @@ class AddOp:
123
78
  instantiation method is by calling the addition operation on other
124
79
  expressions.
125
80
  """
126
- terms: builtins.list[typing.Any]
81
+ @property
82
+ def terms(self) -> builtins.list[typing.Any]: ...
127
83
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
128
84
  r"""
129
85
  Set the LaTeX representation of the object.
@@ -133,74 +89,28 @@ class AddOp:
133
89
  -----
134
90
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
135
91
  """
136
- ...
137
-
138
- def __str__(self) -> builtins.str:
139
- ...
140
-
141
- def __repr__(self) -> builtins.str:
142
- ...
143
-
144
- def _repr_latex_(self) -> builtins.str:
145
- ...
146
-
147
- def __eq__(self, other:typing.Any) -> typing.Any:
148
- ...
149
-
150
- def __ne__(self, other:typing.Any) -> typing.Any:
151
- ...
152
-
153
- def __lt__(self, other:typing.Any) -> typing.Any:
154
- ...
155
-
156
- def __le__(self, other:typing.Any) -> typing.Any:
157
- ...
158
-
159
- def __gt__(self, other:typing.Any) -> typing.Any:
160
- ...
161
-
162
- def __ge__(self, other:typing.Any) -> typing.Any:
163
- ...
164
-
165
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
166
- ...
167
-
168
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
169
- ...
170
-
171
- def __mod__(self, other:typing.Any) -> typing.Any:
172
- ...
173
-
174
- def __rmod__(self, other:typing.Any) -> typing.Any:
175
- ...
176
-
177
- def __truediv__(self, other:typing.Any) -> typing.Any:
178
- ...
179
-
180
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
181
- ...
182
-
183
- def __mul__(self, other:typing.Any) -> typing.Any:
184
- ...
185
-
186
- def __rmul__(self, other:typing.Any) -> typing.Any:
187
- ...
188
-
189
- def __sub__(self, other:typing.Any) -> typing.Any:
190
- ...
191
-
192
- def __rsub__(self, other:typing.Any) -> typing.Any:
193
- ...
194
-
195
- def __add__(self, other:typing.Any) -> typing.Any:
196
- ...
197
-
198
- def __radd__(self, other:typing.Any) -> typing.Any:
199
- ...
200
-
201
- def __neg__(self) -> typing.Any:
202
- ...
203
-
92
+ def __str__(self) -> builtins.str: ...
93
+ def __repr__(self) -> builtins.str: ...
94
+ def _repr_latex_(self) -> builtins.str: ...
95
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
96
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
97
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
98
+ def __le__(self, other:typing.Any) -> typing.Any: ...
99
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
100
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
101
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
102
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
103
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
104
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
105
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
106
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
107
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
108
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
109
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
110
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
111
+ def __add__(self, other:typing.Any) -> typing.Any: ...
112
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
113
+ def __neg__(self) -> typing.Any: ...
204
114
 
205
115
  class AndOp:
206
116
  r"""
@@ -218,7 +128,8 @@ class AndOp:
218
128
  -----
219
129
  The `AndOp` class does not have a constructor.
220
130
  """
221
- terms: builtins.list[typing.Any]
131
+ @property
132
+ def terms(self) -> builtins.list[typing.Any]: ...
222
133
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
223
134
  r"""
224
135
  Set the LaTeX representation of the object.
@@ -228,17 +139,9 @@ class AndOp:
228
139
  -----
229
140
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
230
141
  """
231
- ...
232
-
233
- def __str__(self) -> builtins.str:
234
- ...
235
-
236
- def __repr__(self) -> builtins.str:
237
- ...
238
-
239
- def _repr_latex_(self) -> builtins.str:
240
- ...
241
-
142
+ def __str__(self) -> builtins.str: ...
143
+ def __repr__(self) -> builtins.str: ...
144
+ def _repr_latex_(self) -> builtins.str: ...
242
145
 
243
146
  class ArrayLength:
244
147
  r"""
@@ -271,10 +174,13 @@ class ArrayLength:
271
174
 
272
175
  ```
273
176
  """
274
- array: Placeholder | Element | Subscript
275
- axis: builtins.int
276
- description: typing.Optional[builtins.str]
277
- def __new__(cls,array:Placeholder | Element | Subscript, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
177
+ @property
178
+ def array(self) -> Placeholder | Element | Subscript: ...
179
+ @property
180
+ def axis(self) -> builtins.int: ...
181
+ @property
182
+ def description(self) -> typing.Optional[builtins.str]: ...
183
+ def __new__(cls, array:Placeholder | Element | Subscript, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength: ...
278
184
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
279
185
  r"""
280
186
  Set the LaTeX representation of the object.
@@ -284,74 +190,28 @@ class ArrayLength:
284
190
  -----
285
191
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
286
192
  """
287
- ...
288
-
289
- def __str__(self) -> builtins.str:
290
- ...
291
-
292
- def __repr__(self) -> builtins.str:
293
- ...
294
-
295
- def _repr_latex_(self) -> builtins.str:
296
- ...
297
-
298
- def __eq__(self, other:typing.Any) -> typing.Any:
299
- ...
300
-
301
- def __ne__(self, other:typing.Any) -> typing.Any:
302
- ...
303
-
304
- def __lt__(self, other:typing.Any) -> typing.Any:
305
- ...
306
-
307
- def __le__(self, other:typing.Any) -> typing.Any:
308
- ...
309
-
310
- def __gt__(self, other:typing.Any) -> typing.Any:
311
- ...
312
-
313
- def __ge__(self, other:typing.Any) -> typing.Any:
314
- ...
315
-
316
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
317
- ...
318
-
319
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
320
- ...
321
-
322
- def __mod__(self, other:typing.Any) -> typing.Any:
323
- ...
324
-
325
- def __rmod__(self, other:typing.Any) -> typing.Any:
326
- ...
327
-
328
- def __truediv__(self, other:typing.Any) -> typing.Any:
329
- ...
330
-
331
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
332
- ...
333
-
334
- def __mul__(self, other:typing.Any) -> typing.Any:
335
- ...
336
-
337
- def __rmul__(self, other:typing.Any) -> typing.Any:
338
- ...
339
-
340
- def __sub__(self, other:typing.Any) -> typing.Any:
341
- ...
342
-
343
- def __rsub__(self, other:typing.Any) -> typing.Any:
344
- ...
345
-
346
- def __add__(self, other:typing.Any) -> typing.Any:
347
- ...
348
-
349
- def __radd__(self, other:typing.Any) -> typing.Any:
350
- ...
351
-
352
- def __neg__(self) -> typing.Any:
353
- ...
354
-
193
+ def __str__(self) -> builtins.str: ...
194
+ def __repr__(self) -> builtins.str: ...
195
+ def _repr_latex_(self) -> builtins.str: ...
196
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
197
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
198
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
199
+ def __le__(self, other:typing.Any) -> typing.Any: ...
200
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
201
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
202
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
203
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
204
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
205
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
206
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
207
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
208
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
209
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
210
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
211
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
212
+ def __add__(self, other:typing.Any) -> typing.Any: ...
213
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
214
+ def __neg__(self) -> typing.Any: ...
355
215
 
356
216
  class BinaryVar:
357
217
  r"""
@@ -404,20 +264,18 @@ class BinaryVar:
404
264
 
405
265
  ```
406
266
  """
407
- name: builtins.str
408
- description: builtins.str
409
- ndim: builtins.int
410
- shape: tuple
411
- def __new__(cls,name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
412
- def __getitem__(self, index:typing.Any) -> typing.Any:
413
- ...
414
-
415
- def __truediv__(self, other:typing.Any) -> typing.Any:
416
- ...
417
-
418
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
419
- ...
420
-
267
+ @property
268
+ def name(self) -> builtins.str: ...
269
+ @property
270
+ def description(self) -> builtins.str: ...
271
+ @property
272
+ def ndim(self) -> builtins.int: ...
273
+ @property
274
+ def shape(self) -> tuple: ...
275
+ def __new__(cls, name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> BinaryVar: ...
276
+ def __getitem__(self, index:typing.Any) -> typing.Any: ...
277
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
278
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
421
279
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
422
280
  r"""
423
281
  Set the LaTeX representation of the object.
@@ -427,62 +285,24 @@ class BinaryVar:
427
285
  -----
428
286
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
429
287
  """
430
- ...
431
-
432
- def __str__(self) -> builtins.str:
433
- ...
434
-
435
- def __repr__(self) -> builtins.str:
436
- ...
437
-
438
- def _repr_latex_(self) -> builtins.str:
439
- ...
440
-
441
- def __eq__(self, other:typing.Any) -> typing.Any:
442
- ...
443
-
444
- def __ne__(self, other:typing.Any) -> typing.Any:
445
- ...
446
-
447
- def __lt__(self, other:typing.Any) -> typing.Any:
448
- ...
449
-
450
- def __le__(self, other:typing.Any) -> typing.Any:
451
- ...
452
-
453
- def __gt__(self, other:typing.Any) -> typing.Any:
454
- ...
455
-
456
- def __ge__(self, other:typing.Any) -> typing.Any:
457
- ...
458
-
459
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
460
- ...
461
-
462
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
463
- ...
464
-
465
- def __mul__(self, other:typing.Any) -> typing.Any:
466
- ...
467
-
468
- def __rmul__(self, other:typing.Any) -> typing.Any:
469
- ...
470
-
471
- def __sub__(self, other:typing.Any) -> typing.Any:
472
- ...
473
-
474
- def __rsub__(self, other:typing.Any) -> typing.Any:
475
- ...
476
-
477
- def __add__(self, other:typing.Any) -> typing.Any:
478
- ...
479
-
480
- def __radd__(self, other:typing.Any) -> typing.Any:
481
- ...
482
-
483
- def __neg__(self) -> typing.Any:
484
- ...
485
-
288
+ def __str__(self) -> builtins.str: ...
289
+ def __repr__(self) -> builtins.str: ...
290
+ def _repr_latex_(self) -> builtins.str: ...
291
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
292
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
293
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
294
+ def __le__(self, other:typing.Any) -> typing.Any: ...
295
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
296
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
297
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
298
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
299
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
300
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
301
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
302
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
303
+ def __add__(self, other:typing.Any) -> typing.Any: ...
304
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
305
+ def __neg__(self) -> typing.Any: ...
486
306
 
487
307
  class CeilOp:
488
308
  r"""
@@ -499,7 +319,8 @@ class CeilOp:
499
319
  -----
500
320
  The `CeilOp` class does not have a constructor.
501
321
  """
502
- operand: typing.Any
322
+ @property
323
+ def operand(self) -> typing.Any: ...
503
324
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
504
325
  r"""
505
326
  Set the LaTeX representation of the object.
@@ -509,74 +330,28 @@ class CeilOp:
509
330
  -----
510
331
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
511
332
  """
512
- ...
513
-
514
- def __str__(self) -> builtins.str:
515
- ...
516
-
517
- def __repr__(self) -> builtins.str:
518
- ...
519
-
520
- def _repr_latex_(self) -> builtins.str:
521
- ...
522
-
523
- def __eq__(self, other:typing.Any) -> typing.Any:
524
- ...
525
-
526
- def __ne__(self, other:typing.Any) -> typing.Any:
527
- ...
528
-
529
- def __lt__(self, other:typing.Any) -> typing.Any:
530
- ...
531
-
532
- def __le__(self, other:typing.Any) -> typing.Any:
533
- ...
534
-
535
- def __gt__(self, other:typing.Any) -> typing.Any:
536
- ...
537
-
538
- def __ge__(self, other:typing.Any) -> typing.Any:
539
- ...
540
-
541
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
542
- ...
543
-
544
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
545
- ...
546
-
547
- def __mod__(self, other:typing.Any) -> typing.Any:
548
- ...
549
-
550
- def __rmod__(self, other:typing.Any) -> typing.Any:
551
- ...
552
-
553
- def __truediv__(self, other:typing.Any) -> typing.Any:
554
- ...
555
-
556
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
557
- ...
558
-
559
- def __mul__(self, other:typing.Any) -> typing.Any:
560
- ...
561
-
562
- def __rmul__(self, other:typing.Any) -> typing.Any:
563
- ...
564
-
565
- def __sub__(self, other:typing.Any) -> typing.Any:
566
- ...
567
-
568
- def __rsub__(self, other:typing.Any) -> typing.Any:
569
- ...
570
-
571
- def __add__(self, other:typing.Any) -> typing.Any:
572
- ...
573
-
574
- def __radd__(self, other:typing.Any) -> typing.Any:
575
- ...
576
-
577
- def __neg__(self) -> typing.Any:
578
- ...
579
-
333
+ def __str__(self) -> builtins.str: ...
334
+ def __repr__(self) -> builtins.str: ...
335
+ def _repr_latex_(self) -> builtins.str: ...
336
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
337
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
338
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
339
+ def __le__(self, other:typing.Any) -> typing.Any: ...
340
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
341
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
342
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
343
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
344
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
345
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
346
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
347
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
348
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
349
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
350
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
351
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
352
+ def __add__(self, other:typing.Any) -> typing.Any: ...
353
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
354
+ def __neg__(self) -> typing.Any: ...
580
355
 
581
356
  class Constraint:
582
357
  r"""
@@ -641,22 +416,22 @@ class Constraint:
641
416
 
642
417
  ```
643
418
  """
644
- name: builtins.str
645
- sense: ConstraintSense
646
- left: typing.Any
647
- right: typing.Any
648
- forall: Element | tuple[Element, typing.Optional[typing.Any]] | builtins.list[Element | tuple[Element, typing.Optional[typing.Any]]]
649
- expression: typing.Any
650
- def __new__(cls,name:builtins.str, expression:typing.Any, *, forall:typing.Optional[Element | tuple[Element, typing.Optional[typing.Any]] | typing.Sequence[Element | tuple[Element, typing.Optional[typing.Any]]]]=None): ...
651
- def _repr_latex_(self) -> builtins.str:
652
- ...
653
-
654
- def __str__(self) -> builtins.str:
655
- ...
656
-
657
- def __repr__(self) -> builtins.str:
658
- ...
659
-
419
+ @property
420
+ def name(self) -> builtins.str: ...
421
+ @property
422
+ def sense(self) -> ConstraintSense: ...
423
+ @property
424
+ def left(self) -> typing.Any: ...
425
+ @property
426
+ def right(self) -> typing.Any: ...
427
+ @property
428
+ def forall(self) -> Element | tuple[Element, typing.Optional[typing.Any]] | builtins.list[Element | tuple[Element, typing.Optional[typing.Any]]]: ...
429
+ @property
430
+ def expression(self) -> typing.Any: ...
431
+ def __new__(cls, name:builtins.str, expression:typing.Any, *, forall:typing.Optional[Element | tuple[Element, typing.Optional[typing.Any]] | typing.Sequence[Element | tuple[Element, typing.Optional[typing.Any]]]]=None) -> Constraint: ...
432
+ def _repr_latex_(self) -> builtins.str: ...
433
+ def __str__(self) -> builtins.str: ...
434
+ def __repr__(self) -> builtins.str: ...
660
435
  def is_equality(self) -> builtins.bool:
661
436
  r"""
662
437
  Returns true if the constraint is an equality constraint.
@@ -678,8 +453,6 @@ class Constraint:
678
453
 
679
454
  ```
680
455
  """
681
- ...
682
-
683
456
  def is_inequality(self) -> builtins.bool:
684
457
  r"""
685
458
  Returns true if the constraint is an inequality constraint.
@@ -701,8 +474,6 @@ class Constraint:
701
474
 
702
475
  ```
703
476
  """
704
- ...
705
-
706
477
 
707
478
  class ContinuousVar:
708
479
  r"""
@@ -772,22 +543,22 @@ class ContinuousVar:
772
543
 
773
544
  ```
774
545
  """
775
- name: builtins.str
776
- description: builtins.str
777
- ndim: builtins.int
778
- shape: tuple
779
- lower_bound: typing.Any | Placeholder | Subscript
780
- upper_bound: typing.Any | Placeholder | Subscript
781
- def __new__(cls,name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
782
- def __getitem__(self, index:typing.Any) -> typing.Any:
783
- ...
784
-
785
- def __truediv__(self, other:typing.Any) -> typing.Any:
786
- ...
787
-
788
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
789
- ...
790
-
546
+ @property
547
+ def name(self) -> builtins.str: ...
548
+ @property
549
+ def description(self) -> builtins.str: ...
550
+ @property
551
+ def ndim(self) -> builtins.int: ...
552
+ @property
553
+ def shape(self) -> tuple: ...
554
+ @property
555
+ def lower_bound(self) -> typing.Any | Placeholder | Subscript: ...
556
+ @property
557
+ def upper_bound(self) -> typing.Any | Placeholder | Subscript: ...
558
+ def __new__(cls, name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ContinuousVar: ...
559
+ def __getitem__(self, index:typing.Any) -> typing.Any: ...
560
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
561
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
791
562
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
792
563
  r"""
793
564
  Set the LaTeX representation of the object.
@@ -797,62 +568,24 @@ class ContinuousVar:
797
568
  -----
798
569
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
799
570
  """
800
- ...
801
-
802
- def __str__(self) -> builtins.str:
803
- ...
804
-
805
- def __repr__(self) -> builtins.str:
806
- ...
807
-
808
- def _repr_latex_(self) -> builtins.str:
809
- ...
810
-
811
- def __eq__(self, other:typing.Any) -> typing.Any:
812
- ...
813
-
814
- def __ne__(self, other:typing.Any) -> typing.Any:
815
- ...
816
-
817
- def __lt__(self, other:typing.Any) -> typing.Any:
818
- ...
819
-
820
- def __le__(self, other:typing.Any) -> typing.Any:
821
- ...
822
-
823
- def __gt__(self, other:typing.Any) -> typing.Any:
824
- ...
825
-
826
- def __ge__(self, other:typing.Any) -> typing.Any:
827
- ...
828
-
829
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
830
- ...
831
-
832
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
833
- ...
834
-
835
- def __mul__(self, other:typing.Any) -> typing.Any:
836
- ...
837
-
838
- def __rmul__(self, other:typing.Any) -> typing.Any:
839
- ...
840
-
841
- def __sub__(self, other:typing.Any) -> typing.Any:
842
- ...
843
-
844
- def __rsub__(self, other:typing.Any) -> typing.Any:
845
- ...
846
-
847
- def __add__(self, other:typing.Any) -> typing.Any:
848
- ...
849
-
850
- def __radd__(self, other:typing.Any) -> typing.Any:
851
- ...
852
-
853
- def __neg__(self) -> typing.Any:
854
- ...
855
-
571
+ def __str__(self) -> builtins.str: ...
572
+ def __repr__(self) -> builtins.str: ...
573
+ def _repr_latex_(self) -> builtins.str: ...
574
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
575
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
576
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
577
+ def __le__(self, other:typing.Any) -> typing.Any: ...
578
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
579
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
580
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
581
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
582
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
583
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
584
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
585
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
586
+ def __add__(self, other:typing.Any) -> typing.Any: ...
587
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
588
+ def __neg__(self) -> typing.Any: ...
856
589
 
857
590
  class CustomPenaltyTerm:
858
591
  r"""
@@ -916,19 +649,16 @@ class CustomPenaltyTerm:
916
649
 
917
650
  ```
918
651
  """
919
- name: builtins.str
920
- expression: typing.Any
921
- forall: Element | tuple[Element, typing.Optional[typing.Any]] | builtins.list[Element | tuple[Element, typing.Optional[typing.Any]]]
922
- def __new__(cls,name:builtins.str, expression:typing.Any, *, forall:typing.Optional[Element | tuple[Element, typing.Optional[typing.Any]] | typing.Sequence[Element | tuple[Element, typing.Optional[typing.Any]]]]=None): ...
923
- def _repr_latex_(self) -> builtins.str:
924
- ...
925
-
926
- def __str__(self) -> builtins.str:
927
- ...
928
-
929
- def __repr__(self) -> builtins.str:
930
- ...
931
-
652
+ @property
653
+ def name(self) -> builtins.str: ...
654
+ @property
655
+ def expression(self) -> typing.Any: ...
656
+ @property
657
+ def forall(self) -> Element | tuple[Element, typing.Optional[typing.Any]] | builtins.list[Element | tuple[Element, typing.Optional[typing.Any]]]: ...
658
+ def __new__(cls, name:builtins.str, expression:typing.Any, *, forall:typing.Optional[Element | tuple[Element, typing.Optional[typing.Any]] | typing.Sequence[Element | tuple[Element, typing.Optional[typing.Any]]]]=None) -> CustomPenaltyTerm: ...
659
+ def _repr_latex_(self) -> builtins.str: ...
660
+ def __str__(self) -> builtins.str: ...
661
+ def __repr__(self) -> builtins.str: ...
932
662
 
933
663
  class DummyIndexedVar:
934
664
  r"""
@@ -970,8 +700,6 @@ class DummyIndexedVar:
970
700
 
971
701
  ```
972
702
  """
973
- ...
974
-
975
703
  def prod(self) -> ProdOp:
976
704
  r"""
977
705
  Take a prod of the decision variable over the elements for which the slice is given and return a `ProdOp` object.
@@ -1002,8 +730,6 @@ class DummyIndexedVar:
1002
730
 
1003
731
  ```
1004
732
  """
1005
- ...
1006
-
1007
733
 
1008
734
  class Element:
1009
735
  r"""
@@ -1093,15 +819,18 @@ class Element:
1093
819
 
1094
820
  ```
1095
821
  """
1096
- name: builtins.str
1097
- ndim: builtins.int
1098
- belong_to: Range | Placeholder | Element | Subscript
1099
- description: typing.Optional[builtins.str]
1100
- shape: tuple
1101
- def __new__(cls,name:builtins.str, belong_to:typing.Any, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
1102
- def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength:
1103
- ...
1104
-
822
+ @property
823
+ def name(self) -> builtins.str: ...
824
+ @property
825
+ def ndim(self) -> builtins.int: ...
826
+ @property
827
+ def belong_to(self) -> Range | Placeholder | Element | Subscript: ...
828
+ @property
829
+ def description(self) -> typing.Optional[builtins.str]: ...
830
+ @property
831
+ def shape(self) -> tuple: ...
832
+ def __new__(cls, name:builtins.str, belong_to:typing.Any, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> Element: ...
833
+ def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength: ...
1105
834
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1106
835
  r"""
1107
836
  Set the LaTeX representation of the object.
@@ -1111,77 +840,29 @@ class Element:
1111
840
  -----
1112
841
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1113
842
  """
1114
- ...
1115
-
1116
- def __str__(self) -> builtins.str:
1117
- ...
1118
-
1119
- def __repr__(self) -> builtins.str:
1120
- ...
1121
-
1122
- def _repr_latex_(self) -> builtins.str:
1123
- ...
1124
-
1125
- def __getitem__(self, index:typing.Any) -> Subscript:
1126
- ...
1127
-
1128
- def __eq__(self, other:typing.Any) -> typing.Any:
1129
- ...
1130
-
1131
- def __ne__(self, other:typing.Any) -> typing.Any:
1132
- ...
1133
-
1134
- def __lt__(self, other:typing.Any) -> typing.Any:
1135
- ...
1136
-
1137
- def __le__(self, other:typing.Any) -> typing.Any:
1138
- ...
1139
-
1140
- def __gt__(self, other:typing.Any) -> typing.Any:
1141
- ...
1142
-
1143
- def __ge__(self, other:typing.Any) -> typing.Any:
1144
- ...
1145
-
1146
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1147
- ...
1148
-
1149
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1150
- ...
1151
-
1152
- def __mod__(self, other:typing.Any) -> typing.Any:
1153
- ...
1154
-
1155
- def __rmod__(self, other:typing.Any) -> typing.Any:
1156
- ...
1157
-
1158
- def __truediv__(self, other:typing.Any) -> typing.Any:
1159
- ...
1160
-
1161
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
1162
- ...
1163
-
1164
- def __mul__(self, other:typing.Any) -> typing.Any:
1165
- ...
1166
-
1167
- def __rmul__(self, other:typing.Any) -> typing.Any:
1168
- ...
1169
-
1170
- def __sub__(self, other:typing.Any) -> typing.Any:
1171
- ...
1172
-
1173
- def __rsub__(self, other:typing.Any) -> typing.Any:
1174
- ...
1175
-
1176
- def __add__(self, other:typing.Any) -> typing.Any:
1177
- ...
1178
-
1179
- def __radd__(self, other:typing.Any) -> typing.Any:
1180
- ...
1181
-
1182
- def __neg__(self) -> typing.Any:
1183
- ...
1184
-
843
+ def __str__(self) -> builtins.str: ...
844
+ def __repr__(self) -> builtins.str: ...
845
+ def _repr_latex_(self) -> builtins.str: ...
846
+ def __getitem__(self, index:typing.Any) -> Subscript: ...
847
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
848
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
849
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
850
+ def __le__(self, other:typing.Any) -> typing.Any: ...
851
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
852
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
853
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
854
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
855
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
856
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
857
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
858
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
859
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
860
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
861
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
862
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
863
+ def __add__(self, other:typing.Any) -> typing.Any: ...
864
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
865
+ def __neg__(self) -> typing.Any: ...
1185
866
 
1186
867
  class EqualOp:
1187
868
  r"""
@@ -1199,8 +880,10 @@ class EqualOp:
1199
880
  -----
1200
881
  The `EqualOp` class does not have a constructor.
1201
882
  """
1202
- left: typing.Any
1203
- right: typing.Any
883
+ @property
884
+ def left(self) -> typing.Any: ...
885
+ @property
886
+ def right(self) -> typing.Any: ...
1204
887
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1205
888
  r"""
1206
889
  Set the LaTeX representation of the object.
@@ -1210,17 +893,9 @@ class EqualOp:
1210
893
  -----
1211
894
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1212
895
  """
1213
- ...
1214
-
1215
- def __str__(self) -> builtins.str:
1216
- ...
1217
-
1218
- def __repr__(self) -> builtins.str:
1219
- ...
1220
-
1221
- def _repr_latex_(self) -> builtins.str:
1222
- ...
1223
-
896
+ def __str__(self) -> builtins.str: ...
897
+ def __repr__(self) -> builtins.str: ...
898
+ def _repr_latex_(self) -> builtins.str: ...
1224
899
 
1225
900
  class Evaluation:
1226
901
  r"""
@@ -1236,23 +911,46 @@ class Evaluation:
1236
911
  constraint_values (numpy.ndarray): The constraint value of each sample.
1237
912
  penalty (dict[str, numpy.ndarray]): The penalty of each sample.
1238
913
  """
1239
- energy: numpy.typing.NDArray[numpy.float64]
1240
- objective: numpy.typing.NDArray[numpy.float64]
1241
- constraint_violations: dict
1242
- constraint_forall: dict
1243
- constraint_values: builtins.list[dict]
1244
- penalty: dict
1245
- constraint_expr_values: builtins.list[builtins.dict[builtins.str, dict]]
1246
- def __new__(cls,energy:typing.Optional[typing.Sequence[builtins.float]]=None, objective:typing.Optional[typing.Sequence[builtins.float]]=None, constraint_violations:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]=None, constraint_forall:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Sequence[builtins.int]]]]=None, constraint_values:typing.Optional[typing.Sequence[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]]=None, penalty:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]=None): ...
1247
- def __str__(self) -> builtins.str:
1248
- ...
1249
-
1250
- def __repr__(self) -> builtins.str:
1251
- ...
1252
-
1253
- def __richcmp__(self, other:Evaluation, op:int) -> builtins.bool:
1254
- ...
1255
-
914
+ @property
915
+ def energy(self) -> numpy.typing.NDArray[numpy.float64]: ...
916
+ @property
917
+ def objective(self) -> numpy.typing.NDArray[numpy.float64]: ...
918
+ @property
919
+ def constraint_violations(self) -> dict: ...
920
+ @property
921
+ def constraint_forall(self) -> dict: ...
922
+ @property
923
+ def constraint_values(self) -> builtins.list[dict]: ...
924
+ @property
925
+ def penalty(self) -> dict: ...
926
+ @property
927
+ def constraint_expr_values(self) -> builtins.list[builtins.dict[builtins.str, dict]]:
928
+ r"""
929
+ Return the values for the each constraint.
930
+
931
+ The return value is a list of dictionaries.
932
+ Each dictionary has the keys of the constraint names and the dictionary values.
933
+ The dictionary values have the keys of the forall indices as tuple and the values for the forall indices.
934
+
935
+ Returns:
936
+ A list of dictionaries.
937
+ """
938
+ @energy.setter
939
+ def energy(self, value: builtins.list[builtins.float]) -> None: ...
940
+ @objective.setter
941
+ def objective(self, value: builtins.list[builtins.float]) -> None: ...
942
+ @constraint_violations.setter
943
+ def constraint_violations(self, value: builtins.dict[builtins.str, builtins.list[builtins.float]]) -> None: ...
944
+ @constraint_forall.setter
945
+ def constraint_forall(self, value: builtins.dict[builtins.str, builtins.list[builtins.list[builtins.int]]]) -> None: ...
946
+ @constraint_values.setter
947
+ def constraint_values(self, value: builtins.list[builtins.dict[builtins.str, builtins.list[builtins.float]]]) -> None: ...
948
+ @penalty.setter
949
+ def penalty(self, value: builtins.dict[builtins.str, builtins.list[builtins.float]]) -> None: ...
950
+ def __new__(cls, energy:typing.Optional[typing.Sequence[builtins.float]]=None, objective:typing.Optional[typing.Sequence[builtins.float]]=None, constraint_violations:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]=None, constraint_forall:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Sequence[builtins.int]]]]=None, constraint_values:typing.Optional[typing.Sequence[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]]=None, penalty:typing.Optional[typing.Mapping[builtins.str, typing.Sequence[builtins.float]]]=None) -> Evaluation: ...
951
+ def __str__(self) -> builtins.str: ...
952
+ def __repr__(self) -> builtins.str: ...
953
+ def __richcmp__(self, other:Evaluation, op:int) -> builtins.bool: ...
1256
954
  def to_dict(self) -> dict:
1257
955
  r"""
1258
956
  Convert into a dict.
@@ -1260,8 +958,6 @@ class Evaluation:
1260
958
  Returns:
1261
959
  dict: A dict whose keys are name of the Evaluation's fields.
1262
960
  """
1263
- ...
1264
-
1265
961
  @staticmethod
1266
962
  def from_dict(dict:dict) -> Evaluation:
1267
963
  r"""
@@ -1272,8 +968,6 @@ class Evaluation:
1272
968
  Args:
1273
969
  dict: A dict whose keys are name of the Evaluation fields.
1274
970
  """
1275
- ...
1276
-
1277
971
  def to_json(self) -> builtins.str:
1278
972
  r"""
1279
973
  Serialize the Evaluation object into a JSON string.
@@ -1284,8 +978,6 @@ class Evaluation:
1284
978
  Note:
1285
979
  A numpy array is converted into a list.
1286
980
  """
1287
- ...
1288
-
1289
981
  @staticmethod
1290
982
  def from_json(json:str) -> Evaluation:
1291
983
  r"""
@@ -1297,8 +989,6 @@ class Evaluation:
1297
989
  Returns:
1298
990
  Evaluation: An Evaluation object.
1299
991
  """
1300
- ...
1301
-
1302
992
  def to_pandas(self) -> typing.Any:
1303
993
  r"""
1304
994
  Convert into a pandas DataFrame.
@@ -1306,8 +996,6 @@ class Evaluation:
1306
996
  Returns:
1307
997
  pandas.DataFrame: A pandas DataFrame.
1308
998
  """
1309
- ...
1310
-
1311
999
 
1312
1000
  class FloorOp:
1313
1001
  r"""
@@ -1324,7 +1012,8 @@ class FloorOp:
1324
1012
  -----
1325
1013
  The `FloorOp` class does not have a constructor.
1326
1014
  """
1327
- operand: typing.Any
1015
+ @property
1016
+ def operand(self) -> typing.Any: ...
1328
1017
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1329
1018
  r"""
1330
1019
  Set the LaTeX representation of the object.
@@ -1334,74 +1023,28 @@ class FloorOp:
1334
1023
  -----
1335
1024
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1336
1025
  """
1337
- ...
1338
-
1339
- def __str__(self) -> builtins.str:
1340
- ...
1341
-
1342
- def __repr__(self) -> builtins.str:
1343
- ...
1344
-
1345
- def _repr_latex_(self) -> builtins.str:
1346
- ...
1347
-
1348
- def __eq__(self, other:typing.Any) -> typing.Any:
1349
- ...
1350
-
1351
- def __ne__(self, other:typing.Any) -> typing.Any:
1352
- ...
1353
-
1354
- def __lt__(self, other:typing.Any) -> typing.Any:
1355
- ...
1356
-
1357
- def __le__(self, other:typing.Any) -> typing.Any:
1358
- ...
1359
-
1360
- def __gt__(self, other:typing.Any) -> typing.Any:
1361
- ...
1362
-
1363
- def __ge__(self, other:typing.Any) -> typing.Any:
1364
- ...
1365
-
1366
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1367
- ...
1368
-
1369
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1370
- ...
1371
-
1372
- def __mod__(self, other:typing.Any) -> typing.Any:
1373
- ...
1374
-
1375
- def __rmod__(self, other:typing.Any) -> typing.Any:
1376
- ...
1377
-
1378
- def __truediv__(self, other:typing.Any) -> typing.Any:
1379
- ...
1380
-
1381
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
1382
- ...
1383
-
1384
- def __mul__(self, other:typing.Any) -> typing.Any:
1385
- ...
1386
-
1387
- def __rmul__(self, other:typing.Any) -> typing.Any:
1388
- ...
1389
-
1390
- def __sub__(self, other:typing.Any) -> typing.Any:
1391
- ...
1392
-
1393
- def __rsub__(self, other:typing.Any) -> typing.Any:
1394
- ...
1395
-
1396
- def __add__(self, other:typing.Any) -> typing.Any:
1397
- ...
1398
-
1399
- def __radd__(self, other:typing.Any) -> typing.Any:
1400
- ...
1401
-
1402
- def __neg__(self) -> typing.Any:
1403
- ...
1404
-
1026
+ def __str__(self) -> builtins.str: ...
1027
+ def __repr__(self) -> builtins.str: ...
1028
+ def _repr_latex_(self) -> builtins.str: ...
1029
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1030
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1031
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1032
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1033
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1034
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1035
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1036
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1037
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1038
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1039
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1040
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1041
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1042
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1043
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1044
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1045
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1046
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1047
+ def __neg__(self) -> typing.Any: ...
1405
1048
 
1406
1049
  class GreaterThanEqualOp:
1407
1050
  r"""
@@ -1419,8 +1062,10 @@ class GreaterThanEqualOp:
1419
1062
  -----
1420
1063
  The `GreaterThanEqualOp` class does not have a constructor.
1421
1064
  """
1422
- left: typing.Any
1423
- right: typing.Any
1065
+ @property
1066
+ def left(self) -> typing.Any: ...
1067
+ @property
1068
+ def right(self) -> typing.Any: ...
1424
1069
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1425
1070
  r"""
1426
1071
  Set the LaTeX representation of the object.
@@ -1430,17 +1075,9 @@ class GreaterThanEqualOp:
1430
1075
  -----
1431
1076
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1432
1077
  """
1433
- ...
1434
-
1435
- def __str__(self) -> builtins.str:
1436
- ...
1437
-
1438
- def __repr__(self) -> builtins.str:
1439
- ...
1440
-
1441
- def _repr_latex_(self) -> builtins.str:
1442
- ...
1443
-
1078
+ def __str__(self) -> builtins.str: ...
1079
+ def __repr__(self) -> builtins.str: ...
1080
+ def _repr_latex_(self) -> builtins.str: ...
1444
1081
 
1445
1082
  class GreaterThanOp:
1446
1083
  r"""
@@ -1458,8 +1095,10 @@ class GreaterThanOp:
1458
1095
  -----
1459
1096
  The `GreaterThanOp` class does not have a constructor.
1460
1097
  """
1461
- left: typing.Any
1462
- right: typing.Any
1098
+ @property
1099
+ def left(self) -> typing.Any: ...
1100
+ @property
1101
+ def right(self) -> typing.Any: ...
1463
1102
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1464
1103
  r"""
1465
1104
  Set the LaTeX representation of the object.
@@ -1469,17 +1108,9 @@ class GreaterThanOp:
1469
1108
  -----
1470
1109
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1471
1110
  """
1472
- ...
1473
-
1474
- def __str__(self) -> builtins.str:
1475
- ...
1476
-
1477
- def __repr__(self) -> builtins.str:
1478
- ...
1479
-
1480
- def _repr_latex_(self) -> builtins.str:
1481
- ...
1482
-
1111
+ def __str__(self) -> builtins.str: ...
1112
+ def __repr__(self) -> builtins.str: ...
1113
+ def _repr_latex_(self) -> builtins.str: ...
1483
1114
 
1484
1115
  class IntegerVar:
1485
1116
  r"""
@@ -1550,22 +1181,22 @@ class IntegerVar:
1550
1181
 
1551
1182
  ```
1552
1183
  """
1553
- name: builtins.str
1554
- description: builtins.str
1555
- ndim: builtins.int
1556
- shape: tuple
1557
- lower_bound: typing.Any | Placeholder | Subscript
1558
- upper_bound: typing.Any | Placeholder | Subscript
1559
- def __new__(cls,name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
1560
- def __getitem__(self, index:typing.Any) -> typing.Any:
1561
- ...
1562
-
1563
- def __truediv__(self, other:typing.Any) -> typing.Any:
1564
- ...
1565
-
1566
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
1567
- ...
1568
-
1184
+ @property
1185
+ def name(self) -> builtins.str: ...
1186
+ @property
1187
+ def description(self) -> builtins.str: ...
1188
+ @property
1189
+ def ndim(self) -> builtins.int: ...
1190
+ @property
1191
+ def shape(self) -> tuple: ...
1192
+ @property
1193
+ def lower_bound(self) -> typing.Any | Placeholder | Subscript: ...
1194
+ @property
1195
+ def upper_bound(self) -> typing.Any | Placeholder | Subscript: ...
1196
+ def __new__(cls, name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> IntegerVar: ...
1197
+ def __getitem__(self, index:typing.Any) -> typing.Any: ...
1198
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1199
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1569
1200
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1570
1201
  r"""
1571
1202
  Set the LaTeX representation of the object.
@@ -1575,62 +1206,24 @@ class IntegerVar:
1575
1206
  -----
1576
1207
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1577
1208
  """
1578
- ...
1579
-
1580
- def __str__(self) -> builtins.str:
1581
- ...
1582
-
1583
- def __repr__(self) -> builtins.str:
1584
- ...
1585
-
1586
- def _repr_latex_(self) -> builtins.str:
1587
- ...
1588
-
1589
- def __eq__(self, other:typing.Any) -> typing.Any:
1590
- ...
1591
-
1592
- def __ne__(self, other:typing.Any) -> typing.Any:
1593
- ...
1594
-
1595
- def __lt__(self, other:typing.Any) -> typing.Any:
1596
- ...
1597
-
1598
- def __le__(self, other:typing.Any) -> typing.Any:
1599
- ...
1600
-
1601
- def __gt__(self, other:typing.Any) -> typing.Any:
1602
- ...
1603
-
1604
- def __ge__(self, other:typing.Any) -> typing.Any:
1605
- ...
1606
-
1607
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1608
- ...
1609
-
1610
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1611
- ...
1612
-
1613
- def __mul__(self, other:typing.Any) -> typing.Any:
1614
- ...
1615
-
1616
- def __rmul__(self, other:typing.Any) -> typing.Any:
1617
- ...
1618
-
1619
- def __sub__(self, other:typing.Any) -> typing.Any:
1620
- ...
1621
-
1622
- def __rsub__(self, other:typing.Any) -> typing.Any:
1623
- ...
1624
-
1625
- def __add__(self, other:typing.Any) -> typing.Any:
1626
- ...
1627
-
1628
- def __radd__(self, other:typing.Any) -> typing.Any:
1629
- ...
1630
-
1631
- def __neg__(self) -> typing.Any:
1632
- ...
1633
-
1209
+ def __str__(self) -> builtins.str: ...
1210
+ def __repr__(self) -> builtins.str: ...
1211
+ def _repr_latex_(self) -> builtins.str: ...
1212
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1213
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1214
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1215
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1216
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1217
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1218
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1219
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1220
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1221
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1222
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1223
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1224
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1225
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1226
+ def __neg__(self) -> typing.Any: ...
1634
1227
 
1635
1228
  class Interpreter:
1636
1229
  r"""
@@ -1687,35 +1280,18 @@ class Interpreter:
1687
1280
 
1688
1281
  ```
1689
1282
  """
1690
- num_decision_variables: builtins.int
1691
- def __new__(cls,instance_data:dict): ...
1692
- def insert_instance_data(self, key:builtins.str, value:builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray | typing.Sequence[builtins.float] | typing.Sequence[typing.Sequence[builtins.float]] | typing.Sequence[typing.Sequence[typing.Sequence[builtins.float]]] | typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[builtins.float]]]]) -> None:
1693
- ...
1694
-
1695
- def get_instance_data(self, key:builtins.str) -> builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray:
1696
- ...
1697
-
1698
- def instance_data(self) -> builtins.dict[builtins.str, builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray]:
1699
- ...
1700
-
1701
- def __str__(self) -> builtins.str:
1702
- ...
1703
-
1704
- def get_decision_variable_by_id(self, id:builtins.int) -> typing.Any:
1705
- ...
1706
-
1707
- def get_decision_variable_by_name(self, name:builtins.str, subscript:typing.Optional[typing.Sequence[builtins.int]]=None) -> typing.Any:
1708
- ...
1709
-
1710
- def eval_scalar(self, expr:typing.Any) -> builtins.float:
1711
- ...
1712
-
1713
- def eval_expr(self, expr:typing.Any) -> typing.Any:
1714
- ...
1715
-
1716
- def eval_constraints(self, constraints:Constraint) -> builtins.list[typing.Any]:
1717
- ...
1718
-
1283
+ @property
1284
+ def num_decision_variables(self) -> builtins.int: ...
1285
+ def __new__(cls, instance_data:dict) -> Interpreter: ...
1286
+ def insert_instance_data(self, key:builtins.str, value:builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray | typing.Sequence[builtins.float] | typing.Sequence[typing.Sequence[builtins.float]] | typing.Sequence[typing.Sequence[typing.Sequence[builtins.float]]] | typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[builtins.float]]]]) -> None: ...
1287
+ def get_instance_data(self, key:builtins.str) -> builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray: ...
1288
+ def instance_data(self) -> builtins.dict[builtins.str, builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray]: ...
1289
+ def __str__(self) -> builtins.str: ...
1290
+ def get_decision_variable_by_id(self, id:builtins.int) -> typing.Any: ...
1291
+ def get_decision_variable_by_name(self, name:builtins.str, subscript:typing.Optional[typing.Sequence[builtins.int]]=None) -> typing.Any: ...
1292
+ def eval_scalar(self, expr:typing.Any) -> builtins.float: ...
1293
+ def eval_expr(self, expr:typing.Any) -> typing.Any: ...
1294
+ def eval_constraints(self, constraints:Constraint) -> builtins.list[typing.Any]: ...
1719
1295
  def eval_problem(self, problem:Problem, hints:typing.Optional[typing.Sequence[typing.Literal['OneHot', 'SOS1']]]=None) -> typing.Any:
1720
1296
  r"""
1721
1297
  Evaluate the problem and returns `ommx.v1.Instance`.
@@ -1729,8 +1305,6 @@ class Interpreter:
1729
1305
  -------
1730
1306
  `instance`: an OMMX v1 instance object.
1731
1307
  """
1732
- ...
1733
-
1734
1308
 
1735
1309
  class JaggedArray:
1736
1310
  r"""
@@ -1775,23 +1349,14 @@ class JaggedArray:
1775
1349
 
1776
1350
  ```
1777
1351
  """
1778
- dim: builtins.int
1779
- def __new__(cls,obj:typing.Any): ...
1780
- def __str__(self) -> builtins.str:
1781
- ...
1782
-
1783
- def __eq__(self, other:typing.Any) -> builtins.bool:
1784
- ...
1785
-
1786
- def get(self, index:typing.Sequence[builtins.int]) -> builtins.float:
1787
- ...
1788
-
1789
- def __getitem__(self, index:typing.Sequence[builtins.int]) -> builtins.float:
1790
- ...
1791
-
1792
- def size_at(self, index:typing.Sequence[builtins.int]) -> builtins.int:
1793
- ...
1794
-
1352
+ @property
1353
+ def dim(self) -> builtins.int: ...
1354
+ def __new__(cls, obj:typing.Any) -> JaggedArray: ...
1355
+ def __str__(self) -> builtins.str: ...
1356
+ def __eq__(self, other:typing.Any) -> builtins.bool: ...
1357
+ def get(self, index:typing.Sequence[builtins.int]) -> builtins.float: ...
1358
+ def __getitem__(self, index:typing.Sequence[builtins.int]) -> builtins.float: ...
1359
+ def size_at(self, index:typing.Sequence[builtins.int]) -> builtins.int: ...
1795
1360
 
1796
1361
  class LessThanEqualOp:
1797
1362
  r"""
@@ -1809,8 +1374,10 @@ class LessThanEqualOp:
1809
1374
  -----
1810
1375
  The `LessThanEqualOp` class does not have a constructor.
1811
1376
  """
1812
- left: typing.Any
1813
- right: typing.Any
1377
+ @property
1378
+ def left(self) -> typing.Any: ...
1379
+ @property
1380
+ def right(self) -> typing.Any: ...
1814
1381
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1815
1382
  r"""
1816
1383
  Set the LaTeX representation of the object.
@@ -1820,17 +1387,9 @@ class LessThanEqualOp:
1820
1387
  -----
1821
1388
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1822
1389
  """
1823
- ...
1824
-
1825
- def __str__(self) -> builtins.str:
1826
- ...
1827
-
1828
- def __repr__(self) -> builtins.str:
1829
- ...
1830
-
1831
- def _repr_latex_(self) -> builtins.str:
1832
- ...
1833
-
1390
+ def __str__(self) -> builtins.str: ...
1391
+ def __repr__(self) -> builtins.str: ...
1392
+ def _repr_latex_(self) -> builtins.str: ...
1834
1393
 
1835
1394
  class LessThanOp:
1836
1395
  r"""
@@ -1848,8 +1407,10 @@ class LessThanOp:
1848
1407
  -----
1849
1408
  The `LessThanOp` class does not have a constructor.
1850
1409
  """
1851
- left: typing.Any
1852
- right: typing.Any
1410
+ @property
1411
+ def left(self) -> typing.Any: ...
1412
+ @property
1413
+ def right(self) -> typing.Any: ...
1853
1414
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1854
1415
  r"""
1855
1416
  Set the LaTeX representation of the object.
@@ -1859,17 +1420,9 @@ class LessThanOp:
1859
1420
  -----
1860
1421
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1861
1422
  """
1862
- ...
1863
-
1864
- def __str__(self) -> builtins.str:
1865
- ...
1866
-
1867
- def __repr__(self) -> builtins.str:
1868
- ...
1869
-
1870
- def _repr_latex_(self) -> builtins.str:
1871
- ...
1872
-
1423
+ def __str__(self) -> builtins.str: ...
1424
+ def __repr__(self) -> builtins.str: ...
1425
+ def _repr_latex_(self) -> builtins.str: ...
1873
1426
 
1874
1427
  class LnOp:
1875
1428
  r"""
@@ -1886,7 +1439,8 @@ class LnOp:
1886
1439
  -----
1887
1440
  The `LnOp` class does not have a constructor.
1888
1441
  """
1889
- operand: typing.Any
1442
+ @property
1443
+ def operand(self) -> typing.Any: ...
1890
1444
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1891
1445
  r"""
1892
1446
  Set the LaTeX representation of the object.
@@ -1896,74 +1450,28 @@ class LnOp:
1896
1450
  -----
1897
1451
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1898
1452
  """
1899
- ...
1900
-
1901
- def __str__(self) -> builtins.str:
1902
- ...
1903
-
1904
- def __repr__(self) -> builtins.str:
1905
- ...
1906
-
1907
- def _repr_latex_(self) -> builtins.str:
1908
- ...
1909
-
1910
- def __eq__(self, other:typing.Any) -> typing.Any:
1911
- ...
1912
-
1913
- def __ne__(self, other:typing.Any) -> typing.Any:
1914
- ...
1915
-
1916
- def __lt__(self, other:typing.Any) -> typing.Any:
1917
- ...
1918
-
1919
- def __le__(self, other:typing.Any) -> typing.Any:
1920
- ...
1921
-
1922
- def __gt__(self, other:typing.Any) -> typing.Any:
1923
- ...
1924
-
1925
- def __ge__(self, other:typing.Any) -> typing.Any:
1926
- ...
1927
-
1928
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1929
- ...
1930
-
1931
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
1932
- ...
1933
-
1934
- def __mod__(self, other:typing.Any) -> typing.Any:
1935
- ...
1936
-
1937
- def __rmod__(self, other:typing.Any) -> typing.Any:
1938
- ...
1939
-
1940
- def __truediv__(self, other:typing.Any) -> typing.Any:
1941
- ...
1942
-
1943
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
1944
- ...
1945
-
1946
- def __mul__(self, other:typing.Any) -> typing.Any:
1947
- ...
1948
-
1949
- def __rmul__(self, other:typing.Any) -> typing.Any:
1950
- ...
1951
-
1952
- def __sub__(self, other:typing.Any) -> typing.Any:
1953
- ...
1954
-
1955
- def __rsub__(self, other:typing.Any) -> typing.Any:
1956
- ...
1957
-
1958
- def __add__(self, other:typing.Any) -> typing.Any:
1959
- ...
1960
-
1961
- def __radd__(self, other:typing.Any) -> typing.Any:
1962
- ...
1963
-
1964
- def __neg__(self) -> typing.Any:
1965
- ...
1966
-
1453
+ def __str__(self) -> builtins.str: ...
1454
+ def __repr__(self) -> builtins.str: ...
1455
+ def _repr_latex_(self) -> builtins.str: ...
1456
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1457
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1458
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1459
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1460
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1461
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1462
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1463
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1464
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1465
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1466
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1467
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1468
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1469
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1470
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1471
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1472
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1473
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1474
+ def __neg__(self) -> typing.Any: ...
1967
1475
 
1968
1476
  class Log10Op:
1969
1477
  r"""
@@ -1980,7 +1488,8 @@ class Log10Op:
1980
1488
  -----
1981
1489
  The `Log10Op` class does not have a constructor.
1982
1490
  """
1983
- operand: typing.Any
1491
+ @property
1492
+ def operand(self) -> typing.Any: ...
1984
1493
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1985
1494
  r"""
1986
1495
  Set the LaTeX representation of the object.
@@ -1990,74 +1499,28 @@ class Log10Op:
1990
1499
  -----
1991
1500
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1992
1501
  """
1993
- ...
1994
-
1995
- def __str__(self) -> builtins.str:
1996
- ...
1997
-
1998
- def __repr__(self) -> builtins.str:
1999
- ...
2000
-
2001
- def _repr_latex_(self) -> builtins.str:
2002
- ...
2003
-
2004
- def __eq__(self, other:typing.Any) -> typing.Any:
2005
- ...
2006
-
2007
- def __ne__(self, other:typing.Any) -> typing.Any:
2008
- ...
2009
-
2010
- def __lt__(self, other:typing.Any) -> typing.Any:
2011
- ...
2012
-
2013
- def __le__(self, other:typing.Any) -> typing.Any:
2014
- ...
2015
-
2016
- def __gt__(self, other:typing.Any) -> typing.Any:
2017
- ...
2018
-
2019
- def __ge__(self, other:typing.Any) -> typing.Any:
2020
- ...
2021
-
2022
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2023
- ...
2024
-
2025
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2026
- ...
2027
-
2028
- def __mod__(self, other:typing.Any) -> typing.Any:
2029
- ...
2030
-
2031
- def __rmod__(self, other:typing.Any) -> typing.Any:
2032
- ...
2033
-
2034
- def __truediv__(self, other:typing.Any) -> typing.Any:
2035
- ...
2036
-
2037
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2038
- ...
2039
-
2040
- def __mul__(self, other:typing.Any) -> typing.Any:
2041
- ...
2042
-
2043
- def __rmul__(self, other:typing.Any) -> typing.Any:
2044
- ...
2045
-
2046
- def __sub__(self, other:typing.Any) -> typing.Any:
2047
- ...
2048
-
2049
- def __rsub__(self, other:typing.Any) -> typing.Any:
2050
- ...
2051
-
2052
- def __add__(self, other:typing.Any) -> typing.Any:
2053
- ...
2054
-
2055
- def __radd__(self, other:typing.Any) -> typing.Any:
2056
- ...
2057
-
2058
- def __neg__(self) -> typing.Any:
2059
- ...
2060
-
1502
+ def __str__(self) -> builtins.str: ...
1503
+ def __repr__(self) -> builtins.str: ...
1504
+ def _repr_latex_(self) -> builtins.str: ...
1505
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1506
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1507
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1508
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1509
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1510
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1511
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1512
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1513
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1514
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1515
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1516
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1517
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1518
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1519
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1520
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1521
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1522
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1523
+ def __neg__(self) -> typing.Any: ...
2061
1524
 
2062
1525
  class Log2Op:
2063
1526
  r"""
@@ -2074,7 +1537,8 @@ class Log2Op:
2074
1537
  -----
2075
1538
  The `Log2Op` class does not have a constructor.
2076
1539
  """
2077
- operand: typing.Any
1540
+ @property
1541
+ def operand(self) -> typing.Any: ...
2078
1542
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2079
1543
  r"""
2080
1544
  Set the LaTeX representation of the object.
@@ -2084,74 +1548,28 @@ class Log2Op:
2084
1548
  -----
2085
1549
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2086
1550
  """
2087
- ...
2088
-
2089
- def __str__(self) -> builtins.str:
2090
- ...
2091
-
2092
- def __repr__(self) -> builtins.str:
2093
- ...
2094
-
2095
- def _repr_latex_(self) -> builtins.str:
2096
- ...
2097
-
2098
- def __eq__(self, other:typing.Any) -> typing.Any:
2099
- ...
2100
-
2101
- def __ne__(self, other:typing.Any) -> typing.Any:
2102
- ...
2103
-
2104
- def __lt__(self, other:typing.Any) -> typing.Any:
2105
- ...
2106
-
2107
- def __le__(self, other:typing.Any) -> typing.Any:
2108
- ...
2109
-
2110
- def __gt__(self, other:typing.Any) -> typing.Any:
2111
- ...
2112
-
2113
- def __ge__(self, other:typing.Any) -> typing.Any:
2114
- ...
2115
-
2116
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2117
- ...
2118
-
2119
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2120
- ...
2121
-
2122
- def __mod__(self, other:typing.Any) -> typing.Any:
2123
- ...
2124
-
2125
- def __rmod__(self, other:typing.Any) -> typing.Any:
2126
- ...
2127
-
2128
- def __truediv__(self, other:typing.Any) -> typing.Any:
2129
- ...
2130
-
2131
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2132
- ...
2133
-
2134
- def __mul__(self, other:typing.Any) -> typing.Any:
2135
- ...
2136
-
2137
- def __rmul__(self, other:typing.Any) -> typing.Any:
2138
- ...
2139
-
2140
- def __sub__(self, other:typing.Any) -> typing.Any:
2141
- ...
2142
-
2143
- def __rsub__(self, other:typing.Any) -> typing.Any:
2144
- ...
2145
-
2146
- def __add__(self, other:typing.Any) -> typing.Any:
2147
- ...
2148
-
2149
- def __radd__(self, other:typing.Any) -> typing.Any:
2150
- ...
2151
-
2152
- def __neg__(self) -> typing.Any:
2153
- ...
2154
-
1551
+ def __str__(self) -> builtins.str: ...
1552
+ def __repr__(self) -> builtins.str: ...
1553
+ def _repr_latex_(self) -> builtins.str: ...
1554
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1555
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1556
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1557
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1558
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1559
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1560
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1561
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1562
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1563
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1564
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1565
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1566
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1567
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1568
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1569
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1570
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1571
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1572
+ def __neg__(self) -> typing.Any: ...
2155
1573
 
2156
1574
  class MaxOp:
2157
1575
  r"""
@@ -2169,7 +1587,8 @@ class MaxOp:
2169
1587
  The `MaxOp` class does not have a constructor. Its intended
2170
1588
  instantiation method is by calling the `max` function.
2171
1589
  """
2172
- terms: builtins.list[typing.Any]
1590
+ @property
1591
+ def terms(self) -> builtins.list[typing.Any]: ...
2173
1592
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2174
1593
  r"""
2175
1594
  Set the LaTeX representation of the object.
@@ -2179,74 +1598,28 @@ class MaxOp:
2179
1598
  -----
2180
1599
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2181
1600
  """
2182
- ...
2183
-
2184
- def __str__(self) -> builtins.str:
2185
- ...
2186
-
2187
- def __repr__(self) -> builtins.str:
2188
- ...
2189
-
2190
- def _repr_latex_(self) -> builtins.str:
2191
- ...
2192
-
2193
- def __eq__(self, other:typing.Any) -> typing.Any:
2194
- ...
2195
-
2196
- def __ne__(self, other:typing.Any) -> typing.Any:
2197
- ...
2198
-
2199
- def __lt__(self, other:typing.Any) -> typing.Any:
2200
- ...
2201
-
2202
- def __le__(self, other:typing.Any) -> typing.Any:
2203
- ...
2204
-
2205
- def __gt__(self, other:typing.Any) -> typing.Any:
2206
- ...
2207
-
2208
- def __ge__(self, other:typing.Any) -> typing.Any:
2209
- ...
2210
-
2211
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2212
- ...
2213
-
2214
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2215
- ...
2216
-
2217
- def __mod__(self, other:typing.Any) -> typing.Any:
2218
- ...
2219
-
2220
- def __rmod__(self, other:typing.Any) -> typing.Any:
2221
- ...
2222
-
2223
- def __truediv__(self, other:typing.Any) -> typing.Any:
2224
- ...
2225
-
2226
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2227
- ...
2228
-
2229
- def __mul__(self, other:typing.Any) -> typing.Any:
2230
- ...
2231
-
2232
- def __rmul__(self, other:typing.Any) -> typing.Any:
2233
- ...
2234
-
2235
- def __sub__(self, other:typing.Any) -> typing.Any:
2236
- ...
2237
-
2238
- def __rsub__(self, other:typing.Any) -> typing.Any:
2239
- ...
2240
-
2241
- def __add__(self, other:typing.Any) -> typing.Any:
2242
- ...
2243
-
2244
- def __radd__(self, other:typing.Any) -> typing.Any:
2245
- ...
2246
-
2247
- def __neg__(self) -> typing.Any:
2248
- ...
2249
-
1601
+ def __str__(self) -> builtins.str: ...
1602
+ def __repr__(self) -> builtins.str: ...
1603
+ def _repr_latex_(self) -> builtins.str: ...
1604
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1605
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1606
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1607
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1608
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1609
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1610
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1611
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1612
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1613
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1614
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1615
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1616
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1617
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1618
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1619
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1620
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1621
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1622
+ def __neg__(self) -> typing.Any: ...
2250
1623
 
2251
1624
  class MeasuringTime:
2252
1625
  r"""
@@ -2258,19 +1631,22 @@ class MeasuringTime:
2258
1631
  - `system` (`SystemTime`): Time to measure system time.
2259
1632
  - `total` (`float`, optional): Total time to solve the problem. Defaults to None.
2260
1633
  """
2261
- solve: SolvingTime
2262
- system: SystemTime
2263
- total: typing.Optional[builtins.float]
2264
- def __new__(cls,solve:typing.Optional[SolvingTime]=None, system:typing.Optional[SystemTime]=None, total:typing.Optional[builtins.float]=None): ...
2265
- def __str__(self) -> builtins.str:
2266
- ...
2267
-
2268
- def __repr__(self) -> builtins.str:
2269
- ...
2270
-
2271
- def __richcmp__(self, other:MeasuringTime, op:int) -> builtins.bool:
2272
- ...
2273
-
1634
+ @property
1635
+ def solve(self) -> SolvingTime: ...
1636
+ @property
1637
+ def system(self) -> SystemTime: ...
1638
+ @property
1639
+ def total(self) -> typing.Optional[builtins.float]: ...
1640
+ @solve.setter
1641
+ def solve(self, value: SolvingTime) -> None: ...
1642
+ @system.setter
1643
+ def system(self, value: SystemTime) -> None: ...
1644
+ @total.setter
1645
+ def total(self, value: typing.Optional[builtins.float]) -> None: ...
1646
+ def __new__(cls, solve:typing.Optional[SolvingTime]=None, system:typing.Optional[SystemTime]=None, total:typing.Optional[builtins.float]=None) -> MeasuringTime: ...
1647
+ def __str__(self) -> builtins.str: ...
1648
+ def __repr__(self) -> builtins.str: ...
1649
+ def __richcmp__(self, other:MeasuringTime, op:int) -> builtins.bool: ...
2274
1650
  def to_dict(self) -> dict:
2275
1651
  r"""
2276
1652
  Convert into a dict.
@@ -2279,8 +1655,6 @@ class MeasuringTime:
2279
1655
  --------
2280
1656
  `dict`: A dict whose keys are name of the MeasuringTime's fields.
2281
1657
  """
2282
- ...
2283
-
2284
1658
  @staticmethod
2285
1659
  def from_dict(dict:dict) -> MeasuringTime:
2286
1660
  r"""
@@ -2296,8 +1670,6 @@ class MeasuringTime:
2296
1670
  --------
2297
1671
  A `MeasuringTime` object.
2298
1672
  """
2299
- ...
2300
-
2301
1673
  def to_json(self) -> builtins.str:
2302
1674
  r"""
2303
1675
  Serialize the `MeasuringTime` object into a JSON string.
@@ -2310,8 +1682,6 @@ class MeasuringTime:
2310
1682
  -----
2311
1683
  A numpy array is serialized into a list.
2312
1684
  """
2313
- ...
2314
-
2315
1685
  @staticmethod
2316
1686
  def from_json(json:str) -> MeasuringTime:
2317
1687
  r"""
@@ -2325,8 +1695,6 @@ class MeasuringTime:
2325
1695
  --------
2326
1696
  `MeasuringTime`: A `MeasuringTime` object.
2327
1697
  """
2328
- ...
2329
-
2330
1698
 
2331
1699
  class MinOp:
2332
1700
  r"""
@@ -2344,7 +1712,8 @@ class MinOp:
2344
1712
  The `MinOp` class does not have a constructor. Its intended
2345
1713
  instantiation method is by calling the `min` function.
2346
1714
  """
2347
- terms: builtins.list[typing.Any]
1715
+ @property
1716
+ def terms(self) -> builtins.list[typing.Any]: ...
2348
1717
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2349
1718
  r"""
2350
1719
  Set the LaTeX representation of the object.
@@ -2354,74 +1723,28 @@ class MinOp:
2354
1723
  -----
2355
1724
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2356
1725
  """
2357
- ...
2358
-
2359
- def __str__(self) -> builtins.str:
2360
- ...
2361
-
2362
- def __repr__(self) -> builtins.str:
2363
- ...
2364
-
2365
- def _repr_latex_(self) -> builtins.str:
2366
- ...
2367
-
2368
- def __eq__(self, other:typing.Any) -> typing.Any:
2369
- ...
2370
-
2371
- def __ne__(self, other:typing.Any) -> typing.Any:
2372
- ...
2373
-
2374
- def __lt__(self, other:typing.Any) -> typing.Any:
2375
- ...
2376
-
2377
- def __le__(self, other:typing.Any) -> typing.Any:
2378
- ...
2379
-
2380
- def __gt__(self, other:typing.Any) -> typing.Any:
2381
- ...
2382
-
2383
- def __ge__(self, other:typing.Any) -> typing.Any:
2384
- ...
2385
-
2386
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2387
- ...
2388
-
2389
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2390
- ...
2391
-
2392
- def __mod__(self, other:typing.Any) -> typing.Any:
2393
- ...
2394
-
2395
- def __rmod__(self, other:typing.Any) -> typing.Any:
2396
- ...
2397
-
2398
- def __truediv__(self, other:typing.Any) -> typing.Any:
2399
- ...
2400
-
2401
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2402
- ...
2403
-
2404
- def __mul__(self, other:typing.Any) -> typing.Any:
2405
- ...
2406
-
2407
- def __rmul__(self, other:typing.Any) -> typing.Any:
2408
- ...
2409
-
2410
- def __sub__(self, other:typing.Any) -> typing.Any:
2411
- ...
2412
-
2413
- def __rsub__(self, other:typing.Any) -> typing.Any:
2414
- ...
2415
-
2416
- def __add__(self, other:typing.Any) -> typing.Any:
2417
- ...
2418
-
2419
- def __radd__(self, other:typing.Any) -> typing.Any:
2420
- ...
2421
-
2422
- def __neg__(self) -> typing.Any:
2423
- ...
2424
-
1726
+ def __str__(self) -> builtins.str: ...
1727
+ def __repr__(self) -> builtins.str: ...
1728
+ def _repr_latex_(self) -> builtins.str: ...
1729
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1730
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1731
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1732
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1733
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1734
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1735
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1736
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1737
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1738
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1739
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1740
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1741
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1742
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1743
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1744
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1745
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1746
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1747
+ def __neg__(self) -> typing.Any: ...
2425
1748
 
2426
1749
  class ModOp:
2427
1750
  r"""
@@ -2439,8 +1762,10 @@ class ModOp:
2439
1762
  -----
2440
1763
  The `ModOp` class does not have a constructor.
2441
1764
  """
2442
- left: typing.Any
2443
- right: typing.Any
1765
+ @property
1766
+ def left(self) -> typing.Any: ...
1767
+ @property
1768
+ def right(self) -> typing.Any: ...
2444
1769
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2445
1770
  r"""
2446
1771
  Set the LaTeX representation of the object.
@@ -2450,74 +1775,28 @@ class ModOp:
2450
1775
  -----
2451
1776
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2452
1777
  """
2453
- ...
2454
-
2455
- def __str__(self) -> builtins.str:
2456
- ...
2457
-
2458
- def __repr__(self) -> builtins.str:
2459
- ...
2460
-
2461
- def _repr_latex_(self) -> builtins.str:
2462
- ...
2463
-
2464
- def __eq__(self, other:typing.Any) -> typing.Any:
2465
- ...
2466
-
2467
- def __ne__(self, other:typing.Any) -> typing.Any:
2468
- ...
2469
-
2470
- def __lt__(self, other:typing.Any) -> typing.Any:
2471
- ...
2472
-
2473
- def __le__(self, other:typing.Any) -> typing.Any:
2474
- ...
2475
-
2476
- def __gt__(self, other:typing.Any) -> typing.Any:
2477
- ...
2478
-
2479
- def __ge__(self, other:typing.Any) -> typing.Any:
2480
- ...
2481
-
2482
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2483
- ...
2484
-
2485
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2486
- ...
2487
-
2488
- def __mod__(self, other:typing.Any) -> typing.Any:
2489
- ...
2490
-
2491
- def __rmod__(self, other:typing.Any) -> typing.Any:
2492
- ...
2493
-
2494
- def __truediv__(self, other:typing.Any) -> typing.Any:
2495
- ...
2496
-
2497
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2498
- ...
2499
-
2500
- def __mul__(self, other:typing.Any) -> typing.Any:
2501
- ...
2502
-
2503
- def __rmul__(self, other:typing.Any) -> typing.Any:
2504
- ...
2505
-
2506
- def __sub__(self, other:typing.Any) -> typing.Any:
2507
- ...
2508
-
2509
- def __rsub__(self, other:typing.Any) -> typing.Any:
2510
- ...
2511
-
2512
- def __add__(self, other:typing.Any) -> typing.Any:
2513
- ...
2514
-
2515
- def __radd__(self, other:typing.Any) -> typing.Any:
2516
- ...
2517
-
2518
- def __neg__(self) -> typing.Any:
2519
- ...
2520
-
1778
+ def __str__(self) -> builtins.str: ...
1779
+ def __repr__(self) -> builtins.str: ...
1780
+ def _repr_latex_(self) -> builtins.str: ...
1781
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1782
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1783
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1784
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1785
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1786
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1787
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1788
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1789
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1790
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1791
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1792
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1793
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1794
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1795
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1796
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1797
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1798
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1799
+ def __neg__(self) -> typing.Any: ...
2521
1800
 
2522
1801
  class MulOp:
2523
1802
  r"""
@@ -2536,85 +1815,40 @@ class MulOp:
2536
1815
  The `MulOp` class does not have a constructor. Its intended
2537
1816
  instantiation method is by calling the multiplication operation on other
2538
1817
  expressions.
2539
- """
2540
- terms: builtins.list[typing.Any]
2541
- def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2542
- r"""
2543
- Set the LaTeX representation of the object.
2544
- If the LaTeX representation is not set, the default representation is set.
2545
-
2546
- Args
2547
- -----
2548
- `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2549
- """
2550
- ...
2551
-
2552
- def __str__(self) -> builtins.str:
2553
- ...
2554
-
2555
- def __repr__(self) -> builtins.str:
2556
- ...
2557
-
2558
- def _repr_latex_(self) -> builtins.str:
2559
- ...
2560
-
2561
- def __eq__(self, other:typing.Any) -> typing.Any:
2562
- ...
2563
-
2564
- def __ne__(self, other:typing.Any) -> typing.Any:
2565
- ...
2566
-
2567
- def __lt__(self, other:typing.Any) -> typing.Any:
2568
- ...
2569
-
2570
- def __le__(self, other:typing.Any) -> typing.Any:
2571
- ...
2572
-
2573
- def __gt__(self, other:typing.Any) -> typing.Any:
2574
- ...
2575
-
2576
- def __ge__(self, other:typing.Any) -> typing.Any:
2577
- ...
2578
-
2579
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2580
- ...
2581
-
2582
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2583
- ...
2584
-
2585
- def __mod__(self, other:typing.Any) -> typing.Any:
2586
- ...
2587
-
2588
- def __rmod__(self, other:typing.Any) -> typing.Any:
2589
- ...
2590
-
2591
- def __truediv__(self, other:typing.Any) -> typing.Any:
2592
- ...
2593
-
2594
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2595
- ...
2596
-
2597
- def __mul__(self, other:typing.Any) -> typing.Any:
2598
- ...
2599
-
2600
- def __rmul__(self, other:typing.Any) -> typing.Any:
2601
- ...
2602
-
2603
- def __sub__(self, other:typing.Any) -> typing.Any:
2604
- ...
2605
-
2606
- def __rsub__(self, other:typing.Any) -> typing.Any:
2607
- ...
2608
-
2609
- def __add__(self, other:typing.Any) -> typing.Any:
2610
- ...
2611
-
2612
- def __radd__(self, other:typing.Any) -> typing.Any:
2613
- ...
2614
-
2615
- def __neg__(self) -> typing.Any:
2616
- ...
2617
-
1818
+ """
1819
+ @property
1820
+ def terms(self) -> builtins.list[typing.Any]: ...
1821
+ def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
1822
+ r"""
1823
+ Set the LaTeX representation of the object.
1824
+ If the LaTeX representation is not set, the default representation is set.
1825
+
1826
+ Args
1827
+ -----
1828
+ `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
1829
+ """
1830
+ def __str__(self) -> builtins.str: ...
1831
+ def __repr__(self) -> builtins.str: ...
1832
+ def _repr_latex_(self) -> builtins.str: ...
1833
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1834
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1835
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1836
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1837
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1838
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1839
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1840
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1841
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1842
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1843
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1844
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1845
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1846
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1847
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1848
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1849
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1850
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1851
+ def __neg__(self) -> typing.Any: ...
2618
1852
 
2619
1853
  class NotEqualOp:
2620
1854
  r"""
@@ -2632,8 +1866,10 @@ class NotEqualOp:
2632
1866
  -----
2633
1867
  The `NotEqualOp` class does not have a constructor.
2634
1868
  """
2635
- left: typing.Any
2636
- right: typing.Any
1869
+ @property
1870
+ def left(self) -> typing.Any: ...
1871
+ @property
1872
+ def right(self) -> typing.Any: ...
2637
1873
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2638
1874
  r"""
2639
1875
  Set the LaTeX representation of the object.
@@ -2643,17 +1879,9 @@ class NotEqualOp:
2643
1879
  -----
2644
1880
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2645
1881
  """
2646
- ...
2647
-
2648
- def __str__(self) -> builtins.str:
2649
- ...
2650
-
2651
- def __repr__(self) -> builtins.str:
2652
- ...
2653
-
2654
- def _repr_latex_(self) -> builtins.str:
2655
- ...
2656
-
1882
+ def __str__(self) -> builtins.str: ...
1883
+ def __repr__(self) -> builtins.str: ...
1884
+ def _repr_latex_(self) -> builtins.str: ...
2657
1885
 
2658
1886
  class NumberLit:
2659
1887
  r"""
@@ -2696,75 +1924,33 @@ class NumberLit:
2696
1924
 
2697
1925
  ```
2698
1926
  """
2699
- value: builtins.int | builtins.float
2700
- dtype: DataType
2701
- def __new__(cls,value:builtins.int | builtins.float): ...
2702
- def __str__(self) -> builtins.str:
2703
- ...
2704
-
2705
- def __repr__(self) -> builtins.str:
2706
- ...
2707
-
2708
- def _repr_latex_(self) -> builtins.str:
2709
- ...
2710
-
2711
- def __eq__(self, other:typing.Any) -> typing.Any:
2712
- ...
2713
-
2714
- def __ne__(self, other:typing.Any) -> typing.Any:
2715
- ...
2716
-
2717
- def __lt__(self, other:typing.Any) -> typing.Any:
2718
- ...
2719
-
2720
- def __le__(self, other:typing.Any) -> typing.Any:
2721
- ...
2722
-
2723
- def __gt__(self, other:typing.Any) -> typing.Any:
2724
- ...
2725
-
2726
- def __ge__(self, other:typing.Any) -> typing.Any:
2727
- ...
2728
-
2729
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2730
- ...
2731
-
2732
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2733
- ...
2734
-
2735
- def __mod__(self, other:typing.Any) -> typing.Any:
2736
- ...
2737
-
2738
- def __rmod__(self, other:typing.Any) -> typing.Any:
2739
- ...
2740
-
2741
- def __truediv__(self, other:typing.Any) -> typing.Any:
2742
- ...
2743
-
2744
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2745
- ...
2746
-
2747
- def __mul__(self, other:typing.Any) -> typing.Any:
2748
- ...
2749
-
2750
- def __rmul__(self, other:typing.Any) -> typing.Any:
2751
- ...
2752
-
2753
- def __sub__(self, other:typing.Any) -> typing.Any:
2754
- ...
2755
-
2756
- def __rsub__(self, other:typing.Any) -> typing.Any:
2757
- ...
2758
-
2759
- def __add__(self, other:typing.Any) -> typing.Any:
2760
- ...
2761
-
2762
- def __radd__(self, other:typing.Any) -> typing.Any:
2763
- ...
2764
-
2765
- def __neg__(self) -> typing.Any:
2766
- ...
2767
-
1927
+ @property
1928
+ def value(self) -> builtins.int | builtins.float: ...
1929
+ @property
1930
+ def dtype(self) -> DataType: ...
1931
+ def __new__(cls, value:builtins.int | builtins.float) -> NumberLit: ...
1932
+ def __str__(self) -> builtins.str: ...
1933
+ def __repr__(self) -> builtins.str: ...
1934
+ def _repr_latex_(self) -> builtins.str: ...
1935
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
1936
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
1937
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
1938
+ def __le__(self, other:typing.Any) -> typing.Any: ...
1939
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
1940
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
1941
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1942
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
1943
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
1944
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
1945
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
1946
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
1947
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
1948
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
1949
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
1950
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
1951
+ def __add__(self, other:typing.Any) -> typing.Any: ...
1952
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
1953
+ def __neg__(self) -> typing.Any: ...
2768
1954
 
2769
1955
  class OrOp:
2770
1956
  r"""
@@ -2782,7 +1968,8 @@ class OrOp:
2782
1968
  -----
2783
1969
  The `OrOp` class does not have a constructor.
2784
1970
  """
2785
- terms: builtins.list[typing.Any]
1971
+ @property
1972
+ def terms(self) -> builtins.list[typing.Any]: ...
2786
1973
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2787
1974
  r"""
2788
1975
  Set the LaTeX representation of the object.
@@ -2792,17 +1979,9 @@ class OrOp:
2792
1979
  -----
2793
1980
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2794
1981
  """
2795
- ...
2796
-
2797
- def __str__(self) -> builtins.str:
2798
- ...
2799
-
2800
- def __repr__(self) -> builtins.str:
2801
- ...
2802
-
2803
- def _repr_latex_(self) -> builtins.str:
2804
- ...
2805
-
1982
+ def __str__(self) -> builtins.str: ...
1983
+ def __repr__(self) -> builtins.str: ...
1984
+ def _repr_latex_(self) -> builtins.str: ...
2806
1985
 
2807
1986
  class Placeholder:
2808
1987
  r"""
@@ -2866,16 +2045,20 @@ class Placeholder:
2866
2045
 
2867
2046
  ```
2868
2047
  """
2869
- name: builtins.str
2870
- ndim: builtins.int
2871
- dtype: typing.Optional[DataType]
2872
- jagged: builtins.bool
2873
- description: typing.Optional[builtins.str]
2874
- shape: tuple
2875
- def __new__(cls,name:builtins.str, *, ndim:typing.Optional[builtins.int]=None, shape:typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]=None, dtype:typing.Optional[DataType]=None, jagged:builtins.bool=False, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
2876
- def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength:
2877
- ...
2878
-
2048
+ @property
2049
+ def name(self) -> builtins.str: ...
2050
+ @property
2051
+ def ndim(self) -> builtins.int: ...
2052
+ @property
2053
+ def dtype(self) -> typing.Optional[DataType]: ...
2054
+ @property
2055
+ def jagged(self) -> builtins.bool: ...
2056
+ @property
2057
+ def description(self) -> typing.Optional[builtins.str]: ...
2058
+ @property
2059
+ def shape(self) -> tuple: ...
2060
+ def __new__(cls, name:builtins.str, *, ndim:typing.Optional[builtins.int]=None, shape:typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]=None, dtype:typing.Optional[DataType]=None, jagged:builtins.bool=False, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> Placeholder: ...
2061
+ def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength: ...
2879
2062
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2880
2063
  r"""
2881
2064
  Set the LaTeX representation of the object.
@@ -2885,77 +2068,29 @@ class Placeholder:
2885
2068
  -----
2886
2069
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2887
2070
  """
2888
- ...
2889
-
2890
- def __str__(self) -> builtins.str:
2891
- ...
2892
-
2893
- def __repr__(self) -> builtins.str:
2894
- ...
2895
-
2896
- def _repr_latex_(self) -> builtins.str:
2897
- ...
2898
-
2899
- def __getitem__(self, index:typing.Any) -> Subscript:
2900
- ...
2901
-
2902
- def __eq__(self, other:typing.Any) -> typing.Any:
2903
- ...
2904
-
2905
- def __ne__(self, other:typing.Any) -> typing.Any:
2906
- ...
2907
-
2908
- def __lt__(self, other:typing.Any) -> typing.Any:
2909
- ...
2910
-
2911
- def __le__(self, other:typing.Any) -> typing.Any:
2912
- ...
2913
-
2914
- def __gt__(self, other:typing.Any) -> typing.Any:
2915
- ...
2916
-
2917
- def __ge__(self, other:typing.Any) -> typing.Any:
2918
- ...
2919
-
2920
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2921
- ...
2922
-
2923
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
2924
- ...
2925
-
2926
- def __mod__(self, other:typing.Any) -> typing.Any:
2927
- ...
2928
-
2929
- def __rmod__(self, other:typing.Any) -> typing.Any:
2930
- ...
2931
-
2932
- def __truediv__(self, other:typing.Any) -> typing.Any:
2933
- ...
2934
-
2935
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
2936
- ...
2937
-
2938
- def __mul__(self, other:typing.Any) -> typing.Any:
2939
- ...
2940
-
2941
- def __rmul__(self, other:typing.Any) -> typing.Any:
2942
- ...
2943
-
2944
- def __sub__(self, other:typing.Any) -> typing.Any:
2945
- ...
2946
-
2947
- def __rsub__(self, other:typing.Any) -> typing.Any:
2948
- ...
2949
-
2950
- def __add__(self, other:typing.Any) -> typing.Any:
2951
- ...
2952
-
2953
- def __radd__(self, other:typing.Any) -> typing.Any:
2954
- ...
2955
-
2956
- def __neg__(self) -> typing.Any:
2957
- ...
2958
-
2071
+ def __str__(self) -> builtins.str: ...
2072
+ def __repr__(self) -> builtins.str: ...
2073
+ def _repr_latex_(self) -> builtins.str: ...
2074
+ def __getitem__(self, index:typing.Any) -> Subscript: ...
2075
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
2076
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
2077
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
2078
+ def __le__(self, other:typing.Any) -> typing.Any: ...
2079
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
2080
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
2081
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2082
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2083
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
2084
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
2085
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
2086
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
2087
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
2088
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
2089
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
2090
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
2091
+ def __add__(self, other:typing.Any) -> typing.Any: ...
2092
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
2093
+ def __neg__(self) -> typing.Any: ...
2959
2094
 
2960
2095
  class PowOp:
2961
2096
  r"""
@@ -2973,8 +2108,10 @@ class PowOp:
2973
2108
  -----
2974
2109
  The `PowOp` class does not have a constructor.
2975
2110
  """
2976
- base: typing.Any
2977
- exponent: typing.Any
2111
+ @property
2112
+ def base(self) -> typing.Any: ...
2113
+ @property
2114
+ def exponent(self) -> typing.Any: ...
2978
2115
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
2979
2116
  r"""
2980
2117
  Set the LaTeX representation of the object.
@@ -2984,74 +2121,28 @@ class PowOp:
2984
2121
  -----
2985
2122
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
2986
2123
  """
2987
- ...
2988
-
2989
- def __str__(self) -> builtins.str:
2990
- ...
2991
-
2992
- def __repr__(self) -> builtins.str:
2993
- ...
2994
-
2995
- def _repr_latex_(self) -> builtins.str:
2996
- ...
2997
-
2998
- def __eq__(self, other:typing.Any) -> typing.Any:
2999
- ...
3000
-
3001
- def __ne__(self, other:typing.Any) -> typing.Any:
3002
- ...
3003
-
3004
- def __lt__(self, other:typing.Any) -> typing.Any:
3005
- ...
3006
-
3007
- def __le__(self, other:typing.Any) -> typing.Any:
3008
- ...
3009
-
3010
- def __gt__(self, other:typing.Any) -> typing.Any:
3011
- ...
3012
-
3013
- def __ge__(self, other:typing.Any) -> typing.Any:
3014
- ...
3015
-
3016
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3017
- ...
3018
-
3019
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3020
- ...
3021
-
3022
- def __mod__(self, other:typing.Any) -> typing.Any:
3023
- ...
3024
-
3025
- def __rmod__(self, other:typing.Any) -> typing.Any:
3026
- ...
3027
-
3028
- def __truediv__(self, other:typing.Any) -> typing.Any:
3029
- ...
3030
-
3031
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
3032
- ...
3033
-
3034
- def __mul__(self, other:typing.Any) -> typing.Any:
3035
- ...
3036
-
3037
- def __rmul__(self, other:typing.Any) -> typing.Any:
3038
- ...
3039
-
3040
- def __sub__(self, other:typing.Any) -> typing.Any:
3041
- ...
3042
-
3043
- def __rsub__(self, other:typing.Any) -> typing.Any:
3044
- ...
3045
-
3046
- def __add__(self, other:typing.Any) -> typing.Any:
3047
- ...
3048
-
3049
- def __radd__(self, other:typing.Any) -> typing.Any:
3050
- ...
3051
-
3052
- def __neg__(self) -> typing.Any:
3053
- ...
3054
-
2124
+ def __str__(self) -> builtins.str: ...
2125
+ def __repr__(self) -> builtins.str: ...
2126
+ def _repr_latex_(self) -> builtins.str: ...
2127
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
2128
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
2129
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
2130
+ def __le__(self, other:typing.Any) -> typing.Any: ...
2131
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
2132
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
2133
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2134
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2135
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
2136
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
2137
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
2138
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
2139
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
2140
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
2141
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
2142
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
2143
+ def __add__(self, other:typing.Any) -> typing.Any: ...
2144
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
2145
+ def __neg__(self) -> typing.Any: ...
3055
2146
 
3056
2147
  class Problem:
3057
2148
  r"""
@@ -3074,21 +2165,22 @@ class Problem:
3074
2165
  - `name` (`str`): A name of the optimization problem.
3075
2166
  - `sense` (optional): Sense of the optimization problem. Defaults to `ProblemSense.MINIMIZE`.
3076
2167
  """
3077
- name: builtins.str
3078
- sense: ProblemSense
3079
- objective: typing.Any
3080
- constraints: builtins.dict[builtins.str, Constraint]
3081
- custom_penalty_terms: builtins.dict[builtins.str, CustomPenaltyTerm]
3082
- def __new__(cls,name:builtins.str, *, sense:ProblemSense=...): ...
3083
- def __iadd__(self, other:typing.Any) -> Problem:
3084
- ...
3085
-
3086
- def _repr_latex_(self) -> builtins.str:
3087
- ...
3088
-
3089
- def used_placeholders(self) -> builtins.list[Placeholder]:
3090
- ...
3091
-
2168
+ @property
2169
+ def name(self) -> builtins.str: ...
2170
+ @property
2171
+ def sense(self) -> ProblemSense: ...
2172
+ @property
2173
+ def objective(self) -> typing.Any: ...
2174
+ @property
2175
+ def constraints(self) -> builtins.dict[builtins.str, Constraint]: ...
2176
+ @property
2177
+ def custom_penalty_terms(self) -> builtins.dict[builtins.str, CustomPenaltyTerm]: ...
2178
+ @sense.setter
2179
+ def sense(self, value: ProblemSense) -> None: ...
2180
+ def __iadd__(self, other:typing.Any) -> Problem: ...
2181
+ def __new__(cls, name:builtins.str, *, sense:ProblemSense=ProblemSense.MINIMIZE) -> Problem: ...
2182
+ def _repr_latex_(self) -> builtins.str: ...
2183
+ def used_placeholders(self) -> builtins.list[Placeholder]: ...
3092
2184
  def get_problem_schema(self) -> dict:
3093
2185
  r"""
3094
2186
  Returns the schema of the problem.
@@ -3097,8 +2189,6 @@ class Problem:
3097
2189
  --------
3098
2190
  - `schema`: The dictionary containing the schema of the problem.
3099
2191
  """
3100
- ...
3101
-
3102
2192
  def generate_random_dataset(self, default:typing.Mapping[builtins.str, builtins.range | tuple[typing.Optional[builtins.int], typing.Optional[builtins.int]] | builtins.int | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | tuple[typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded'], typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.range | tuple[typing.Optional[builtins.float], typing.Optional[builtins.float]] | builtins.int | builtins.float | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']] | tuple[builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded'], builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]]={'size': {'start': {'Included': 1}, 'end': {'Included': 5}}, 'value': {'start': {'Included': -1.0}, 'end': {'Included': 1.0}}}, options:typing.Mapping[builtins.str, typing.Mapping[builtins.str, builtins.range | tuple[typing.Optional[builtins.int], typing.Optional[builtins.int]] | builtins.int | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | tuple[typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded'], typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.range | tuple[typing.Optional[builtins.float], typing.Optional[builtins.float]] | builtins.int | builtins.float | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']] | tuple[builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded'], builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]]]={}, seed:typing.Optional[builtins.int]=None) -> builtins.dict[builtins.str, builtins.float | numpy.typing.NDArray[numpy.float64] | JaggedArray]:
3103
2193
  r"""
3104
2194
  Generates a dictionary of random `InstanceDataValue` for a given problem.
@@ -3187,8 +2277,6 @@ class Problem:
3187
2277
 
3188
2278
  ```
3189
2279
  """
3190
- ...
3191
-
3192
2280
  def generate_random_instance(self, default:typing.Mapping[builtins.str, builtins.range | tuple[typing.Optional[builtins.int], typing.Optional[builtins.int]] | builtins.int | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | tuple[typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded'], typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.range | tuple[typing.Optional[builtins.float], typing.Optional[builtins.float]] | builtins.int | builtins.float | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']] | tuple[builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded'], builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]]={'size': {'start': {'Included': 1}, 'end': {'Included': 5}}, 'value': {'start': {'Included': -1.0}, 'end': {'Included': 1.0}}}, options:typing.Mapping[builtins.str, typing.Mapping[builtins.str, builtins.range | tuple[typing.Optional[builtins.int], typing.Optional[builtins.int]] | builtins.int | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.int] | typing.Literal['Unbounded']] | tuple[typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded'], typing.Mapping[builtins.str, builtins.int] | typing.Literal['Unbounded']] | builtins.range | tuple[typing.Optional[builtins.float], typing.Optional[builtins.float]] | builtins.int | builtins.float | None | builtins.dict[builtins.str, builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']] | tuple[builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded'], builtins.dict[builtins.str, builtins.float] | typing.Literal['Unbounded']]]]={}, seed:typing.Optional[builtins.int]=None, hints:typing.Optional[typing.Sequence[typing.Literal['OneHot', 'SOS1']]]=None) -> typing.Any:
3193
2281
  r"""
3194
2282
  Generates random `ommx.v1.Instance` for a given problem.
@@ -3230,8 +2318,6 @@ class Problem:
3230
2318
 
3231
2319
  ```
3232
2320
  """
3233
- ...
3234
-
3235
2321
 
3236
2322
  class ProdOp:
3237
2323
  r"""
@@ -3250,9 +2336,12 @@ class ProdOp:
3250
2336
  -----
3251
2337
  The `ProdOp` class does not have a constructor.
3252
2338
  """
3253
- index: Element
3254
- condition: typing.Optional[typing.Any]
3255
- operand: typing.Any
2339
+ @property
2340
+ def index(self) -> Element: ...
2341
+ @property
2342
+ def condition(self) -> typing.Optional[typing.Any]: ...
2343
+ @property
2344
+ def operand(self) -> typing.Any: ...
3256
2345
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
3257
2346
  r"""
3258
2347
  Set the LaTeX representation of the object.
@@ -3262,74 +2351,28 @@ class ProdOp:
3262
2351
  -----
3263
2352
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
3264
2353
  """
3265
- ...
3266
-
3267
- def __str__(self) -> builtins.str:
3268
- ...
3269
-
3270
- def __repr__(self) -> builtins.str:
3271
- ...
3272
-
3273
- def _repr_latex_(self) -> builtins.str:
3274
- ...
3275
-
3276
- def __eq__(self, other:typing.Any) -> typing.Any:
3277
- ...
3278
-
3279
- def __ne__(self, other:typing.Any) -> typing.Any:
3280
- ...
3281
-
3282
- def __lt__(self, other:typing.Any) -> typing.Any:
3283
- ...
3284
-
3285
- def __le__(self, other:typing.Any) -> typing.Any:
3286
- ...
3287
-
3288
- def __gt__(self, other:typing.Any) -> typing.Any:
3289
- ...
3290
-
3291
- def __ge__(self, other:typing.Any) -> typing.Any:
3292
- ...
3293
-
3294
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3295
- ...
3296
-
3297
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3298
- ...
3299
-
3300
- def __mod__(self, other:typing.Any) -> typing.Any:
3301
- ...
3302
-
3303
- def __rmod__(self, other:typing.Any) -> typing.Any:
3304
- ...
3305
-
3306
- def __truediv__(self, other:typing.Any) -> typing.Any:
3307
- ...
3308
-
3309
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
3310
- ...
3311
-
3312
- def __mul__(self, other:typing.Any) -> typing.Any:
3313
- ...
3314
-
3315
- def __rmul__(self, other:typing.Any) -> typing.Any:
3316
- ...
3317
-
3318
- def __sub__(self, other:typing.Any) -> typing.Any:
3319
- ...
3320
-
3321
- def __rsub__(self, other:typing.Any) -> typing.Any:
3322
- ...
3323
-
3324
- def __add__(self, other:typing.Any) -> typing.Any:
3325
- ...
3326
-
3327
- def __radd__(self, other:typing.Any) -> typing.Any:
3328
- ...
3329
-
3330
- def __neg__(self) -> typing.Any:
3331
- ...
3332
-
2354
+ def __str__(self) -> builtins.str: ...
2355
+ def __repr__(self) -> builtins.str: ...
2356
+ def _repr_latex_(self) -> builtins.str: ...
2357
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
2358
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
2359
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
2360
+ def __le__(self, other:typing.Any) -> typing.Any: ...
2361
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
2362
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
2363
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2364
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2365
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
2366
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
2367
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
2368
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
2369
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
2370
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
2371
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
2372
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
2373
+ def __add__(self, other:typing.Any) -> typing.Any: ...
2374
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
2375
+ def __neg__(self) -> typing.Any: ...
3333
2376
 
3334
2377
  class Range:
3335
2378
  r"""
@@ -3347,14 +2390,12 @@ class Range:
3347
2390
  -----
3348
2391
  This class does not contain any decision variable.
3349
2392
  """
3350
- start: typing.Any
3351
- end: typing.Any
3352
- def __str__(self) -> builtins.str:
3353
- ...
3354
-
3355
- def __repr__(self) -> builtins.str:
3356
- ...
3357
-
2393
+ @property
2394
+ def start(self) -> typing.Any: ...
2395
+ @property
2396
+ def end(self) -> typing.Any: ...
2397
+ def __str__(self) -> builtins.str: ...
2398
+ def __repr__(self) -> builtins.str: ...
3358
2399
 
3359
2400
  class Record:
3360
2401
  r"""
@@ -3402,18 +2443,18 @@ class Record:
3402
2443
  - `solution` (`Union[Dict[str, List[numpy.ndarray]], Dict[str, List[Tuple[List[int], List[float], Tuple[int, ...]]]]]`): A solution.
3403
2444
  - `num_occurrences` (`List[int]`): A list of the number of occurrences in which the solution is observed.
3404
2445
  """
3405
- num_occurrences: builtins.list[builtins.int]
3406
- solution: dict
3407
- def __new__(cls,solution:typing.Any, num_occurrences:typing.Sequence[builtins.int]): ...
3408
- def __str__(self) -> builtins.str:
3409
- ...
3410
-
3411
- def __repr__(self) -> builtins.str:
3412
- ...
3413
-
3414
- def __richcmp__(self, other:Record, op:int) -> builtins.bool:
3415
- ...
3416
-
2446
+ @property
2447
+ def num_occurrences(self) -> builtins.list[builtins.int]: ...
2448
+ @property
2449
+ def solution(self) -> dict: ...
2450
+ @solution.setter
2451
+ def solution(self, value: typing.Any) -> None: ...
2452
+ @num_occurrences.setter
2453
+ def num_occurrences(self, value: builtins.list[builtins.int]) -> None: ...
2454
+ def __new__(cls, solution:typing.Any, num_occurrences:typing.Sequence[builtins.int]) -> Record: ...
2455
+ def __str__(self) -> builtins.str: ...
2456
+ def __repr__(self) -> builtins.str: ...
2457
+ def __richcmp__(self, other:Record, op:int) -> builtins.bool: ...
3417
2458
  def to_dict(self) -> dict:
3418
2459
  r"""
3419
2460
  Convert into a dict.
@@ -3422,8 +2463,6 @@ class Record:
3422
2463
  --------
3423
2464
  `dict`: A dict whose keys are "solution" and "num_occurrences".
3424
2465
  """
3425
- ...
3426
-
3427
2466
  @staticmethod
3428
2467
  def from_dict(dict:dict) -> Record:
3429
2468
  r"""
@@ -3439,8 +2478,6 @@ class Record:
3439
2478
  --------
3440
2479
  A `Record` object.
3441
2480
  """
3442
- ...
3443
-
3444
2481
  def to_json(self) -> builtins.str:
3445
2482
  r"""
3446
2483
  Serialize the `Record` object into a JSON string.
@@ -3453,8 +2490,6 @@ class Record:
3453
2490
  -----
3454
2491
  A numpy array is serialized into a list.
3455
2492
  """
3456
- ...
3457
-
3458
2493
  @staticmethod
3459
2494
  def from_json(json:str) -> Record:
3460
2495
  r"""
@@ -3468,8 +2503,6 @@ class Record:
3468
2503
  --------
3469
2504
  `Record`: A `Record` object.
3470
2505
  """
3471
- ...
3472
-
3473
2506
  def is_dense(self) -> builtins.bool:
3474
2507
  r"""
3475
2508
  Return true if the solution is dense.
@@ -3478,8 +2511,6 @@ class Record:
3478
2511
  --------
3479
2512
  `bool`: True if the solution is dense.
3480
2513
  """
3481
- ...
3482
-
3483
2514
  def is_sparse(self) -> builtins.bool:
3484
2515
  r"""
3485
2516
  Return true if the solution is sparse.
@@ -3488,8 +2519,6 @@ class Record:
3488
2519
  --------
3489
2520
  `bool`: True if the solution is sparse.
3490
2521
  """
3491
- ...
3492
-
3493
2522
  def to_dense(self) -> Record:
3494
2523
  r"""
3495
2524
  Return a `Record` object whose solution is dense.
@@ -3501,8 +2530,6 @@ class Record:
3501
2530
  --------
3502
2531
  `Record`: A Record object whose solution is dense.
3503
2532
  """
3504
- ...
3505
-
3506
2533
  def to_sparse(self) -> Record:
3507
2534
  r"""
3508
2535
  Return a `Record` object whose solution is sparse.
@@ -3514,8 +2541,6 @@ class Record:
3514
2541
  --------
3515
2542
  `Record`: A `Record` object whose solution is sparse.
3516
2543
  """
3517
- ...
3518
-
3519
2544
  def to_pandas(self) -> typing.Any:
3520
2545
  r"""
3521
2546
  Convert into a pandas DataFrame.
@@ -3524,8 +2549,6 @@ class Record:
3524
2549
  -------
3525
2550
  `pandas.DataFrame`: A pandas DataFrame.
3526
2551
  """
3527
- ...
3528
-
3529
2552
 
3530
2553
  class SampleSet:
3531
2554
  r"""
@@ -3539,20 +2562,26 @@ class SampleSet:
3539
2562
  - `fetch_result` (`float`, optional): Time to fetch result. Defaults to `None`.
3540
2563
  - `deserialize_solution` (`float`, optional): Time to deserialize json object. Defaults to `None`.
3541
2564
  """
3542
- record: Record
3543
- evaluation: Evaluation
3544
- measuring_time: MeasuringTime
3545
- metadata: dict
3546
- def __new__(cls,record:Record, evaluation:Evaluation, measuring_time:MeasuringTime, metadata:typing.Optional[dict]=None): ...
3547
- def __str__(self) -> builtins.str:
3548
- ...
3549
-
3550
- def __repr__(self) -> builtins.str:
3551
- ...
3552
-
3553
- def __richcmp__(self, other:SampleSet, op:int) -> builtins.bool:
3554
- ...
3555
-
2565
+ @property
2566
+ def record(self) -> Record: ...
2567
+ @property
2568
+ def evaluation(self) -> Evaluation: ...
2569
+ @property
2570
+ def measuring_time(self) -> MeasuringTime: ...
2571
+ @property
2572
+ def metadata(self) -> dict: ...
2573
+ @record.setter
2574
+ def record(self, value: Record) -> None: ...
2575
+ @evaluation.setter
2576
+ def evaluation(self, value: Evaluation) -> None: ...
2577
+ @measuring_time.setter
2578
+ def measuring_time(self, value: MeasuringTime) -> None: ...
2579
+ @metadata.setter
2580
+ def metadata(self, value: dict) -> None: ...
2581
+ def __new__(cls, record:Record, evaluation:Evaluation, measuring_time:MeasuringTime, metadata:typing.Optional[dict]=None) -> SampleSet: ...
2582
+ def __str__(self) -> builtins.str: ...
2583
+ def __repr__(self) -> builtins.str: ...
2584
+ def __richcmp__(self, other:SampleSet, op:int) -> builtins.bool: ...
3556
2585
  def to_dict(self) -> dict:
3557
2586
  r"""
3558
2587
  Convert into a dict.
@@ -3561,8 +2590,6 @@ class SampleSet:
3561
2590
  --------
3562
2591
  `dict`: A dict whose keys are name of the `SampleSet`'s fields.
3563
2592
  """
3564
- ...
3565
-
3566
2593
  @staticmethod
3567
2594
  def from_dict(dict:dict) -> SampleSet:
3568
2595
  r"""
@@ -3578,8 +2605,6 @@ class SampleSet:
3578
2605
  --------
3579
2606
  A `SampleSet` object.
3580
2607
  """
3581
- ...
3582
-
3583
2608
  def to_json(self) -> builtins.str:
3584
2609
  r"""
3585
2610
  Serialize the `SampleSet` object into a JSON string.
@@ -3592,8 +2617,6 @@ class SampleSet:
3592
2617
  -----
3593
2618
  A numpy array is converted into a list.
3594
2619
  """
3595
- ...
3596
-
3597
2620
  @staticmethod
3598
2621
  def from_json(json:str) -> SampleSet:
3599
2622
  r"""
@@ -3607,8 +2630,6 @@ class SampleSet:
3607
2630
  --------
3608
2631
  `SampleSet`: A `SampleSet` object.
3609
2632
  """
3610
- ...
3611
-
3612
2633
  def to_pandas(self) -> typing.Any:
3613
2634
  r"""
3614
2635
  Convert into a pandas DataFrame.
@@ -3617,8 +2638,6 @@ class SampleSet:
3617
2638
  --------
3618
2639
  `pandas.DataFrame`: A pandas DataFrame.
3619
2640
  """
3620
- ...
3621
-
3622
2641
  def to_dense(self) -> SampleSet:
3623
2642
  r"""
3624
2643
  Return a `SampleSet` whose record is converted into a dense solution format.
@@ -3628,8 +2647,6 @@ class SampleSet:
3628
2647
  --------
3629
2648
  `SampleSet`: A `SampleSet` object.
3630
2649
  """
3631
- ...
3632
-
3633
2650
  def feasible(self, rtol:builtins.float=1e-05, atol:builtins.float=1e-08) -> SampleSet:
3634
2651
  r"""
3635
2652
  Return a `SampleSet` with only feasible solutions.
@@ -3649,8 +2666,6 @@ class SampleSet:
3649
2666
  The feasible solutions are determined by the following condition:
3650
2667
  $$ |0 - v| \\leq \\mathrm{atol} + \\mathrm{rtol} \\cdot |v| $$
3651
2668
  """
3652
- ...
3653
-
3654
2669
  def infeasible(self, rtol:builtins.float=1e-05, atol:builtins.float=1e-08) -> SampleSet:
3655
2670
  r"""
3656
2671
  Return a `SampleSet` with only infeasible solutions.
@@ -3670,8 +2685,6 @@ class SampleSet:
3670
2685
  The feasible solutions are determined by the following condition:
3671
2686
  $$ |0 - v| > \\mathrm{atol} + \\mathrm{rtol} \\cdot |v| $$
3672
2687
  """
3673
- ...
3674
-
3675
2688
  def lowest(self, rtol:builtins.float=1e-05, atol:builtins.float=1e-08) -> SampleSet:
3676
2689
  r"""
3677
2690
  Return a `SampleSet` with feasible solutions which has the lowest objective.
@@ -3691,8 +2704,6 @@ class SampleSet:
3691
2704
  The feasible solutions are determined by the following condition:
3692
2705
  $$ |0 - v| \\leq \\mathrm{atol} + \\mathrm{rtol} \\cdot |v| $$
3693
2706
  """
3694
- ...
3695
-
3696
2707
  def is_dense(self) -> builtins.bool:
3697
2708
  r"""
3698
2709
  Return true if the solution is dense.
@@ -3701,8 +2712,6 @@ class SampleSet:
3701
2712
  --------
3702
2713
  `bool`: `True` if the solution is dense.
3703
2714
  """
3704
- ...
3705
-
3706
2715
  def is_sparse(self) -> builtins.bool:
3707
2716
  r"""
3708
2717
  Return true if the solution is sparse.
@@ -3711,8 +2720,6 @@ class SampleSet:
3711
2720
  --------
3712
2721
  `bool`: `True` if the solution is sparse.
3713
2722
  """
3714
- ...
3715
-
3716
2723
  def get_backend_calculation_time(self) -> dict:
3717
2724
  r"""
3718
2725
  Return report of the calculation time of the JijZept backends.
@@ -3721,8 +2728,6 @@ class SampleSet:
3721
2728
  --------
3722
2729
  `dict`: A dictionary of the calculation time of the JijZept backends.
3723
2730
  """
3724
- ...
3725
-
3726
2731
 
3727
2732
  class SemiContinuousVar:
3728
2733
  r"""
@@ -3793,22 +2798,22 @@ class SemiContinuousVar:
3793
2798
 
3794
2799
  ```
3795
2800
  """
3796
- name: builtins.str
3797
- description: builtins.str
3798
- ndim: builtins.int
3799
- shape: tuple
3800
- lower_bound: typing.Any | Placeholder | Subscript
3801
- upper_bound: typing.Any | Placeholder | Subscript
3802
- def __new__(cls,name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
3803
- def __getitem__(self, index:typing.Any) -> typing.Any:
3804
- ...
3805
-
3806
- def __truediv__(self, other:typing.Any) -> typing.Any:
3807
- ...
3808
-
3809
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
3810
- ...
3811
-
2801
+ @property
2802
+ def name(self) -> builtins.str: ...
2803
+ @property
2804
+ def description(self) -> builtins.str: ...
2805
+ @property
2806
+ def ndim(self) -> builtins.int: ...
2807
+ @property
2808
+ def shape(self) -> tuple: ...
2809
+ @property
2810
+ def lower_bound(self) -> typing.Any | Placeholder | Subscript: ...
2811
+ @property
2812
+ def upper_bound(self) -> typing.Any | Placeholder | Subscript: ...
2813
+ def __new__(cls, name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> SemiContinuousVar: ...
2814
+ def __getitem__(self, index:typing.Any) -> typing.Any: ...
2815
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
2816
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
3812
2817
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
3813
2818
  r"""
3814
2819
  Set the LaTeX representation of the object.
@@ -3818,62 +2823,24 @@ class SemiContinuousVar:
3818
2823
  -----
3819
2824
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
3820
2825
  """
3821
- ...
3822
-
3823
- def __str__(self) -> builtins.str:
3824
- ...
3825
-
3826
- def __repr__(self) -> builtins.str:
3827
- ...
3828
-
3829
- def _repr_latex_(self) -> builtins.str:
3830
- ...
3831
-
3832
- def __eq__(self, other:typing.Any) -> typing.Any:
3833
- ...
3834
-
3835
- def __ne__(self, other:typing.Any) -> typing.Any:
3836
- ...
3837
-
3838
- def __lt__(self, other:typing.Any) -> typing.Any:
3839
- ...
3840
-
3841
- def __le__(self, other:typing.Any) -> typing.Any:
3842
- ...
3843
-
3844
- def __gt__(self, other:typing.Any) -> typing.Any:
3845
- ...
3846
-
3847
- def __ge__(self, other:typing.Any) -> typing.Any:
3848
- ...
3849
-
3850
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3851
- ...
3852
-
3853
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
3854
- ...
3855
-
3856
- def __mul__(self, other:typing.Any) -> typing.Any:
3857
- ...
3858
-
3859
- def __rmul__(self, other:typing.Any) -> typing.Any:
3860
- ...
3861
-
3862
- def __sub__(self, other:typing.Any) -> typing.Any:
3863
- ...
3864
-
3865
- def __rsub__(self, other:typing.Any) -> typing.Any:
3866
- ...
3867
-
3868
- def __add__(self, other:typing.Any) -> typing.Any:
3869
- ...
3870
-
3871
- def __radd__(self, other:typing.Any) -> typing.Any:
3872
- ...
3873
-
3874
- def __neg__(self) -> typing.Any:
3875
- ...
3876
-
2826
+ def __str__(self) -> builtins.str: ...
2827
+ def __repr__(self) -> builtins.str: ...
2828
+ def _repr_latex_(self) -> builtins.str: ...
2829
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
2830
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
2831
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
2832
+ def __le__(self, other:typing.Any) -> typing.Any: ...
2833
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
2834
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
2835
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2836
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2837
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
2838
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
2839
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
2840
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
2841
+ def __add__(self, other:typing.Any) -> typing.Any: ...
2842
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
2843
+ def __neg__(self) -> typing.Any: ...
3877
2844
 
3878
2845
  class SemiIntegerVar:
3879
2846
  r"""
@@ -3945,22 +2912,22 @@ class SemiIntegerVar:
3945
2912
 
3946
2913
  ```
3947
2914
  """
3948
- name: builtins.str
3949
- description: builtins.str
3950
- ndim: builtins.int
3951
- shape: tuple
3952
- lower_bound: typing.Any | Placeholder | Subscript
3953
- upper_bound: typing.Any | Placeholder | Subscript
3954
- def __new__(cls,name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None): ...
3955
- def __getitem__(self, index:typing.Any) -> typing.Any:
3956
- ...
3957
-
3958
- def __truediv__(self, other:typing.Any) -> typing.Any:
3959
- ...
3960
-
3961
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
3962
- ...
3963
-
2915
+ @property
2916
+ def name(self) -> builtins.str: ...
2917
+ @property
2918
+ def description(self) -> builtins.str: ...
2919
+ @property
2920
+ def ndim(self) -> builtins.int: ...
2921
+ @property
2922
+ def shape(self) -> tuple: ...
2923
+ @property
2924
+ def lower_bound(self) -> typing.Any | Placeholder | Subscript: ...
2925
+ @property
2926
+ def upper_bound(self) -> typing.Any | Placeholder | Subscript: ...
2927
+ def __new__(cls, name:builtins.str, *, shape:typing.Optional[typing.Sequence[typing.Any]]=None, lower_bound:typing.Any | Placeholder | Subscript, upper_bound:typing.Any | Placeholder | Subscript, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> SemiIntegerVar: ...
2928
+ def __getitem__(self, index:typing.Any) -> typing.Any: ...
2929
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
2930
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
3964
2931
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
3965
2932
  r"""
3966
2933
  Set the LaTeX representation of the object.
@@ -3970,62 +2937,24 @@ class SemiIntegerVar:
3970
2937
  -----
3971
2938
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
3972
2939
  """
3973
- ...
3974
-
3975
- def __str__(self) -> builtins.str:
3976
- ...
3977
-
3978
- def __repr__(self) -> builtins.str:
3979
- ...
3980
-
3981
- def _repr_latex_(self) -> builtins.str:
3982
- ...
3983
-
3984
- def __eq__(self, other:typing.Any) -> typing.Any:
3985
- ...
3986
-
3987
- def __ne__(self, other:typing.Any) -> typing.Any:
3988
- ...
3989
-
3990
- def __lt__(self, other:typing.Any) -> typing.Any:
3991
- ...
3992
-
3993
- def __le__(self, other:typing.Any) -> typing.Any:
3994
- ...
3995
-
3996
- def __gt__(self, other:typing.Any) -> typing.Any:
3997
- ...
3998
-
3999
- def __ge__(self, other:typing.Any) -> typing.Any:
4000
- ...
4001
-
4002
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4003
- ...
4004
-
4005
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4006
- ...
4007
-
4008
- def __mul__(self, other:typing.Any) -> typing.Any:
4009
- ...
4010
-
4011
- def __rmul__(self, other:typing.Any) -> typing.Any:
4012
- ...
4013
-
4014
- def __sub__(self, other:typing.Any) -> typing.Any:
4015
- ...
4016
-
4017
- def __rsub__(self, other:typing.Any) -> typing.Any:
4018
- ...
4019
-
4020
- def __add__(self, other:typing.Any) -> typing.Any:
4021
- ...
4022
-
4023
- def __radd__(self, other:typing.Any) -> typing.Any:
4024
- ...
4025
-
4026
- def __neg__(self) -> typing.Any:
4027
- ...
4028
-
2940
+ def __str__(self) -> builtins.str: ...
2941
+ def __repr__(self) -> builtins.str: ...
2942
+ def _repr_latex_(self) -> builtins.str: ...
2943
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
2944
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
2945
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
2946
+ def __le__(self, other:typing.Any) -> typing.Any: ...
2947
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
2948
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
2949
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2950
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
2951
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
2952
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
2953
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
2954
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
2955
+ def __add__(self, other:typing.Any) -> typing.Any: ...
2956
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
2957
+ def __neg__(self) -> typing.Any: ...
4029
2958
 
4030
2959
  class SolvingTime:
4031
2960
  r"""
@@ -4037,19 +2966,22 @@ class SolvingTime:
4037
2966
  - `solve` (`float`, optional): Time to solve the problem. Defaults to None.
4038
2967
  - `postprocess` (`float`, optional): Time to postprocess the problem. Defaults to None.
4039
2968
  """
4040
- preprocess: typing.Optional[builtins.float]
4041
- solve: typing.Optional[builtins.float]
4042
- postprocess: typing.Optional[builtins.float]
4043
- def __new__(cls,preprocess:typing.Optional[builtins.float]=None, solve:typing.Optional[builtins.float]=None, postprocess:typing.Optional[builtins.float]=None): ...
4044
- def __str__(self) -> builtins.str:
4045
- ...
4046
-
4047
- def __repr__(self) -> builtins.str:
4048
- ...
4049
-
4050
- def __richcmp__(self, other:SolvingTime, op:int) -> builtins.bool:
4051
- ...
4052
-
2969
+ @property
2970
+ def preprocess(self) -> typing.Optional[builtins.float]: ...
2971
+ @property
2972
+ def solve(self) -> typing.Optional[builtins.float]: ...
2973
+ @property
2974
+ def postprocess(self) -> typing.Optional[builtins.float]: ...
2975
+ @preprocess.setter
2976
+ def preprocess(self, value: typing.Optional[builtins.float]) -> None: ...
2977
+ @solve.setter
2978
+ def solve(self, value: typing.Optional[builtins.float]) -> None: ...
2979
+ @postprocess.setter
2980
+ def postprocess(self, value: typing.Optional[builtins.float]) -> None: ...
2981
+ def __new__(cls, preprocess:typing.Optional[builtins.float]=None, solve:typing.Optional[builtins.float]=None, postprocess:typing.Optional[builtins.float]=None) -> SolvingTime: ...
2982
+ def __str__(self) -> builtins.str: ...
2983
+ def __repr__(self) -> builtins.str: ...
2984
+ def __richcmp__(self, other:SolvingTime, op:int) -> builtins.bool: ...
4053
2985
  def to_dict(self) -> dict:
4054
2986
  r"""
4055
2987
  Convert into a dict.
@@ -4058,8 +2990,6 @@ class SolvingTime:
4058
2990
  --------
4059
2991
  `dict`: A dict with keys "preprocess", "solve", and "postprocess".
4060
2992
  """
4061
- ...
4062
-
4063
2993
  @staticmethod
4064
2994
  def from_dict(dict:dict) -> SolvingTime:
4065
2995
  r"""
@@ -4075,8 +3005,6 @@ class SolvingTime:
4075
3005
  --------
4076
3006
  A `SolvingTime` object.
4077
3007
  """
4078
- ...
4079
-
4080
3008
  def to_json(self) -> builtins.str:
4081
3009
  r"""
4082
3010
  Serialize the `SolvingTime` object into a JSON string.
@@ -4089,8 +3017,6 @@ class SolvingTime:
4089
3017
  -----
4090
3018
  A numpy array is serialized into a list.
4091
3019
  """
4092
- ...
4093
-
4094
3020
  @staticmethod
4095
3021
  def from_json(json:str) -> SolvingTime:
4096
3022
  r"""
@@ -4104,8 +3030,6 @@ class SolvingTime:
4104
3030
  --------
4105
3031
  `SolvingTime`: A `SolvingTime` object.
4106
3032
  """
4107
- ...
4108
-
4109
3033
 
4110
3034
  class Subscript:
4111
3035
  r"""
@@ -4123,13 +3047,15 @@ class Subscript:
4123
3047
  -----
4124
3048
  The Subscript class does not have a constructor.
4125
3049
  """
4126
- variable: typing.Any
4127
- subscripts: builtins.list[typing.Any]
4128
- ndim: builtins.int
4129
- shape: tuple
4130
- def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength:
4131
- ...
4132
-
3050
+ @property
3051
+ def variable(self) -> typing.Any: ...
3052
+ @property
3053
+ def subscripts(self) -> builtins.list[typing.Any]: ...
3054
+ @property
3055
+ def ndim(self) -> builtins.int: ...
3056
+ @property
3057
+ def shape(self) -> tuple: ...
3058
+ def len_at(self, axis:builtins.int, *, latex:typing.Optional[builtins.str]=None, description:typing.Optional[builtins.str]=None) -> ArrayLength: ...
4133
3059
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
4134
3060
  r"""
4135
3061
  Set the LaTeX representation of the object.
@@ -4139,77 +3065,29 @@ class Subscript:
4139
3065
  -----
4140
3066
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
4141
3067
  """
4142
- ...
4143
-
4144
- def __str__(self) -> builtins.str:
4145
- ...
4146
-
4147
- def __repr__(self) -> builtins.str:
4148
- ...
4149
-
4150
- def _repr_latex_(self) -> builtins.str:
4151
- ...
4152
-
4153
- def __getitem__(self, index:typing.Any) -> Subscript:
4154
- ...
4155
-
4156
- def __eq__(self, other:typing.Any) -> typing.Any:
4157
- ...
4158
-
4159
- def __ne__(self, other:typing.Any) -> typing.Any:
4160
- ...
4161
-
4162
- def __lt__(self, other:typing.Any) -> typing.Any:
4163
- ...
4164
-
4165
- def __le__(self, other:typing.Any) -> typing.Any:
4166
- ...
4167
-
4168
- def __gt__(self, other:typing.Any) -> typing.Any:
4169
- ...
4170
-
4171
- def __ge__(self, other:typing.Any) -> typing.Any:
4172
- ...
4173
-
4174
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4175
- ...
4176
-
4177
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4178
- ...
4179
-
4180
- def __mod__(self, other:typing.Any) -> typing.Any:
4181
- ...
4182
-
4183
- def __rmod__(self, other:typing.Any) -> typing.Any:
4184
- ...
4185
-
4186
- def __truediv__(self, other:typing.Any) -> typing.Any:
4187
- ...
4188
-
4189
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
4190
- ...
4191
-
4192
- def __mul__(self, other:typing.Any) -> typing.Any:
4193
- ...
4194
-
4195
- def __rmul__(self, other:typing.Any) -> typing.Any:
4196
- ...
4197
-
4198
- def __sub__(self, other:typing.Any) -> typing.Any:
4199
- ...
4200
-
4201
- def __rsub__(self, other:typing.Any) -> typing.Any:
4202
- ...
4203
-
4204
- def __add__(self, other:typing.Any) -> typing.Any:
4205
- ...
4206
-
4207
- def __radd__(self, other:typing.Any) -> typing.Any:
4208
- ...
4209
-
4210
- def __neg__(self) -> typing.Any:
4211
- ...
4212
-
3068
+ def __str__(self) -> builtins.str: ...
3069
+ def __repr__(self) -> builtins.str: ...
3070
+ def _repr_latex_(self) -> builtins.str: ...
3071
+ def __getitem__(self, index:typing.Any) -> Subscript: ...
3072
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
3073
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
3074
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
3075
+ def __le__(self, other:typing.Any) -> typing.Any: ...
3076
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
3077
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
3078
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
3079
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
3080
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
3081
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
3082
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
3083
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
3084
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
3085
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
3086
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
3087
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
3088
+ def __add__(self, other:typing.Any) -> typing.Any: ...
3089
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
3090
+ def __neg__(self) -> typing.Any: ...
4213
3091
 
4214
3092
  class SumOp:
4215
3093
  r"""
@@ -4228,9 +3106,12 @@ class SumOp:
4228
3106
  -----
4229
3107
  The `SumOp` class does not have a constructor.
4230
3108
  """
4231
- index: Element
4232
- condition: typing.Optional[typing.Any]
4233
- operand: typing.Any
3109
+ @property
3110
+ def index(self) -> Element: ...
3111
+ @property
3112
+ def condition(self) -> typing.Optional[typing.Any]: ...
3113
+ @property
3114
+ def operand(self) -> typing.Any: ...
4234
3115
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
4235
3116
  r"""
4236
3117
  Set the LaTeX representation of the object.
@@ -4240,74 +3121,28 @@ class SumOp:
4240
3121
  -----
4241
3122
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
4242
3123
  """
4243
- ...
4244
-
4245
- def __str__(self) -> builtins.str:
4246
- ...
4247
-
4248
- def __repr__(self) -> builtins.str:
4249
- ...
4250
-
4251
- def _repr_latex_(self) -> builtins.str:
4252
- ...
4253
-
4254
- def __eq__(self, other:typing.Any) -> typing.Any:
4255
- ...
4256
-
4257
- def __ne__(self, other:typing.Any) -> typing.Any:
4258
- ...
4259
-
4260
- def __lt__(self, other:typing.Any) -> typing.Any:
4261
- ...
4262
-
4263
- def __le__(self, other:typing.Any) -> typing.Any:
4264
- ...
4265
-
4266
- def __gt__(self, other:typing.Any) -> typing.Any:
4267
- ...
4268
-
4269
- def __ge__(self, other:typing.Any) -> typing.Any:
4270
- ...
4271
-
4272
- def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4273
- ...
4274
-
4275
- def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any:
4276
- ...
4277
-
4278
- def __mod__(self, other:typing.Any) -> typing.Any:
4279
- ...
4280
-
4281
- def __rmod__(self, other:typing.Any) -> typing.Any:
4282
- ...
4283
-
4284
- def __truediv__(self, other:typing.Any) -> typing.Any:
4285
- ...
4286
-
4287
- def __rtruediv__(self, other:typing.Any) -> typing.Any:
4288
- ...
4289
-
4290
- def __mul__(self, other:typing.Any) -> typing.Any:
4291
- ...
4292
-
4293
- def __rmul__(self, other:typing.Any) -> typing.Any:
4294
- ...
4295
-
4296
- def __sub__(self, other:typing.Any) -> typing.Any:
4297
- ...
4298
-
4299
- def __rsub__(self, other:typing.Any) -> typing.Any:
4300
- ...
4301
-
4302
- def __add__(self, other:typing.Any) -> typing.Any:
4303
- ...
4304
-
4305
- def __radd__(self, other:typing.Any) -> typing.Any:
4306
- ...
4307
-
4308
- def __neg__(self) -> typing.Any:
4309
- ...
4310
-
3124
+ def __str__(self) -> builtins.str: ...
3125
+ def __repr__(self) -> builtins.str: ...
3126
+ def _repr_latex_(self) -> builtins.str: ...
3127
+ def __eq__(self, other:typing.Any) -> typing.Any: ...
3128
+ def __ne__(self, other:typing.Any) -> typing.Any: ...
3129
+ def __lt__(self, other:typing.Any) -> typing.Any: ...
3130
+ def __le__(self, other:typing.Any) -> typing.Any: ...
3131
+ def __gt__(self, other:typing.Any) -> typing.Any: ...
3132
+ def __ge__(self, other:typing.Any) -> typing.Any: ...
3133
+ def __pow__(self, exponent:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
3134
+ def __rpow__(self, base:typing.Any, modulo:typing.Optional[typing.Any]=None) -> typing.Any: ...
3135
+ def __mod__(self, other:typing.Any) -> typing.Any: ...
3136
+ def __rmod__(self, other:typing.Any) -> typing.Any: ...
3137
+ def __truediv__(self, other:typing.Any) -> typing.Any: ...
3138
+ def __rtruediv__(self, other:typing.Any) -> typing.Any: ...
3139
+ def __mul__(self, other:typing.Any) -> typing.Any: ...
3140
+ def __rmul__(self, other:typing.Any) -> typing.Any: ...
3141
+ def __sub__(self, other:typing.Any) -> typing.Any: ...
3142
+ def __rsub__(self, other:typing.Any) -> typing.Any: ...
3143
+ def __add__(self, other:typing.Any) -> typing.Any: ...
3144
+ def __radd__(self, other:typing.Any) -> typing.Any: ...
3145
+ def __neg__(self) -> typing.Any: ...
4311
3146
 
4312
3147
  class SystemTime:
4313
3148
  r"""
@@ -4321,21 +3156,30 @@ class SystemTime:
4321
3156
  - `fetch_result` (`float`, optional): Time to fetch result. Defaults to None.
4322
3157
  - `deserialize_solution` (`float`, optional): Time to deserialize json object. Defaults to None.
4323
3158
  """
4324
- post_problem_and_instance_data: typing.Optional[builtins.float]
4325
- request_queue: typing.Optional[builtins.float]
4326
- fetch_problem_and_instance_data: typing.Optional[builtins.float]
4327
- fetch_result: typing.Optional[builtins.float]
4328
- deserialize_solution: typing.Optional[builtins.float]
4329
- def __new__(cls,post_problem_and_instance_data:typing.Optional[builtins.float]=None, request_queue:typing.Optional[builtins.float]=None, fetch_problem_and_instance_data:typing.Optional[builtins.float]=None, fetch_result:typing.Optional[builtins.float]=None, deserialize_solution:typing.Optional[builtins.float]=None): ...
4330
- def __str__(self) -> builtins.str:
4331
- ...
4332
-
4333
- def __repr__(self) -> builtins.str:
4334
- ...
4335
-
4336
- def __richcmp__(self, other:SystemTime, op:int) -> builtins.bool:
4337
- ...
4338
-
3159
+ @property
3160
+ def post_problem_and_instance_data(self) -> typing.Optional[builtins.float]: ...
3161
+ @property
3162
+ def request_queue(self) -> typing.Optional[builtins.float]: ...
3163
+ @property
3164
+ def fetch_problem_and_instance_data(self) -> typing.Optional[builtins.float]: ...
3165
+ @property
3166
+ def fetch_result(self) -> typing.Optional[builtins.float]: ...
3167
+ @property
3168
+ def deserialize_solution(self) -> typing.Optional[builtins.float]: ...
3169
+ @post_problem_and_instance_data.setter
3170
+ def post_problem_and_instance_data(self, value: typing.Optional[builtins.float]) -> None: ...
3171
+ @request_queue.setter
3172
+ def request_queue(self, value: typing.Optional[builtins.float]) -> None: ...
3173
+ @fetch_problem_and_instance_data.setter
3174
+ def fetch_problem_and_instance_data(self, value: typing.Optional[builtins.float]) -> None: ...
3175
+ @fetch_result.setter
3176
+ def fetch_result(self, value: typing.Optional[builtins.float]) -> None: ...
3177
+ @deserialize_solution.setter
3178
+ def deserialize_solution(self, value: typing.Optional[builtins.float]) -> None: ...
3179
+ def __new__(cls, post_problem_and_instance_data:typing.Optional[builtins.float]=None, request_queue:typing.Optional[builtins.float]=None, fetch_problem_and_instance_data:typing.Optional[builtins.float]=None, fetch_result:typing.Optional[builtins.float]=None, deserialize_solution:typing.Optional[builtins.float]=None) -> SystemTime: ...
3180
+ def __str__(self) -> builtins.str: ...
3181
+ def __repr__(self) -> builtins.str: ...
3182
+ def __richcmp__(self, other:SystemTime, op:int) -> builtins.bool: ...
4339
3183
  def to_dict(self) -> dict:
4340
3184
  r"""
4341
3185
  Convert into a dict.
@@ -4344,8 +3188,6 @@ class SystemTime:
4344
3188
  --------
4345
3189
  `dict`: A dict whose keys are name of the SystemTime's fields.
4346
3190
  """
4347
- ...
4348
-
4349
3191
  @staticmethod
4350
3192
  def from_dict(dict:dict) -> SystemTime:
4351
3193
  r"""
@@ -4361,8 +3203,6 @@ class SystemTime:
4361
3203
  --------
4362
3204
  A `SystemTime` object.
4363
3205
  """
4364
- ...
4365
-
4366
3206
  def to_json(self) -> builtins.str:
4367
3207
  r"""
4368
3208
  Serialize the `SystemTime` object into a JSON string.
@@ -4375,8 +3215,6 @@ class SystemTime:
4375
3215
  -----
4376
3216
  A numpy array is serialized into a list.
4377
3217
  """
4378
- ...
4379
-
4380
3218
  @staticmethod
4381
3219
  def from_json(json:str) -> SystemTime:
4382
3220
  r"""
@@ -4390,8 +3228,6 @@ class SystemTime:
4390
3228
  --------
4391
3229
  `SystemTime`: A `SystemTime` object.
4392
3230
  """
4393
- ...
4394
-
4395
3231
 
4396
3232
  class XorOp:
4397
3233
  r"""
@@ -4409,7 +3245,8 @@ class XorOp:
4409
3245
  -----
4410
3246
  The `XorOp` class does not have a constructor.
4411
3247
  """
4412
- terms: builtins.list[typing.Any]
3248
+ @property
3249
+ def terms(self) -> builtins.list[typing.Any]: ...
4413
3250
  def set_latex(self, latex:typing.Optional[builtins.str]=None) -> None:
4414
3251
  r"""
4415
3252
  Set the LaTeX representation of the object.
@@ -4419,36 +3256,28 @@ class XorOp:
4419
3256
  -----
4420
3257
  `latex` (`str`, optional): LaTeX representation of the object. Defaults to None.
4421
3258
  """
4422
- ...
4423
-
4424
- def __str__(self) -> builtins.str:
4425
- ...
4426
-
4427
- def __repr__(self) -> builtins.str:
4428
- ...
4429
-
4430
- def _repr_latex_(self) -> builtins.str:
4431
- ...
4432
-
3259
+ def __str__(self) -> builtins.str: ...
3260
+ def __repr__(self) -> builtins.str: ...
3261
+ def _repr_latex_(self) -> builtins.str: ...
4433
3262
 
4434
3263
  class ConstraintSense(Enum):
4435
3264
  r"""
4436
3265
  Equality of a constraint
4437
3266
  """
4438
- EQUAL = auto()
4439
- LESS_THAN_EQUAL = auto()
4440
- GREATER_THAN_EQUAL = auto()
3267
+ EQUAL = ...
3268
+ LESS_THAN_EQUAL = ...
3269
+ GREATER_THAN_EQUAL = ...
4441
3270
 
4442
3271
  class DataType(Enum):
4443
- FLOAT = auto()
4444
- INTEGER = auto()
3272
+ FLOAT = ...
3273
+ INTEGER = ...
4445
3274
 
4446
3275
  class ProblemSense(Enum):
4447
3276
  r"""
4448
3277
  An optimization sense
4449
3278
  """
4450
- MINIMIZE = auto()
4451
- MAXIMIZE = auto()
3279
+ MINIMIZE = ...
3280
+ MAXIMIZE = ...
4452
3281
 
4453
3282
  def abs(operand:typing.Any) -> AbsOp:
4454
3283
  r"""
@@ -4477,7 +3306,6 @@ def abs(operand:typing.Any) -> AbsOp:
4477
3306
  -------
4478
3307
  `ModelingError`: Raises if the input contains a decision variable.
4479
3308
  """
4480
- ...
4481
3309
 
4482
3310
  def ceil(operand:typing.Any) -> CeilOp:
4483
3311
  r"""
@@ -4506,7 +3334,6 @@ def ceil(operand:typing.Any) -> CeilOp:
4506
3334
  -------
4507
3335
  `ModelingError`: Raises if the input contains a decision variable.
4508
3336
  """
4509
- ...
4510
3337
 
4511
3338
  def concatenate(sample_sets:typing.Sequence[SampleSet]) -> SampleSet:
4512
3339
  r"""
@@ -4524,7 +3351,6 @@ def concatenate(sample_sets:typing.Sequence[SampleSet]) -> SampleSet:
4524
3351
  -----
4525
3352
  This function will be deprecated in v1.1.0.
4526
3353
  """
4527
- ...
4528
3354
 
4529
3355
  def extract_nodes(obj:typing.Any, class_or_tuple:type | typing.Sequence[type]) -> builtins.list[typing.Any]:
4530
3356
  r"""
@@ -4571,7 +3397,6 @@ def extract_nodes(obj:typing.Any, class_or_tuple:type | typing.Sequence[type]) -
4571
3397
 
4572
3398
  ```
4573
3399
  """
4574
- ...
4575
3400
 
4576
3401
  def extract_variables(obj:typing.Any) -> builtins.list[typing.Any]:
4577
3402
  r"""
@@ -4612,7 +3437,6 @@ def extract_variables(obj:typing.Any) -> builtins.list[typing.Any]:
4612
3437
 
4613
3438
  ```
4614
3439
  """
4615
- ...
4616
3440
 
4617
3441
  def floor(operand:typing.Any) -> FloorOp:
4618
3442
  r"""
@@ -4641,10 +3465,8 @@ def floor(operand:typing.Any) -> FloorOp:
4641
3465
  -------
4642
3466
  `ModelingError`: Raises if the input contains a decision variable.
4643
3467
  """
4644
- ...
4645
3468
 
4646
- def from_protobuf(buf:bytes) -> typing.Any:
4647
- ...
3469
+ def from_protobuf(buf:bytes) -> typing.Any: ...
4648
3470
 
4649
3471
  def is_dynamic_degree(expr:typing.Any) -> builtins.bool:
4650
3472
  r"""
@@ -4672,7 +3494,6 @@ def is_dynamic_degree(expr:typing.Any) -> builtins.bool:
4672
3494
 
4673
3495
  ```
4674
3496
  """
4675
- ...
4676
3497
 
4677
3498
  def is_higher_order(expr:typing.Any) -> builtins.bool:
4678
3499
  r"""
@@ -4686,7 +3507,6 @@ def is_higher_order(expr:typing.Any) -> builtins.bool:
4686
3507
  --------
4687
3508
  `bool`: True if the degree of the given expression is higher than 2.
4688
3509
  """
4689
- ...
4690
3510
 
4691
3511
  def is_linear(expr:typing.Any) -> builtins.bool:
4692
3512
  r"""
@@ -4700,7 +3520,6 @@ def is_linear(expr:typing.Any) -> builtins.bool:
4700
3520
  --------
4701
3521
  `bool`: True if the given expression is linear.
4702
3522
  """
4703
- ...
4704
3523
 
4705
3524
  def is_quadratic(expr:typing.Any) -> builtins.bool:
4706
3525
  r"""
@@ -4714,7 +3533,6 @@ def is_quadratic(expr:typing.Any) -> builtins.bool:
4714
3533
  --------
4715
3534
  `bool`: True if the given expression is quadratic.
4716
3535
  """
4717
- ...
4718
3536
 
4719
3537
  def is_same(src:typing.Any, dst:typing.Any) -> builtins.bool:
4720
3538
  r"""
@@ -4765,7 +3583,6 @@ def is_same(src:typing.Any, dst:typing.Any) -> builtins.bool:
4765
3583
 
4766
3584
  this code works without any exception.
4767
3585
  """
4768
- ...
4769
3586
 
4770
3587
  def ln(operand:typing.Any) -> LnOp:
4771
3588
  r"""
@@ -4794,13 +3611,11 @@ def ln(operand:typing.Any) -> LnOp:
4794
3611
  -------
4795
3612
  `ModelingError`: Raises if the input contains a decision variable.
4796
3613
  """
4797
- ...
4798
3614
 
4799
3615
  def load_mps(path:builtins.str) -> tuple:
4800
3616
  r"""
4801
3617
  Load a MPS file as a set of `Problem` and dictionary for instance data
4802
3618
  """
4803
- ...
4804
3619
 
4805
3620
  def load_qplib(path:builtins.str, load_extra_data:builtins.bool=False) -> tuple:
4806
3621
  r"""
@@ -4836,7 +3651,6 @@ def load_qplib(path:builtins.str, load_extra_data:builtins.bool=False) -> tuple:
4836
3651
  additional dictionary holds information on starting points, variable names
4837
3652
  and constraint names, as defined in the file.
4838
3653
  """
4839
- ...
4840
3654
 
4841
3655
  def log10(operand:typing.Any) -> Log10Op:
4842
3656
  r"""
@@ -4865,7 +3679,6 @@ def log10(operand:typing.Any) -> Log10Op:
4865
3679
  -------
4866
3680
  `ModelingError`: Raises if the input contains a decision variable.
4867
3681
  """
4868
- ...
4869
3682
 
4870
3683
  def log2(operand:typing.Any) -> Log2Op:
4871
3684
  r"""
@@ -4894,7 +3707,6 @@ def log2(operand:typing.Any) -> Log2Op:
4894
3707
  -------
4895
3708
  `ModelingError`: Raises if the input contains a decision variable.
4896
3709
  """
4897
- ...
4898
3710
 
4899
3711
  def max(*operands) -> MaxOp:
4900
3712
  r"""
@@ -4925,7 +3737,6 @@ def max(*operands) -> MaxOp:
4925
3737
  -------
4926
3738
  `ModelingError`: Raises if the input contains a decision variable.
4927
3739
  """
4928
- ...
4929
3740
 
4930
3741
  def min(*operands) -> MinOp:
4931
3742
  r"""
@@ -4956,7 +3767,6 @@ def min(*operands) -> MinOp:
4956
3767
  -------
4957
3768
  `ModelingError`: Raises if the input contains a decision variable.
4958
3769
  """
4959
- ...
4960
3770
 
4961
3771
  def prod(index:typing.Any, operand:typing.Any) -> ProdOp:
4962
3772
  r"""
@@ -5009,7 +3819,6 @@ def prod(index:typing.Any, operand:typing.Any) -> ProdOp:
5009
3819
 
5010
3820
  This code creates product of an indexed placeholder $a_{i}$ from $i=0$ to $9$ subject to the condition $i\neq2$.
5011
3821
  """
5012
- ...
5013
3822
 
5014
3823
  def replace(target:typing.Any, replacer:typing.Any) -> typing.Any:
5015
3824
  r"""
@@ -5094,7 +3903,6 @@ def replace(target:typing.Any, replacer:typing.Any) -> typing.Any:
5094
3903
  - The replacer must take an expression node as the argument.
5095
3904
  - The replacer must return an expression node.
5096
3905
  """
5097
- ...
5098
3906
 
5099
3907
  def sum(index:typing.Any, operand:typing.Any) -> SumOp:
5100
3908
  r"""
@@ -5146,10 +3954,8 @@ def sum(index:typing.Any, operand:typing.Any) -> SumOp:
5146
3954
 
5147
3955
  This code creates summation of an indexed placeholder $a_{i}$ from $i=0$ to $9$ subject to the condition $i\neq2$.
5148
3956
  """
5149
- ...
5150
3957
 
5151
- def to_protobuf(obj:Problem | Constraint | CustomPenaltyTerm | typing.Any | typing.Any) -> bytes:
5152
- ...
3958
+ def to_protobuf(obj:Problem | Constraint | CustomPenaltyTerm | typing.Any | typing.Any) -> bytes: ...
5153
3959
 
5154
3960
  class InterpreterError(RuntimeError): ...
5155
3961