-
-
Notifications
You must be signed in to change notification settings - Fork 91
Can OptimizationMOI use the common maxiters
interface?
#844
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
Comments
The issue is that specific solvers need differently named arguments for this so there isn't an obvious mapping |
I see... |
|
I realized that the issue here is that the OptimizationMOI wrapper uses the objective function for the callbacks. In the case of Ipopt at least, we need to use https://github.com/jump-dev/Ipopt.jl?tab=readme-ov-file#solver-specific-callbacks since we would want to get the callback called after a step is accepted and not on every internal iteration. I tried this and it does indeed match with what |
|
Question❓
I was wondering if there's something that prevents OptimizationMOI from using the globally passed
maxiters
. Currently (Optimization v4.0.3, OptimizationMOI v0.5.0), when I pass that, I getThe text was updated successfully, but these errors were encountered: