Skip to content

fix tests and test docs#1002

Merged
tias merged 5 commits into
masterfrom
tests_require_gurobi
Jun 21, 2026
Merged

fix tests and test docs#1002
tias merged 5 commits into
masterfrom
tests_require_gurobi

Conversation

@tias

@tias tias commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

using requires_solver() in tests ALSO requires listing a 'solver' parameter in the function definition, otherwise the test is always run

@tias
tias requested a review from OrestisLomis June 15, 2026 11:45
@tias tias added this to the v0.20 milestone Jun 15, 2026

@OrestisLomis OrestisLomis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some small changes, because it seemed to me like a test was misplaced + I added in the native mus cleanup here. Good to merge for me :)

@OrestisLomis

Copy link
Copy Markdown
Contributor

aah wait forgot that not all solvers can do MUS with assumptions..

@OrestisLomis

Copy link
Copy Markdown
Contributor

Okay, so to be clear I changed some more things but all is still scoped to this PR. It now works fine, but I had to set Exact as the solver for the standard MUS tests because #961 does not work (and also isn't in master yet).

@tias
tias merged commit 25a01a3 into master Jun 21, 2026
12 checks passed
@tias
tias deleted the tests_require_gurobi branch June 21, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants