Skip to content
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

Issue with non-negative variable tolerance. #362

Closed
mariaepinheiro opened this issue May 25, 2023 · 2 comments
Closed

Issue with non-negative variable tolerance. #362

mariaepinheiro opened this issue May 25, 2023 · 2 comments

Comments

@mariaepinheiro
Copy link

mariaepinheiro commented May 25, 2023

I am using IPOPT to solve an optimization problem.

One of my variables must satisfy 0 \leq x \leq 1. But the problem gives a solution of -1e-7, which cannot happen, Is it possible to put some command so that the tolerance of the feasible point is smaller (1e-9 for example)?

@blegat blegat transferred this issue from jump-dev/MathOptInterface.jl May 25, 2023
@blegat
Copy link
Member

blegat commented May 25, 2023

You can find the list of attributes here:
https://coin-or.github.io/Ipopt/OPTIONS.html#OPTIONS_REF
and you can set them with set_attributes as explained here:
https://github.com/jump-dev/Ipopt.jl#use-with-jump

@odow
Copy link
Member

odow commented May 28, 2023

Closing because this is not a bug in Ipopt.

If you have any questions related to Ipopt and tolerances, please post on the community forum, https://discourse.julialang.org/c/domain/opt/13, and we can discuss further.

@odow odow closed this as completed May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants