# Results NLP problem

**URL:** <https://discourse.julialang.org/t/results-nlp-problem/71673>\
**Category:** Optimization (Mathematical)\
**Tags:** question, jump, nonlinear\
**Created:** [November 17, 2021, 4:48pm UTC](https://discourse.julialang.org/t/results-nlp-problem/71673 "2021-11-17T16:48:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![blob](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@blob](https://discourse.julialang.org/u/blob)\
**Post date:** [November 17, 2021, 5:49pm UTC](https://discourse.julialang.org/t/results-nlp-problem/71673/2 "2021-11-17T17:49:58Z")

</div>

From Ipopt’s perspective these two numbers `180` and `180.0000018` are identical. You can check:  
`isapprox(180,180.0000018;atol=1e-5)`  
gives `true`, but  
`isapprox(180,180.0000018;atol=1e-6) `  
gives `false`.  
You can probably play around with tolerances in Ipopt using `set_optimizer_attribute` ([Models · JuMP](https://jump.dev/JuMP.jl/stable/reference/models/#JuMP.set_optimizer_attribute)) - most of the options (all of them) available for ipopt should be accessible from JuMP ([Ipopt: Ipopt Options](https://coin-or.github.io/Ipopt/OPTIONS.html)), but Ipopt doesn’t support integer variables, so you may always end up with x.00000000xx

---

_[View the full topic](https://discourse.julialang.org/t/results-nlp-problem/71673)._
