How can I get more information when Highs_passModel() returns "Warn"? #1608
-
I am attempting to solve a knapsack problem and the problem is failing to initialize. The call to Highs_passModel returns a "Warn" status, but if I ignore the warning and continue with the solve the expected goal value is found. Is there a way to get more information as to why the warning status is returned? |
Beta Was this translation helpful? Give feedback.
Answered by
jajhall
Feb 7, 2024
Replies: 1 comment 2 replies
-
How are you calling HiGHS? Directly from C? The default logging messages from HiGHS will indicate the reason for the warning. It's most likely to be due to you passing small matrix entries that are ignored |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, you're passing explicit zeros in your definition of the matrix entries. Even though nothing is lost by ignoring them, it's still worth warning people that they are doing this.