Skip to content

Conversation

@amontoison
Copy link
Member

@amontoison amontoison commented Jan 26, 2025

I spent an eternity the last few days to recompile N times MathOptInterface...
We just need the C interface of Ipopt.jl in this package.

We should probably do the same thing with KNITRO.jl.

@amontoison amontoison requested a review from tmigot January 26, 2025 05:35
@amontoison
Copy link
Member Author

cc @frapac @sshin23

@dpo
Copy link
Member

dpo commented Jan 26, 2025

You’re right but I’m a bit worried about maintenance of the C interface. It shouldn’t become out of sync with the one in Ipopt.jl.

@amontoison
Copy link
Member Author

amontoison commented Jan 26, 2025

I agree that it could be an issue but I checked the number of commit related to modifications of C_wrapper.jl in Ipopt.jl and it's one per year:
https://github.com/jump-dev/Ipopt.jl/commits/master/src/C_wrapper.jl

I initially wanted to do a package extension for MOI in Ipopt.jl but they also use PrecompileTools.jl. I don't know how we can support it in an extension.

@amontoison
Copy link
Member Author

@dpo @tmigot
I discussed with Oscar and now MOI is an extension for Ipopt.jl (and also KNITRO.jl):

We only have the C wrappers in the future release of Ipopt.jl / KNITRO.jl.

@amontoison
Copy link
Member Author

cc @frapac @sshin23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants