-
Notifications
You must be signed in to change notification settings - Fork 145
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
JuMP Direct Mode #275
Comments
@odow curious about your thoughts on this? Is there any clear reason / value to adding support for this? |
I don't see a need. Obviously, no one has ever complained or requested this in the last five years... |
Previously, it wasn't super useful because Ipopt and the conic solvers didn't support direct mode. But the new nonlinear + Ipopt will. I don't think it makes much of a difference though. It might just lower memory usage. |
If memory savings are on the order of 2x, I can imagine a few uses cases. Am I correct in that to use direct mode all one needs to do is initialize the jump model with If so then the user provided |
Yes, about that. (At least for model construction. Peak usage improvement somewhat less once you take the solvers workspace into account.)
Yes, with the subtle distinction that the solver must be instantiated, as opposed to a constructor. So |
See if there is any need to consider using JuMP direct mode and/or expose this as parameter.
The text was updated successfully, but these errors were encountered: