Querying model for solution availability #33
Unanswered
ryanjoneil
asked this question in
Q&A
Replies: 1 comment
-
You are right, checking the status is the correct way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I set a time limit on the solver, once it terminates I would like to know whether or not a feasible solution is available. If a solution is available, then calls to
m.get_value
will return values, otherwise they will raise exceptions.What is the best way to determine this? Currently I am checking the following condition:
Beta Was this translation helpful? Give feedback.
All reactions