You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
New Features
Add dimod.generators.magic_square() which allows for the generation of a constrained quadratic model whose feasible solutions are normal magic squares. The function also generates magic squares of squares when passed power=2 as a keyword argument.
Implement version 2.0 of constrained quadratic model serialization. See ConstrainedQuadraticModel.to_file() for details.
Improve LP file reading by wrapping HiGHS LP file parser.
Add C++ ConstrainedQuadraticModel::remove_constraints_if() method.
Upgrade Notes
Remove the ObjectView.to_file() method.
Remove the ConstraintView.to_file() method.
Remove dimod::lp C++ namespace.
Drop support for Python 3.7.
Bug Fixes
Fix ConstrainedQuadraticModel.from_discrete_quadratic_model() incorrectly formulating the discrete constraints. This bug was
introduced in version 0.12.7.
Fix dimod.generators.frustrated_loop() to correctly handle graphs with tuple labels. See #1342.