Sync CP branch#519
Merged
alexzucca90 merged 33 commits intodwavesystems:constraint-programmingfrom Apr 22, 2026
Merged
Conversation
The example used in the TSP philosophy was a quadratic program. The documentation was updated accordingly.
Update MILP to MIQP in optimization examples
…ypos Fix minor typos
…rted-constraint-labels remove unsupported constraint labels add_constraint examples in docs/implicit_constraints.rst
…bug on objective
…-commit-unnecessary-copy Basic indexing: only write to full cache on commit when necessary
Refresh docstrings for math functions
Implemented `SparseFlags` (specialized sparse set) to track which indices have been marked as `invalid`, `updated`, or `unchanged`. Increased memory usage but should speed-up `ReduceNode::prepare_diff()` from `O(node size)` to `O(# of updates)`.
`SparseFlags` -> `ReductionFlags`. `ReductionFlags.size()` returns `ssize_t` not `size_t`. Make some attributes private on `ReductionFlags`. `dense_flags_` -> `indices_`. `sparse_flags_` -> `look_up_table_`.
Previously getting errors like `SyntaxWarning: invalid escape sequence '\l'`.
…_prepare_diff Improve `ReduceNode::prepare_diff()`
…ators Refresh docstrings for generators
Add missing raw string flag in python docs
Closed
arcondello
approved these changes
Apr 22, 2026
2aae97d
into
dwavesystems:constraint-programming
14 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.