Skip to content
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

Missing == in MOI_wrapper assertions #106

Closed
grahamgill opened this issue Apr 3, 2022 · 0 comments · Fixed by #107
Closed

Missing == in MOI_wrapper assertions #106

grahamgill opened this issue Apr 3, 2022 · 0 comments · Fixed by #107
Assignees

Comments

@grahamgill
Copy link

@assert model.solution.model_status kHighsModelStatusUnknown

Also at

@assert model.solution.model_status kHighsModelStatusUnknown

I only noticed this after making the change I mentioned in #105, since Highs_run warnings were now going through the if..else lists in MOI.get(..., ::MOI.TerminationStatus) and MOI.get(..., ::MOI.RawStatusString) and erroring on the malformed assertions, with TypeError: non-boolean used in boolean context.

@odow odow self-assigned this Apr 3, 2022
@odow odow closed this as completed in #107 Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants