Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3271 +/- ##
==========================================
- Coverage 98.10% 97.59% -0.52%
==========================================
Files 34 34
Lines 4704 4733 +29
==========================================
+ Hits 4615 4619 +4
- Misses 89 114 +25
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
I dunno, this feels too niche. Couldn't the |
|
These attributes could be defined in the bridge itself. Doing it in |
Why? The start value depends on other parts of the model that may not be present at the time of the caller. That's exactly why we added
It seems weird to have a JuMP function for a very specific part of MOI ( |
Because you will have starting values set to the solver even if you didn't set any
We wouldn't have a JuMP function just for this. |
|
If jump-dev/MathOptInterface.jl#2194 is merged, this PR would become MOI.set(model, MOI.Bridges.Objective.SlackBridgePrimalDualStart(), true) |
|
Closing for now. Once the MOI PR is merged we can look at this again. The issue will stay open. |
Proof of concept solution for #3270 copy-pasted from
src/copy_dual.jlof jump-dev/DiffOpt.jl#231Most of it should be in MOI which is why it's more of a POC PR.
The example of #3270 works after this PR: