-
Notifications
You must be signed in to change notification settings - Fork 58
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
Slack too small, adjusting variable bound #427
Comments
when I put max_iter=36 the output result is here:
|
You can normally ignore prints like this from the log. But they generally mean that your model has numerical issues and that you could improve the formulation. If you have a reproducible example, please post on the JuMP community forum: https://discourse.julialang.org/c/domain/opt/13 Note that your second example where you limit the number of iterations is fairly inaccurate:
If you're happy with this solution, try changing the various options like the tolerance: https://coin-or.github.io/Ipopt/OPTIONS.html#OPT_tol My guess is that your problem is somewhat ill-posed, and that it has a very small feasible region that depends on variables with small primal values. |
I'm going to close this issue because it is not a bug in Ipopt.jl, but if you have questions or comments, please post on the forum https://discourse.julialang.org/c/domain/opt/13 and we can discuss there 😄 |
Thank you, Oscar. I'll discuss it on discourse |
Hi,
I have a problem with using the linear solver in IPOPT. I am trying to solve my optimization problem, and after 36 iterations, I got a very accurate solution. However, the IPOPT algorithm doesn't stop here and shows that "In iteration 36, 1 Slack too small, adjusting variable bound" and continues to iterate. Finally, it gives a worse solution which is not desired and some times it is local infeasible. Is there any way to prevent "adjusting variable bound"?
I would be thankful if you could offer any help to solve this problem.
Here is the output report:
The text was updated successfully, but these errors were encountered: