-
Notifications
You must be signed in to change notification settings - Fork 289
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
The final g is all 0 #814
Comments
Doesn't happen for me. What does "solution failed" mean? How did it fail, which status code, etc? Is the final solution indeed not feasible? Do the constraints in the final iterate, if any, have values different from zero? .... |
I'm so sorry for replying so late. The status code is Ipopt::Maximum_CpuTime_Exceeded. The final solution is not feasible. In fact, the first point violates the constraint. |
Doesn't happen for me. If I run test hs071_cpp with
The printed values of g are not all zero. Ipopt/examples/hs071_cpp/hs071_nlp.cpp Lines 330 to 373 in f7d4d41
|
Hello, I want to know which constraint was violated when the solution failed. So I obtained g from the interface finalize_solution(). But I found that the values of g are all 0. May I ask why this is happening, and is there any way to avoid this situation?
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: