-
Notifications
You must be signed in to change notification settings - Fork 32
Hack a fix to issue #91 #94
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
+ Coverage 46.03% 48.93% +2.89%
==========================================
Files 7 7
Lines 3306 3509 +203
==========================================
+ Hits 1522 1717 +195
- Misses 1784 1792 +8
Continue to review full report at Codecov.
|
|
@zolanaj can you test this? |
|
After applying this patch, I now get a different error:
The function reference in MOI_wrapper.jl in this case is: |
|
Do you call |
|
The log file indicates that a solution (and upper bound) has been found for the same run though: So, for some reason, one or more solutions are found, but aren't accessed at this point in post-processing. The model termination status in this setting is |
|
Any ideas how I can't get a license to reproduce this? I hit the 5000 rows+cols limit on my trial. |
|
Not a permanent solution, but I know they offer a 60-day trial license: |
|
I don't know what was going on with the status reporting; the block containing the time limit block was unreachable. Try now. I applied for a license. |
|
Looks great! Status is now MOI.TIME_LIMIT when the optimizer times out and a feasible solution has been found, and the upper bound is reported correctly. After including the updates from #93, the correct lower bound is reported as well. Thanks very much for these! |
| for i = 1:min(length(rhs), length(model.cached_solution.linear_primal)) | ||
| x = model.cached_solution.linear_primal[i] | ||
| model.cached_solution.linear_primal[i] = rhs[i] - x | ||
| end |
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.
this is not 100%, when the original version fails we might be getting bad results.
I will open an issue.
I have a candidate fix.
Closes #91
@joaquim, I only have the community edition, so I could trigger this bug for further investigation. Do you have time to take a look? I've done something which I think fixes the issue, but I don't know the underlying cause.
cc @zolanaj