jijmodeling 1.4.1__cp39-cp39-macosx_10_16_x86_64.whl → 1.6.0__cp39-cp39-macosx_10_16_x86_64.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
@@ -2657,6 +2657,9 @@ class Problem:
2657
2657
  def __iadd__(self, other) -> Any:
2658
2658
  ...
2659
2659
 
2660
+ def used_placeholders(self) -> List[Any]:
2661
+ ...
2662
+
2660
2663
 
2661
2664
  @final
2662
2665
  class ProdOp:
@@ -6,7 +6,7 @@
6
6
  # and exposes all the components in `jijmodeling.jijmodeling.experimental`
7
7
  #
8
8
 
9
- from ._jijmodeling import experimental as _experimental # type: ignore
9
+ from ._jijmodeling import experimental as _experimental # type: ignore
10
10
  import sys
11
11
 
12
12
  for component in _experimental.__all__:
@@ -74,12 +74,37 @@ class Sample:
74
74
  def __repr__(self) -> str:
75
75
  ...
76
76
 
77
+ def __eq__(self, other) -> bool:
78
+ ...
79
+
77
80
  def is_feasible(self, epsilon = ...) -> bool:
78
81
  ...
79
82
 
80
83
  def to_dense(self) -> Dict[str, Any]:
81
84
  ...
82
85
 
86
+ @staticmethod
87
+ def from_dict(dict) -> Any:
88
+ r"""
89
+ Converts a python dictionary into a SampleSet.
90
+
91
+ This is intended to be used primarily with dictionaries generated by
92
+ the `to_dict()` method. As such sparse value maps must be represented as
93
+ association lists.
94
+ """
95
+ ...
96
+
97
+ def to_dict(self) -> Any:
98
+ r"""
99
+ Converts this SampleSet into a regular python dictionary.
100
+
101
+ Note that this dictionary has a slightly different structure to better support JSON
102
+ serialization of the output dictionary: sparse values are stored differently. Any mapping
103
+ with tuples as keys is transformed into an association list of key-value pairs,
104
+ that is, `[(k1, v1), (k2, v2), ...]`.
105
+ """
106
+ ...
107
+
83
108
 
84
109
  @final
85
110
  class SampleIter:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: jijmodeling
3
- Version: 1.4.1
3
+ Version: 1.6.0
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Operating System :: POSIX :: Linux
6
6
  Classifier: Operating System :: MacOS
@@ -0,0 +1,12 @@
1
+ jijmodeling-1.6.0.dist-info/METADATA,sha256=NIX1DwgAgCJ_MpAGU7Zv-NJx4gsOsXimgTZDAw2QQuA,12760
2
+ jijmodeling-1.6.0.dist-info/WHEEL,sha256=DzE885OM4tgpnojf9QLVZt06yn91bu5XZ71JUSOuprA,104
3
+ jijmodeling-1.6.0.dist-info/license_files/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
4
+ jijmodeling/experimental.py,sha256=Of-tUY3kfpFHpjGbIcclbMenCP2BMW07me895YH7tG8,575
5
+ jijmodeling/__init__.pyi,sha256=2Y6bSIZqRuTJAdiQaQ1aoFjPX7nkAtcFj69qGww7xa4,114698
6
+ jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
7
+ jijmodeling/dataset.pyi,sha256=x77frITd2LuKQ_kG457wyBGG-Fi5K-Ym0hKFC_CNOxw,4022
8
+ jijmodeling/experimental.pyi,sha256=D_ejdT0zxLXqe_8sx2_8cY84OaZwacEhJuuXDLm0l0g,8288
9
+ jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
10
+ jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ jijmodeling/_jijmodeling.cpython-39-darwin.so,sha256=lU8k95GGqPQZg1rSbSgFo1DK-Ojia-ia-t1kuKNnHmE,4346128
12
+ jijmodeling-1.6.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.5.0)
2
+ Generator: maturin (1.7.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-macosx_10_16_x86_64
@@ -1,12 +0,0 @@
1
- jijmodeling-1.4.1.dist-info/METADATA,sha256=ar8644EcHr7oe5C-imFyxm7TivK9mwudK40eQsXisVs,12760
2
- jijmodeling-1.4.1.dist-info/WHEEL,sha256=R9e2p6tvBBTl4lH1YSGUkh7g4UowXxega1mWoEpT4pE,104
3
- jijmodeling-1.4.1.dist-info/license_files/LICENSE.txt,sha256=T5HdEbP5NWG8fZbvF9pofeteW3HrS30V3_LvtPUHFYM,3400
4
- jijmodeling/experimental.py,sha256=52Hhua5YkQjLtElzorBMPKSM5WWMzoJoIBmwPXj6qjI,574
5
- jijmodeling/__init__.pyi,sha256=jOljniwoDuLFMqYyDHh-VAQT9gtXmrhtfbZnXzfsTyc,114639
6
- jijmodeling/__init__.py,sha256=43DV_WzDxS0n6FseNyfJZ6oQucO31T4qqbz3bx9JMtE,44
7
- jijmodeling/dataset.pyi,sha256=x77frITd2LuKQ_kG457wyBGG-Fi5K-Ym0hKFC_CNOxw,4022
8
- jijmodeling/experimental.pyi,sha256=LadFGzSSdP4IX1_PF1DhAIdRvdCBorLu2k1mf88rpMk,7434
9
- jijmodeling/dataset.py,sha256=S4piVIiUGJMi8MlG3kFV-8JIkzvnktAS0IdkbJ655hw,185
10
- jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- jijmodeling/_jijmodeling.cpython-39-darwin.so,sha256=J-UY3arhYQd-FqgJN3LWgVJ1BYf1pJy_7WM-0Bv-wQE,4231680
12
- jijmodeling-1.4.1.dist-info/RECORD,,