-
Notifications
You must be signed in to change notification settings - Fork 271
BUG: MatrixExpr can't be compared with Expr #1069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
d33379c
Replace Variable with Expr in MatrixExpr
Zeroto521 6c48a73
add test case
Zeroto521 b578ea5
Replace Variable with Expr in MatrixExprCons
Zeroto521 e8db5a1
add test case
Zeroto521 aae9df9
Update CHANGELOG.md
Zeroto521 d8a9377
Add test for ranged matrix constraint
Zeroto521 99446bc
Refactor matrix comparison operators using helper
Zeroto521 a09be1a
Replace TypeError with NotImplementedError in __eq__
Zeroto521 771437b
Add tests for matrix constraint operators
Zeroto521 2b9a3c0
Update CHANGELOG.md
Zeroto521 b7b1321
BUG: fix circular imports
Zeroto521 987c219
Fix matrix comparison shape handling
Zeroto521 7a1275d
Fix redundant .all() calls in matrix variable tests
Zeroto521 f1dc2fa
Fix matrix variable test assertions to use getVal
Zeroto521 b6dcf42
let MatrixExprCons support <= and >= operator
Zeroto521 64ae70e
Refactor matrix comparison tests to optimize assertions and remove re…
Zeroto521 f69ce7e
let MatrixExprCons support <= and >= operator
Zeroto521 3700261
find what type it is
Zeroto521 c677b34
align with `__add__`
Zeroto521 bca7262
test "==" first
Zeroto521 cb600b2
Revert "let MatrixExprCons support <= and >= operator"
Zeroto521 a3a6239
Revert "let MatrixExprCons support <= and >= operator"
Zeroto521 06f8ebc
find what type it is
Zeroto521 ef5aecf
test expr
Zeroto521 ceaab05
Change the order
Zeroto521 3861420
Remove ExprCons
Zeroto521 a2ae9c9
Ranged ExprCons requires number
Zeroto521 6afa150
Update CHANGELOG.md
Zeroto521 88a935f
Lint codes with 4 spaces
Zeroto521 d3b0fff
Merge branch 'master' into fix/1061
Zeroto521 cdfbf82
Merge branch 'master' into fix/1061
Zeroto521 1601484
keep `_is_number` in expr.pxi
Zeroto521 a985bda
Update CHANGELOG.md
Zeroto521 581f63d
Add quotes for annotations
Zeroto521 e5ba3f3
Merge branch 'fix/1061' of github.com:Zeroto521/PySCIPOpt into fix/1061
Zeroto521 fcf7921
Merge branch 'master' into fix/1061
Zeroto521 ad03e9b
Simplify loop via `numpy.ndarray.flat`
Zeroto521 384c299
Merge branch 'master' into fix/1061
Zeroto521 cf7ede1
Add shape check for ndarray comparison in _matrixexpr_richcmp
Zeroto521 47a7cd7
Merge branch 'fix/1061' of https://github.com/Zeroto521/PySCIPOpt int…
Zeroto521 9d42cac
TST: test MatrixExprCons vs Variable
Zeroto521 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.