bqth29 / simulated-bifurcation-algorithm

Python CPU/GPU implementation of the Simulated Bifurcation (SB) algorithm to solve quadratic optimization problems (QUBO, Ising, TSP, optimal asset allocations for a portfolio, etc.).
MIT License
108 stars 27 forks source link

V1.2.1 #42

Closed BusyBeaver-42 closed 11 months ago

BusyBeaver-42 commented 11 months ago

💬 Pull Request Description

This pull request includes version changes for the v1.2.1 release and introduces deprecation warnings in preparation for version 1.3.0.

✔️ Check list

🚀 New features

Deprecation of the input_type parameter

In the functions sb.optimize, sb.minimize, and sb.maximize, the input_type parameter is now deprecated and will be removed in version 1.3.0. Please use the domain parameter instead.

Deprecation of the instantiation of the polynomial classes

The instantiation of the following classes is deprecated due to non-backwards compatible changes planned for version 1.3.0. Their usage should not change, except for instantiation. If needed, they all accept a silence_deprecation_warning keyword-only parameter (default is False).

Deprecation of the old polynomial classes

The following polynomial classes are deprecated. Please use the equivalent classes mentioned above.

🐞 Bug fixes

None

📣 Supplementary information

None

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7ca29f3) 100.00% compared to head (82755de) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 40 40 Lines 1484 1525 +41 ========================================= + Hits 1484 1525 +41 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.