jump-dev / HiGHS.jl

A Julia interface to the HiGHS solver
https://highs.dev
MIT License
103 stars 14 forks source link

Missing == in MOI_wrapper assertions #106

Closed grahamgill closed 2 years ago

grahamgill commented 2 years ago

https://github.com/jump-dev/HiGHS.jl/blob/8e39503c2f75ca66446e4559ba3f920f4165dafa/src/MOI_wrapper.jl#L1705

Also at

https://github.com/jump-dev/HiGHS.jl/blob/8e39503c2f75ca66446e4559ba3f920f4165dafa/src/MOI_wrapper.jl#L1653

I only noticed this after making the change I mentioned in https://github.com/jump-dev/HiGHS.jl/issues/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.