Conversation
| elseif MOI.get(optimizer, MOI.TerminationStatus()) == MOI.LOCALLY_SOLVED | ||
| return MOI.FEASIBLE_POINT | ||
| else | ||
| # TODO |
There was a problem hiding this comment.
You have a better understanding of what's the status of the primal given the optimizer.stats, ...
See here fore the list
There was a problem hiding this comment.
Well, there is no really other status than :first_order that ensures that you have a ''feasible'' point. That might also be interesting information to add.
You can have access to stats.primal_feas which is the norm if primal feasibility if that helps.
If nothing can be added let's keep it for later.
| end | ||
|
|
||
| function MOI.get(::Optimizer, ::MOI.DualStatus) | ||
| # TODO |
There was a problem hiding this comment.
Similar to PrimalStatus but for the dual variables. So if there is no dual available, just return NO_SOLUTION. If you have one and you know it's feasible, return FEASIBLE_POINT, ...
There was a problem hiding this comment.
Same as above. Just a complementary question, what do you mean by dual feasibility when you have bounds and inequalities ? I am asking as there could be more than one answer hère I think.
Co-authored-by: tmigot <tangi.migot@gmail.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #157 +/- ##
==========================================
- Coverage 92.88% 83.17% -9.71%
==========================================
Files 4 5 +1
Lines 548 630 +82
==========================================
+ Hits 509 524 +15
- Misses 39 106 +67
☔ View full report in Codecov by Sentry. |
| elseif MOI.get(optimizer, MOI.TerminationStatus()) == MOI.LOCALLY_SOLVED | ||
| return MOI.FEASIBLE_POINT | ||
| else | ||
| # TODO |
There was a problem hiding this comment.
Well, there is no really other status than :first_order that ensures that you have a ''feasible'' point. That might also be interesting information to add.
You can have access to stats.primal_feas which is the norm if primal feasibility if that helps.
If nothing can be added let's keep it for later.
| end | ||
|
|
||
| function MOI.get(::Optimizer, ::MOI.DualStatus) | ||
| # TODO |
There was a problem hiding this comment.
Same as above. Just a complementary question, what do you mean by dual feasibility when you have bounds and inequalities ? I am asking as there could be more than one answer hère I think.
Co-authored-by: tmigot <tangi.migot@gmail.com>
Co-authored-by: tmigot <tangi.migot@gmail.com>
Co-authored-by: tmigot <tangi.migot@gmail.com>
Closes #152