-
Notifications
You must be signed in to change notification settings - Fork 16
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
MOI interface moved to ext #268
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #268 +/- ##
==========================================
- Coverage 70.25% 69.89% -0.36%
==========================================
Files 42 40 -2
Lines 4626 3897 -729
==========================================
- Hits 3250 2724 -526
+ Misses 1376 1173 -203 ☔ View full report in Codecov by Sentry. |
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.
Looks good to merge!
src/MadNLP.jl
Outdated
@@ -32,6 +26,6 @@ include(joinpath("KKT", "KKTsystem.jl")) | |||
include(joinpath("LinearSolvers","linearsolvers.jl")) | |||
include("options.jl") | |||
include(joinpath("IPM", "IPM.jl")) | |||
include(joinpath("Interfaces","interfaces.jl")) | |||
include("ext.jl") |
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.
I would maybe rename ext.jl
as interface.jl
or external_interface.jl
. What do you think?
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.
renamed it as extension_templates.jl
This PR makes MOI a weak dependency and conditionally loaded upon
import MathOptInterface
.This significantly reduces the initial loading time of MadNLP.
Before
After