jijmodeling 1.4.1__cp39-none-win_amd64.whl → 1.5.0__cp39-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of jijmodeling might be problematic. Click here for more details.

Binary file
@@ -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.5.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.5.0.dist-info/METADATA,sha256=QPifh7vPSGVgA9axs3ZJwujlyFVdjXAhvvgBL4o6Q2g,12958
2
+ jijmodeling-1.5.0.dist-info/WHEEL,sha256=EqgtSuBVfoo49ZCSzjFhNjgk8PaMP7solNQLg3lziKE,94
3
+ jijmodeling-1.5.0.dist-info/license_files/LICENSE.txt,sha256=llUjgcEN5bUeFlj1RqxJxDMxUnlYvowLsldCF6Lwq8c,3445
4
+ jijmodeling/dataset.py,sha256=L8yUjKp81m6_CoSfdPJMoJmlCQ_gf7n8okURTKRMXaw,190
5
+ jijmodeling/dataset.pyi,sha256=i3Y3e7i9w66IUSR6OobnxRJ3YYtWSZ2tiWfKga3mElM,4129
6
+ jijmodeling/experimental.py,sha256=WWmxJzkyx_EYac1zmxflmFND191-xbVVXEdqot2VrM4,588
7
+ jijmodeling/experimental.pyi,sha256=mnpmcJmpqIXT1prkwzGpgHEXv3GUB_NuagR6tjyyvWY,8596
8
+ jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ jijmodeling/__init__.py,sha256=jJ6o5wp3MPAP1uR3dqSvjaXG57t1IwcS8ojqPpZL-gU,45
10
+ jijmodeling/__init__.pyi,sha256=DZgSrniBXKBkM-m9zuzcoPkxa2Z0mTbe5YI7Kgy1u6w,119159
11
+ jijmodeling/_jijmodeling.cp39-win_amd64.pyd,sha256=2S4Q684A8RHu_fCyut_h8rJYPesLUku2n-qLuvVK8uM,4884992
12
+ jijmodeling-1.5.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.5.0)
2
+ Generator: maturin (1.6.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-none-win_amd64
@@ -1,12 +0,0 @@
1
- jijmodeling-1.4.1.dist-info/METADATA,sha256=D0zWooG9sgTrJIuHnLd17t8Yq-UddDoEmpjz9v4HKDY,12958
2
- jijmodeling-1.4.1.dist-info/WHEEL,sha256=1WVBudP2uGuWxretrBFqLgXGduBywn6TuK3XY8BMSpY,94
3
- jijmodeling-1.4.1.dist-info/license_files/LICENSE.txt,sha256=llUjgcEN5bUeFlj1RqxJxDMxUnlYvowLsldCF6Lwq8c,3445
4
- jijmodeling/dataset.py,sha256=L8yUjKp81m6_CoSfdPJMoJmlCQ_gf7n8okURTKRMXaw,190
5
- jijmodeling/dataset.pyi,sha256=i3Y3e7i9w66IUSR6OobnxRJ3YYtWSZ2tiWfKga3mElM,4129
6
- jijmodeling/experimental.py,sha256=aUbfLKR5snV8jqyWXvvhV_1OEU66IbO9CI-qqhKADf8,587
7
- jijmodeling/experimental.pyi,sha256=mjW_OGT7ftb46TxMcnuhv7VsUi5LIV2P_fbvY3s6LI0,7717
8
- jijmodeling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- jijmodeling/__init__.py,sha256=jJ6o5wp3MPAP1uR3dqSvjaXG57t1IwcS8ojqPpZL-gU,45
10
- jijmodeling/__init__.pyi,sha256=DZgSrniBXKBkM-m9zuzcoPkxa2Z0mTbe5YI7Kgy1u6w,119159
11
- jijmodeling/_jijmodeling.cp39-win_amd64.pyd,sha256=MdphXmI5KFpmC1lMYDRFVXrv_oCfpvNB_ZPiS3n2Lng,4774912
12
- jijmodeling-1.4.1.dist-info/RECORD,,