dwave-preprocessing 0.6.11__tar.gz → 0.6.12__tar.gz

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.
Files changed (154) hide show
  1. {dwave_preprocessing-0.6.11/dwave_preprocessing.egg-info → dwave_preprocessing-0.6.12}/PKG-INFO +5 -22
  2. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/README.rst +1 -18
  3. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/__init__.py +1 -1
  4. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/spin_reversal_transform.py +14 -16
  5. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/implication_network.hpp +7 -2
  6. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/cypresolve.cpp +2 -2
  7. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12/dwave_preprocessing.egg-info}/PKG-INFO +5 -22
  8. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave_preprocessing.egg-info/requires.txt +1 -1
  9. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/pyproject.toml +4 -3
  10. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/setup.cfg +2 -2
  11. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/setup.py +1 -1
  12. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/LICENSE +0 -0
  13. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/MANIFEST.in +0 -0
  14. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/__init__.py +0 -0
  15. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/clip.py +0 -0
  16. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/connected_components.py +0 -0
  17. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/fix_variables.py +0 -0
  18. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/composites/scale.py +0 -0
  19. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/cyfix_variables.cpp +0 -0
  20. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/cyfix_variables.pyx +0 -0
  21. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave/exceptions.hpp +0 -0
  22. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave/flags.hpp +0 -0
  23. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave/presolve.hpp +0 -0
  24. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/fix_variables.hpp +0 -0
  25. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/helper_data_structures.hpp +0 -0
  26. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/helper_graph_algorithms.hpp +0 -0
  27. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/mapping_policy.hpp +0 -0
  28. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/posiform_info.hpp +0 -0
  29. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/include/dwave-preprocessing/push_relabel.hpp +0 -0
  30. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/libcpp.pxd +0 -0
  31. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/lower_bounds.py +0 -0
  32. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/__init__.pxd +0 -0
  33. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/__init__.py +0 -0
  34. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/cypresolve.pxd +0 -0
  35. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/cypresolve.pyi +0 -0
  36. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/cypresolve.pyx +0 -0
  37. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/exceptions.py +0 -0
  38. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/presolve/pypresolve.py +0 -0
  39. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/src/exceptions.cpp +0 -0
  40. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/src/presolve.cpp +0 -0
  41. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave/preprocessing/src/presolveimpl.hpp +0 -0
  42. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave_preprocessing.egg-info/SOURCES.txt +0 -0
  43. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave_preprocessing.egg-info/dependency_links.txt +0 -0
  44. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave_preprocessing.egg-info/not-zip-safe +0 -0
  45. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/dwave_preprocessing.egg-info/top_level.txt +0 -0
  46. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/LICENSE +0 -0
  47. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/async.h +0 -0
  48. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/async_logger-inl.h +0 -0
  49. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/async_logger.h +0 -0
  50. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/cfg/argv.h +0 -0
  51. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/cfg/env.h +0 -0
  52. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/cfg/helpers-inl.h +0 -0
  53. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/cfg/helpers.h +0 -0
  54. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/common-inl.h +0 -0
  55. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/common.h +0 -0
  56. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/backtracer-inl.h +0 -0
  57. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/backtracer.h +0 -0
  58. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/circular_q.h +0 -0
  59. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/console_globals.h +0 -0
  60. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/file_helper-inl.h +0 -0
  61. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/file_helper.h +0 -0
  62. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/fmt_helper.h +0 -0
  63. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/log_msg-inl.h +0 -0
  64. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/log_msg.h +0 -0
  65. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -0
  66. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/log_msg_buffer.h +0 -0
  67. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -0
  68. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/null_mutex.h +0 -0
  69. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/os-inl.h +0 -0
  70. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/os.h +0 -0
  71. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -0
  72. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/periodic_worker.h +0 -0
  73. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/registry-inl.h +0 -0
  74. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/registry.h +0 -0
  75. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/synchronous_factory.h +0 -0
  76. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/tcp_client-windows.h +0 -0
  77. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/tcp_client.h +0 -0
  78. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/thread_pool-inl.h +0 -0
  79. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/thread_pool.h +0 -0
  80. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/udp_client-windows.h +0 -0
  81. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/udp_client.h +0 -0
  82. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/details/windows_include.h +0 -0
  83. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -0
  84. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/args.h +0 -0
  85. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -0
  86. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/color.h +0 -0
  87. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/compile.h +0 -0
  88. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/core.h +0 -0
  89. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/fmt.license.rst +0 -0
  90. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -0
  91. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/format.h +0 -0
  92. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/locale.h +0 -0
  93. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/os.h +0 -0
  94. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -0
  95. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/printf.h +0 -0
  96. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -0
  97. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/bundled/xchar.h +0 -0
  98. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/chrono.h +0 -0
  99. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/compile.h +0 -0
  100. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/fmt.h +0 -0
  101. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/ostr.h +0 -0
  102. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/ranges.h +0 -0
  103. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fmt/xchar.h +0 -0
  104. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/formatter.h +0 -0
  105. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/fwd.h +0 -0
  106. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/logger-inl.h +0 -0
  107. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/logger.h +0 -0
  108. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/pattern_formatter-inl.h +0 -0
  109. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/pattern_formatter.h +0 -0
  110. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/android_sink.h +0 -0
  111. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -0
  112. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -0
  113. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -0
  114. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/base_sink.h +0 -0
  115. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -0
  116. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -0
  117. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -0
  118. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/dist_sink.h +0 -0
  119. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -0
  120. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/hourly_file_sink.h +0 -0
  121. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/mongo_sink.h +0 -0
  122. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/msvc_sink.h +0 -0
  123. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/null_sink.h +0 -0
  124. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/ostream_sink.h +0 -0
  125. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/qt_sinks.h +0 -0
  126. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -0
  127. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -0
  128. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -0
  129. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/sink-inl.h +0 -0
  130. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/sink.h +0 -0
  131. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -0
  132. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -0
  133. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -0
  134. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -0
  135. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/syslog_sink.h +0 -0
  136. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/systemd_sink.h +0 -0
  137. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/tcp_sink.h +0 -0
  138. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/udp_sink.h +0 -0
  139. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -0
  140. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -0
  141. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -0
  142. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/spdlog-inl.h +0 -0
  143. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/spdlog.h +0 -0
  144. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/stopwatch.h +0 -0
  145. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/tweakme.h +0 -0
  146. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/extern/spdlog/include/spdlog/version.h +0 -0
  147. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_clip.py +0 -0
  148. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_composites_common.py +0 -0
  149. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_connected_components.py +0 -0
  150. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_fix_variables.py +0 -0
  151. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_presolve.py +0 -0
  152. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_roof_duality.py +0 -0
  153. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_scale.py +0 -0
  154. {dwave_preprocessing-0.6.11 → dwave_preprocessing-0.6.12}/tests/test_spin_reversal_transform.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dwave-preprocessing
3
- Version: 0.6.11
3
+ Version: 0.6.12
4
4
  Summary: An API for preprocessing tools
5
5
  Home-page: https://github.com/dwavesystems/dwave-preprocessing
6
6
  Download-URL: https://github.com/dwavesystems/dwave-preprocessing/releases
@@ -14,21 +14,21 @@ Classifier: Operating System :: Unix
14
14
  Classifier: Operating System :: MacOS
15
15
  Classifier: Programming Language :: Python :: Implementation :: CPython
16
16
  Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
19
  Classifier: Programming Language :: Python :: 3.13
21
20
  Classifier: Programming Language :: Python :: 3.14
22
- Requires-Python: >=3.10
21
+ Classifier: Programming Language :: Python :: 3.15
22
+ Requires-Python: >=3.11
23
23
  Description-Content-Type: text/x-rst
24
24
  License-File: LICENSE
25
- Requires-Dist: numpy<3.0.0,>=1.21.6
25
+ Requires-Dist: numpy<3.0.0,>=1.23.2
26
26
  Requires-Dist: dimod<0.13.0,>=0.12.21
27
27
  Dynamic: download-url
28
28
  Dynamic: license-file
29
29
  Dynamic: requires-dist
30
30
 
31
- .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=svg
31
+ .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=shield
32
32
  :target: https://circleci.com/gh/dwavesystems/dwave-preprocessing
33
33
  :alt: Linux/Mac/Windows build status
34
34
 
@@ -89,20 +89,3 @@ Contributing
89
89
 
90
90
  Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
91
91
  has guidelines for contributing to Ocean packages.
92
-
93
- Release Notes
94
- -------------
95
-
96
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
97
- to manage its release notes.
98
-
99
- When making a contribution to **dwave-preprocessing** that will affect users,
100
- create a new release note file by running
101
-
102
- .. code-block:: bash
103
-
104
- reno new your-short-descriptor-here
105
-
106
- You can then edit the file created under ``releasenotes/notes/``.
107
- Remove any sections not relevant to your changes.
108
- Commit the file along with your changes.
@@ -1,4 +1,4 @@
1
- .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=svg
1
+ .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=shield
2
2
  :target: https://circleci.com/gh/dwavesystems/dwave-preprocessing
3
3
  :alt: Linux/Mac/Windows build status
4
4
 
@@ -59,20 +59,3 @@ Contributing
59
59
 
60
60
  Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
61
61
  has guidelines for contributing to Ocean packages.
62
-
63
- Release Notes
64
- -------------
65
-
66
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
67
- to manage its release notes.
68
-
69
- When making a contribution to **dwave-preprocessing** that will affect users,
70
- create a new release note file by running
71
-
72
- .. code-block:: bash
73
-
74
- reno new your-short-descriptor-here
75
-
76
- You can then edit the file created under ``releasenotes/notes/``.
77
- Remove any sections not relevant to your changes.
78
- Commit the file along with your changes.
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = '0.6.11'
15
+ __version__ = '0.6.12'
16
16
 
17
17
  from dwave.preprocessing import *
18
18
  import dwave.preprocessing.composites
@@ -25,25 +25,23 @@ __all__ = ['SpinReversalTransformComposite']
25
25
  # versionadded (0.6.8) to the __init__ file for context manager
26
26
 
27
27
  class SpinReversalTransformComposite(ComposedSampler):
28
- """Composite for applying spin reversal transform preprocessing.
29
-
30
- A spin-reversal transform can improve sample statistics when the
31
- sampler is a physical object with asymmetries such as a QPU.
32
- The technique works as follows: given an :math:`n`-variable Ising
33
- problem, the composite selects a random :math:`g\in\{\pm1\}^n` and
34
- transforms the problem via :math:`h_i\mapsto h_ig_i` and
35
- :math:`J_{ij}\mapsto J_{ij}g_ig_j`. Solutions :math:`s` of the
36
- original problem and :math:`s^\prime` of the transformed problem
37
- are related by :math:`s^\prime_i=s_ig_i` and have identical energies.
38
- [#km]_
28
+ r"""Composite for applying spin reversal transform preprocessing.
29
+
30
+ A spin-reversal transform can improve sample statistics when the sampler is
31
+ a physical object with asymmetries such as a QPU.
32
+ The technique works as follows: given an :math:`n`-variable Ising problem,
33
+ the composite selects a random :math:`g\in\{\pm1\}^n` and transforms the
34
+ problem via :math:`h_i\mapsto h_ig_i` and
35
+ :math:`J_{ij}\mapsto J_{ij}g_ig_j`. Solutions :math:`s` of the original
36
+ problem and :math:`s^\prime` of the transformed problem are related by
37
+ :math:`s^\prime_i=s_ig_i` and have identical energies.\ [#km]_
39
38
 
40
39
  .. note::
41
40
  If you are configuring an anneal schedule, be mindful that this
42
- composite does not recognize the ``initial_state`` parameter
43
- used by dimod's :class:`~dwave.system.samplers.DWaveSampler` for
44
- reverse annealing (composites do not generally process all keywords
45
- of child samplers) and does not flip any of the configured initial
46
- states.
41
+ composite does not recognize the ``initial_state`` parameter used by
42
+ dimod's :class:`~dwave.system.samplers.DWaveSampler` for reverse
43
+ annealing (composites do not generally process all keywords of child
44
+ samplers) and does not flip any of the configured initial states.
47
45
 
48
46
  Args:
49
47
  sampler: A `dimod` sampler object.
@@ -505,7 +505,7 @@ void ImplicationNetwork<capacity_t>::fixStronglyConnectedComponentVariables(
505
505
  int from_component = *eit;
506
506
  if (out_degrees[from_component] > 0) {
507
507
  out_degrees[from_component]--;
508
- if (enqueue) {
508
+ if (enqueue && out_degrees[from_component] == 0) {
509
509
  component_queue.push(from_component);
510
510
  }
511
511
  }
@@ -517,7 +517,7 @@ void ImplicationNetwork<capacity_t>::fixStronglyConnectedComponentVariables(
517
517
  int from_component = *eit;
518
518
  if (out_degrees[from_component] > 0) {
519
519
  out_degrees[from_component]--;
520
- if (enqueue) {
520
+ if (enqueue && out_degrees[from_component] == 0) {
521
521
  component_queue.push(from_component);
522
522
  }
523
523
  }
@@ -613,6 +613,11 @@ capacity_t ImplicationNetwork<capacity_t>::fixStrongAndWeakVariables(
613
613
 
614
614
  while (!component_queue.empty()) {
615
615
  int component = component_queue.pop();
616
+ // A component and its complement can both be queued. Fixing one marks
617
+ // both as fixed (out-degree -1), so the second one popped is skipped.
618
+ if (out_degrees[component] < 0) {
619
+ continue;
620
+ }
616
621
  fixStronglyConnectedComponentVariables(
617
622
  component, scc_info, adjacency_list_components_transposed, out_degrees,
618
623
  fixed_variables, component_queue, true);
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "include_dirs": [
13
13
  "dwave/preprocessing/presolve",
14
- "dwave/preprocessing/include/",
15
- "dimod/include/"
14
+ "dimod/include/",
15
+ "dwave/preprocessing/include/"
16
16
  ],
17
17
  "language": "c++",
18
18
  "name": "dwave.preprocessing.presolve.cypresolve",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dwave-preprocessing
3
- Version: 0.6.11
3
+ Version: 0.6.12
4
4
  Summary: An API for preprocessing tools
5
5
  Home-page: https://github.com/dwavesystems/dwave-preprocessing
6
6
  Download-URL: https://github.com/dwavesystems/dwave-preprocessing/releases
@@ -14,21 +14,21 @@ Classifier: Operating System :: Unix
14
14
  Classifier: Operating System :: MacOS
15
15
  Classifier: Programming Language :: Python :: Implementation :: CPython
16
16
  Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
19
  Classifier: Programming Language :: Python :: 3.13
21
20
  Classifier: Programming Language :: Python :: 3.14
22
- Requires-Python: >=3.10
21
+ Classifier: Programming Language :: Python :: 3.15
22
+ Requires-Python: >=3.11
23
23
  Description-Content-Type: text/x-rst
24
24
  License-File: LICENSE
25
- Requires-Dist: numpy<3.0.0,>=1.21.6
25
+ Requires-Dist: numpy<3.0.0,>=1.23.2
26
26
  Requires-Dist: dimod<0.13.0,>=0.12.21
27
27
  Dynamic: download-url
28
28
  Dynamic: license-file
29
29
  Dynamic: requires-dist
30
30
 
31
- .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=svg
31
+ .. image:: https://circleci.com/gh/dwavesystems/dwave-preprocessing.svg?style=shield
32
32
  :target: https://circleci.com/gh/dwavesystems/dwave-preprocessing
33
33
  :alt: Linux/Mac/Windows build status
34
34
 
@@ -89,20 +89,3 @@ Contributing
89
89
 
90
90
  Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
91
91
  has guidelines for contributing to Ocean packages.
92
-
93
- Release Notes
94
- -------------
95
-
96
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
97
- to manage its release notes.
98
-
99
- When making a contribution to **dwave-preprocessing** that will affect users,
100
- create a new release note file by running
101
-
102
- .. code-block:: bash
103
-
104
- reno new your-short-descriptor-here
105
-
106
- You can then edit the file created under ``releasenotes/notes/``.
107
- Remove any sections not relevant to your changes.
108
- Commit the file along with your changes.
@@ -1,2 +1,2 @@
1
- numpy<3.0.0,>=1.21.6
1
+ numpy<3.0.0,>=1.23.2
2
2
  dimod<0.13.0,>=0.12.21
@@ -3,7 +3,8 @@ requires = [
3
3
  "setuptools>=46.4.0",
4
4
  "wheel>=0.30.0",
5
5
  "Cython~=3.0",
6
- "dimod==0.12.21",
6
+ "dimod==0.12.21; python_version<'3.15'", # oldest we support
7
+ "dimod==0.12.23; python_version>='3.15'", # first that supports Python 3.15
7
8
  ]
8
9
  build-backend = "setuptools.build_meta"
9
10
 
@@ -15,8 +16,8 @@ test-command = "python -m unittest discover {project}/tests/"
15
16
 
16
17
  [tool.cibuildwheel.linux]
17
18
  archs = "x86_64 aarch64"
18
- manylinux-x86_64-image = "manylinux2014"
19
- manylinux-aarch64-image = "manylinux2014"
19
+ manylinux-x86_64-image = "manylinux_2_28"
20
+ manylinux-aarch64-image = "manylinux_2_28"
20
21
 
21
22
  [tool.cibuildwheel.macos]
22
23
  # We follow NumPy and don't build universal wheels, see https://github.com/numpy/numpy/pull/20787
@@ -7,11 +7,11 @@ classifiers =
7
7
  Operating System :: MacOS
8
8
  Programming Language :: Python :: Implementation :: CPython
9
9
  Programming Language :: Python :: 3 :: Only
10
- Programming Language :: Python :: 3.10
11
10
  Programming Language :: Python :: 3.11
12
11
  Programming Language :: Python :: 3.12
13
12
  Programming Language :: Python :: 3.13
14
13
  Programming Language :: Python :: 3.14
14
+ Programming Language :: Python :: 3.15
15
15
  license = Apache 2.0
16
16
  long_description = file: README.rst
17
17
  long_description_content_type = text/x-rst
@@ -25,7 +25,7 @@ description = An API for preprocessing tools
25
25
  [options]
26
26
  include_package_data = True
27
27
  packages = find_namespace:
28
- python_requires = >=3.10
28
+ python_requires = >=3.11
29
29
  zip_safe = False
30
30
 
31
31
  [options.packages.find]
@@ -65,7 +65,7 @@ setup(
65
65
  'extern/spdlog/include/',
66
66
  ],
67
67
  install_requires=[
68
- 'numpy>=1.21.6,<3.0.0', # this is the oldest supported NumPy on Python 3.10
68
+ 'numpy>=1.23.2,<3.0.0', # this is the oldest supported NumPy on Python 3.11
69
69
  'dimod>=0.12.21,<0.13.0'
70
70
  ],
71
71
  )