Penaltymodel

Latest version: v1.1.0

Safety actively analyzes 623187 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.1.0

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.

1.0.2

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.

1.0.1

Bug Fixes

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

1.0.0

Prelude

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.


mip-0.2.6
New Features
------------
* Add support for Python 3.10


maxgap-0.5.6
New Features
------------
* Add support for Python 3.10


lp-0.1.6
New Features
------------
* Add support for Python 3.10


core-0.16.6
New Features
------------
* Add support for Python 3.10


cache-0.4.5
New Features
------------
* Add support for Python 3.10


mip-0.2.5
New Features
------------
* Support `dimod>=0.8.0,<0.11.0`

maxgap-0.5.5
New Features
------------
* Support `dimod>=0.8.0,<0.11.0`

lp-0.1.5
New Features
------------
* Support `dimod>=0.8.0,<0.11.0`

core-0.16.5
New Features
------------
* Support `dimod>=0.8.0,<0.11.0`

cache-0.4.4
New Features
------------
* Support `dimod>=0.8.0,<0.11.0`

mip-0.2.4
New Features
---
- Python 3.9 support


maxgap-0.5.4
New Features
---
- Python 3.9 support


lp-0.1.4
New Features
---
- Python 3.9 support

core-0.16.4
New Features
---
- Python 3.9 support


cache-0.4.3
New Features
---
- Python 3.9 support

cache-0.4.2
New Features
---
- Added decorator for isolating penaltymodel cache tests, `isolated_cache`

Fixes
---
- Fixed caching of problems with no quadratic/linear biases set


mip-0.2.3
Fixes
-------
- will handle the case when all decision configurations are defined

maxgap-0.5.3
Features
------------
- Bump up pysmt to 0.8.0

maxgap-0.5.2
Features
------------
- Python 3.8 support
- Loosen package version ranges
- Drop universal wheels tag
- Fix Theta object initialization

core-0.16.3
Features
------------
- Python 3.8 support
- Loosen range of package version requirements
- Drop universal wheels tag

cache-0.4.1
Features
------------
- Python 3.8 support
- Loosening ranges on acceptable package versions
- Drop universal wheels tag

mip-0.2.2
Features
--------
- Support ortools < 8.0.0
- py 3.8 support
- Loosen dimod version requirements

lp-0.1.3
Features
------------
- Python 3.8 support

lp-0.1.2
Fixes
-------
- increases the package version ranges of numpy and dimod


lp-0.1.1
Fixes
-------
* Catches linear programming warnings (ex. ill conditioned matrix) and calls on the next penaltymodel

mip-0.2.1
Fixes
-------
* Addresses the issue that causes the warning, "..MPSolverInterface::result_status_ = MPSOLVER_INFEASIBLE" to print out

maxgap-0.5.1
New Features
-------------------
* Supports feasible configurations with different target energy levels; these energy levels can be non-zero

cache-0.4.0
New Features
-------------------
* Supports `min_classical_gap` as a key to cached penaltymodels
* Bumped up penaltymodel-core version in `setup.py`
* Note: this version was previously labelled as cache-0.3.4

core-0.16.2
Bug Fix
----------
* Fix tag and package version mismatch in `package_info.py`

cache-0.3.4
New Features
-------------------
* Supports `min_classical_gap` as a key to cached penaltymodels
* Bumped up penaltymodel-core version in `setup.py`

mip-0.2.0
New Features
-------------------
* Accepts minimum classical gap values directly when forming the BQM
* Sets gap with respect to the highest energy level among all valid configurations
* Accepts multiple target energies. Namely, valid configurations can each have a different energy level

maxgap-0.5.0
New Features
-------------------
* Directly accepts minimum classical gap values when forming the BQM
* Small internal changes made to support a future feature - accepting multiple target energies

Bug Fix
----------
* Expand the gap range that maxgap considers

core-0.16.1
Bug Fix
----------
* Use penaltymodel-lp version 0.1.*

core-0.16.0
New Features
-------------------
* Added penaltymodel-lp (Linear Programming) into requirements

lp-0.1.0
New Features
-------------------
* New penaltymodel that uses linear programming

maxgap-0.4.3
Bug Fix
----------
* Removed upper bound on dwave-networkx versioning


mip-0.1.4
New Features
------------------
* Support dimod 0.8.x

maxgap-0.4.2
New Features
------------------
* Support dimod 0.8.x

Bug Fixes
--------------
* Remove `limit_denominator` causing attribute error, thanks uxvrob

core-0.15.4
New Features
-------------------
* Support dimod 0.8.x

cache-0.3.3
New Features
-------------------
* Support dimod 0.8.x

cache-0.3.2
* Update to correct entrypoint names for `penaltymodel_cache`

mip-0.1.3
Allow use of dimod 0.7.x

maxgap-0.4.1
Allow use of dimod 0.7.x

core-0.15.3
Allow use of dimod 0.7.x

cache-0.3.1
Allow use of dimod 0.7.x

core-0.15.2
* Remove unnecessary dependency

mip-0.1.2
* Loosen the restrictions on mip's constraint size

core-0.15.1
* bug fixes

mip-0.1.1
* Bugfixes

mip-0.1.0
* Initial release of `penaltymodel-mip`

maxgap-0.4.0
* change `penaltymodel_maxgap` to `penaltymodel.maxgap` namespace package

core-0.15.0
* Change `penaltymodel` to `penaltymodel.core` namespace package

cache-0.3.0
* update `penaltymodel_cache` to `penaltymodel.cache` namespace package

maxgap-0.3.2


maxgap-0.3.1
* Pin pysmt version to 0.7.0

maxgap-0.3.0


core-0.14.0


cache-0.2.1

1.0.0.dev5

1.0.0.dev4

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.