Repository navigation
pybammsolvers v0.12.0
pybammsolvers 0.12.0 adds the IDAKLU functions pybamm on main calls, so pybamm (pybammsolvers>=0.12.0,<0.13.0) installs from source or git against PyPI again.
Features
- Adds
shares_python_casadi,shared_function,fill_casadi_dm_denseandfill_casadi_dm_sparseto the IDAKLU module, used bypybammfor faster model build and solver set-up. (#5994, #6028) - Supports the
IDAKLUSolveroptionupsampling_tolerance. (#5998)
Bug fixes
- With
num_threads > 1, each solver thread copies the algebraic initial-condition functions instead of sharing them, fixinginvalid vector subscripterrors and crashes on Windows. (#6026) - KLU's pivot tolerance is tightened to 0.1. (#5904)
Breaking changes
- Python 3.10 is no longer supported;
pybammsolversrequires Python 3.11 or newer. (#5895)
Full changelog: pybammsolvers-v0.11.1...pybammsolvers-v0.12.0