Skip to content

Commit

Permalink
Changed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao-Dionisio committed Dec 3, 2024
1 parent d98b9c3 commit 6cc9ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Added stage checks to presolve, freereoptsolve, freetransform
- Added primal_dual_evolution recipe and a plot recipe
### Fixed
- Added default names to indicator constraints
### Changed
- GitHub actions using Mac now use precompiled SCIP from latest release
### Removed
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cons.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_cons_indicator():

m.optimize()

assert m.getNConss() == 5
assert m.getNConss(transformed=False) == 5
assert m.isEQ(m.getVal(slack), 0)
assert m.isEQ(m.getVal(binvar), 1)
assert m.isEQ(m.getVal(x), 1)
Expand Down

0 comments on commit 6cc9ccc

Please sign in to comment.