-
Notifications
You must be signed in to change notification settings - Fork 81
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
Check feasibility of solutions in PrimalStatus and DualStatus #548
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #548 +/- ##
==========================================
+ Coverage 80.36% 80.48% +0.11%
==========================================
Files 6 6
Lines 2908 2936 +28
==========================================
+ Hits 2337 2363 +26
- Misses 571 573 +2 ☔ View full report in Codecov by Sentry. |
The other option is to just return |
Always returning |
Support confirm there is nothing in the API for this, so I guess we're stuck with a magic constant. |
Why compare with a hard-coded constant instead of the tolerance parameters set by the user? |
I mean, we could. But then we'd need to loop through all tolerances and all violations and account for any nasty differences between algorithms etc (without being able to know what they are). It'd turn into the function I want in the C API that you're running up the flagpole... |
Sure, this is more to point out that the default tolerances are 10^-6, so you can expect a lot of false conclusions with a hard coded 10^-8. But now I see @blegat's suggestion above for a jump-side parameter. |
Yeah we wouldn't actually hard-code. And |
Okay, how's this. I assumed that is sufficient to check only |
Closes #546
This is one option, but I don't really like it, because it relies on magic constants. Is there a way for Gurobi to tell us whether the problem is feasible according to any parameters the user has set?