-
Notifications
You must be signed in to change notification settings - Fork 60
Add useful error message for missing highspy. Allow variable objective #453
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Just add a very small test. Thank you @RobbieKiwi !
Is anybody good at monkeypatching? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, thank you @RobbieKiwi
@RobbieKiwi any reason to close this pr? it seemed to be quite well fixing the bug you reported |
I tried to make a unittest to check that a warning was raised if the library is not installed in order to satisfy code coverage. I feel like it is not a super critical feature and maybe a test is not required so maybe you could override the codecoverage check. |
Closes #452.
Changes proposed in this Pull Request
-Add useful warning when using cbc without highspy installed
-Allow variable to be passed to objective
Checklist
doc
.doc/release_notes.rst
of the upcoming release is included.