-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the performance of CQM.add_variables()
- Loading branch information
1 parent
8952fe8
commit 4e8e304
Showing
5 changed files
with
135 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/CQM.add_variables-performance-aed230e912968431.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
features: | ||
- Improve the performance of the ``ConstrainedQuadraticModel.add_variables()`` method. | ||
upgrade: | ||
- Remove the undocumented ``cyConstrainedQuadraticModel.add_variable()`` method. | ||
fixes: | ||
- | | ||
Fix ``ConstrainedQuadraticModel.add_variable()`` to raise a ``ValueError`` | ||
when given an inconsistent variable type. | ||
Previously it incorrectly raised a ``TypeError``. | ||
- | | ||
Fix ``ConstrainedQuadraticModel.add_variable()`` to raise a ``ValueError`` | ||
when given invalid variable bounds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters