Release Notes#


New Features#

  • Add testing and support for Python 3.11 and 3.12.

  • Add support for and test with NetworkX 3.x.

Upgrade Notes#

  • Drop support for Python 3.7.


Bug Fixes#

  • Samples-like with variables that are integer labelled, but not ordered, no longer raise an error.

  • get_penalty_model() no longer ignores the desired energy levels when no graph is provided.


Bug Fixes#

  • Restore ability to import exceptions from the penaltymodel.core namespace. This was accidentally removed in 1.0.0.



Significantly simplify the penaltymodel ecosystem. penaltymodel is now a single package with a simplified interface.

New Features#

  • Combine the penaltymodel namespace packages into a single package.

  • Add penaltymodel.get_penalty_model() function as a new main interface for the package.

Upgrade Notes#

  • Drop support for Python 3.6.

  • Drop support for penaltymodel-mip.

  • Drop support for penaltymodel-lp.

  • Drop support for penaltymodel-cache.

  • Drop support for penaltymodel-maxgap.

Deprecation Notes#

  • The functions under penaltymodel.core are deprecated.