Closed bqth29 closed 10 months ago
All modified lines are covered by tests :white_check_mark:
Files | Coverage Ξ | |
---|---|---|
src/simulated_bifurcation/__init__.py | 100.00% <100.00%> (ΓΈ) |
|
src/simulated_bifurcation/optimizer/__init__.py | 100.00% <100.00%> (ΓΈ) |
|
...ation/optimizer/simulated_bifurcation_optimizer.py | 100.00% <100.00%> (ΓΈ) |
|
tests/models/test_knapsack.py | 100.00% <100.00%> (ΓΈ) |
|
tests/test_optimizer.py | 100.00% <100.00%> (ΓΈ) |
:loudspeaker: Thoughts on this report? Let us know!.
π¬ Pull Request Description
Following discussion #30 and issue #34, the
logging.warn
has been replaced bywarnings.warn
to warn when some agents did not converged if the stop window is enabled.βοΈ Check list
Before you open the pull request, make sure the following requirements are met.
π New features
ConvergenceWarning
π Bug fixes
test_markowitz
totest_knapsack
in test_knapsack.pyπ£ Supplementary information
test_knapsack
to improve convergence