Openjij

Latest version: v0.9.2

Safety actively analyzes 702026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 17

0.6.17

Main Changes

364 Thanks K-Suzuki-Jij

Organized all C++ test cases by directory.
Changes apply to `sample_hubo` only. To take advantage of these changes, specify a dictionary for `hubo` interactions. If `cimod.BinaryPolynomialModel` is specified, the previous unoptimized code will run.

- Optimized `sample_hubo` for especially small-sized problems.
- Parallelized for `num_reads`.
- Mixed string and integer indices can now be handled. For example, `hubo={(1,2), -1, ("a", 2): 3.0}` can be handled.

Minor Changes

- As an `updater`, the heat bath method can now be selected in addition to the Metropolis method (k-local is also available but not optimized for speed).
- As a `random_number_engine`, Mersenne Twister (32-bit/64-bit) can now be selected in addition to Xorshift. This random number engine is used for initializing spins/binary configurations and calculating transition probabilities. Note that spin/binary variables are sequentially updated.
- As a `temperature_schedule`, linear cooling can now be selected in addition to geometric cooling.

Destructive changes in this PR.
- `schedule: Optional[list]` has been deprecated. Temperature schedules cannot be given as a list.
- `initial_state: Optional[Union[list, dict]]` has been deprecated. The initial state is randomly selected. You can get the same result every time by fixing the seed.
- `reinitialize_state: Optional[bool]` has been deprecated. If num_reads is 2 or more, a new initial state is randomly generated for each sampling.

If you want to continue using the above features, you can use `_sample_hubo_old`.

Build system was fixed

Thanks 29rou

0.6.16

What's Changed
* Bump actions/setup-python from 3 to 4 by dependabot in https://github.com/OpenJij/OpenJij/pull/361


**Full Changelog**: https://github.com/OpenJij/OpenJij/compare/v0.6.15...v0.6.16

0.6.15

What's Changed
* import networkx to fix bug by mei-maruo in https://github.com/OpenJij/OpenJij/pull/356
* Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1 by dependabot in https://github.com/OpenJij/OpenJij/pull/358
* Bump pypa/cibuildwheel from 2.12.0 to 2.12.1 by dependabot in https://github.com/OpenJij/OpenJij/pull/359


**Full Changelog**: https://github.com/OpenJij/OpenJij/compare/v0.6.14...v0.6.15

0.6.14

What's Changed
* Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by dependabot in https://github.com/OpenJij/OpenJij/pull/352


**Full Changelog**: https://github.com/OpenJij/OpenJij/compare/v0.6.13...v0.6.14

0.6.13

What's Changed
* Bump pypa/cibuildwheel from 2.11.3 to 2.11.4 by dependabot in https://github.com/OpenJij/OpenJij/pull/348
* Feature/translate by mei-maruo in https://github.com/OpenJij/OpenJij/pull/332
* Feature/translate 004 by mei-maruo in https://github.com/OpenJij/OpenJij/pull/337
* modified the 003 note by mei-maruo in https://github.com/OpenJij/OpenJij/pull/340
* added the 005 note in English by mei-maruo in https://github.com/OpenJij/OpenJij/pull/343
* Feature/translate-007 by mei-maruo in https://github.com/OpenJij/OpenJij/pull/345
* Feature/translate 002 by mei-maruo in https://github.com/OpenJij/OpenJij/pull/334
* added the 008 notes in English by mei-maruo in https://github.com/OpenJij/OpenJij/pull/347
* Feature/translate 006 by mei-maruo in https://github.com/OpenJij/OpenJij/pull/344
* Bump actions/configure-pages from 2 to 3 by dependabot in https://github.com/OpenJij/OpenJij/pull/351
* Bump pypa/cibuildwheel from 2.11.4 to 2.12.0 by dependabot in https://github.com/OpenJij/OpenJij/pull/350

New Contributors
* mei-maruo made their first contribution in https://github.com/OpenJij/OpenJij/pull/332

**Full Changelog**: https://github.com/OpenJij/OpenJij/compare/v0.6.12...v0.6.13

0.6.12

**Full Changelog**: https://github.com/OpenJij/OpenJij/compare/v0.6.11...v0.6.12

Page 3 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.