Repository navigation
v0.2.1
A patch release that fixes the PUMA solver when it is called through unwrap_dimensional.
pip install -U kamui # or kamui[extra] for the PUMA solverFixed
unwrap_dimensional(x, method="gc")no longer raisesTypeError: puma() got an unexpected keyword argument 'weights'. The function passedweights=Noneon to every solver, and PUMA takes no weights; it now passesweightsonly when you supply them. This had been broken since 0.1.2. If you switched to callingunwrap_arbitrary(..., method="gc")as a workaround, that keeps working, and you can switch back.
Only the ILP solvers (method="ilp", the default) use weights. Passing weights together with method="gc" still raises a TypeError, because PUMA has no weighting.
Nothing else has changed. The requirements are the same as for 0.2.0: Python ≥ 3.10, NumPy ≥ 2 and SciPy ≥ 1.13.
What's Changed
- Fix unwrap_dimensional(method="gc") TypeError by @yoyolicoris in #19
Full Changelog: v0.2.0...v0.2.1