-
Notifications
You must be signed in to change notification settings - Fork 27
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
Return :UserLimit when status is "Solved/Inaccurate" #18
Comments
I'm not sure what cases |
I can also just change the Solved/Inaccurate int returned to some other value, if that helps. |
@bodono, is there currently a way to determine the |
Currently SCS only terminates when it's solved the problem (solved, infeasible etc.) or it hits the iteration limit (or the user has interrupted with ctrl-c), so Solved/Inaccurate is always UserLimit for now. |
Okay, so yes, it would help if |
Ok, I've added it to the v1.1.0 branch: /* SCS returns one of the following integers: / |
I guess this can be closed since MOI maps the termination statuses of SCS to its internal representation |
Ref:jump-dev/Convex.jl#64 (comment)
It seems like scs return the same status value of 1 if the problem is
Solved
orSolved/Inaccurate
. Nevertheless, it also returns a string which saysSolved
orSolved/Inaccurate
. We should use this string to determine if the problem is not fully solved, in which case we should return:UserLimit
.The text was updated successfully, but these errors were encountered: