Closed jalving closed 10 months ago
Attention: 15 lines
in your changes are missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Files | Coverage Δ | |
---|---|---|
src/Plasmo.jl | 100.00% <ø> (ø) |
|
src/optimizer_interface.jl | 87.50% <0.00%> (-0.82%) |
:arrow_down: |
src/optigraph.jl | 76.67% <40.00%> (ø) |
|
src/moi_backend_graph.jl | 88.69% <0.00%> (-8.45%) |
:arrow_down: |
:loudspeaker: Thoughts on this report? Let us know!.
This PR provides a workaround for issue #87. Sometimes modifying an optigraph fails after a solve if the attached optimizer does not support an incremental update. If needed, a user can call
reset_optimizer(graph
to reset the optimizer before making changes. Eventually, we should do this automatically by checking whether a modification is supported.