-
Notifications
You must be signed in to change notification settings - Fork 224
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 Interface, Incorrect Status Returned #1068
Comments
Thanks for reporting it! |
We are assuming that Lines 337 to 338 in 1a649e8
Is this an incorrect assumption or should converged be false here ?
|
I am surely not on expert in Optim but based on my brief experience using it, I suspect this function should look something like,
|
Is it possible to give a reproducer here? Then it'd be a bit easier to look into. |
It's not a steam lined example but this code can be used to reproduce,
|
There seems to be an issue when using Optim as a solver for JuMP in a constrained optimization setting.
If the algorithm terminates but does not satisfy the constraints it currently returns,
termination_status
ofLOCALLY_SOLVED
primal status
ofFEASIBLE_POINT
Per this guide, https://jump.dev/MathOptInterface.jl/stable/manual/solutions/#Local-search-solvers
In this situation it should probably return,
termination_status
ofLOCALLY_INFEASIBLE
primal status
ofINFEASIBLE_POINT
The issue can be reproduced by running this example, https://github.com/lanl-ansi/rosetta-opf/blob/main/debug/optim-jump.jl
CC @blegat
The text was updated successfully, but these errors were encountered: