# Optimization error when using JuMP

**URL:** <https://discourse.julialang.org/t/optimization-error-when-using-jump/76160>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [February 10, 2022, 1:42pm UTC](https://discourse.julialang.org/t/optimization-error-when-using-jump/76160 "2022-02-10T13:42:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [February 10, 2022, 4:33pm UTC](https://discourse.julialang.org/t/optimization-error-when-using-jump/76160/5 "2022-02-10T16:33:57Z")

</div>

Yes, I think your `α` should always give a result. Ipopt may temporarily violate constraints when solving your problem, so `α` should be able to give a value for x even if x is not inside the required range. I don’t know if zero is the right answer, though. Maybe [this topic](https://discourse.julialang.org/t/jump-nonlinear-optimization-constraints-broken-to-o-1e-9/75182) will be of use?

---

_[View the full topic](https://discourse.julialang.org/t/optimization-error-when-using-jump/76160)._
