-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
More error checking in MixedIntegerLinearProgram #20304
Comments
comment:2
The New commits:
|
Author: Matthias Koeppe |
Commit: |
This comment has been minimized.
This comment has been minimized.
Reviewer: Vincent Delecroix |
comment:4
Please use new style error Would be better to use repr rather than str. The output of
The following are not caught correctly
|
comment:5
And if the input is not a variable it would be better to raise a |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Nice. Last thing: the first error should be a |
comment:10
Should I then make it a |
comment:11
Replying to @mkoeppe:
Not necessarily (one can assume that the "good" way of calling this function is with a MIP variable). Though, to test if the object |
comment:12
I was confused, it actually does not accept strings -- only MIPVariable objects. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Thanks for reviewing! |
Changed branch from u/mkoeppe/more_error_checking_in_mixedintegerlinearprogram to |
The
get_values
method silently ignored non-variables.CC: @dimpase @nathanncohen
Component: numerical
Author: Matthias Koeppe
Branch/Commit:
7d7aeed
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/20304
The text was updated successfully, but these errors were encountered: