# Optimizer returns status infeasible for a feasible problem

**URL:** <https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [February 11, 2021, 2:52pm UTC](https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064 "2021-02-11T14:52:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [February 11, 2021, 7:27pm UTC](https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064/3 "2021-02-11T19:27:33Z")

</div>

Please read the first post of [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). You should format your code, and provide a minimal working example. I can’t run your code because I don’t know what `lower`, `upper`, `c`, `b`, and `S` are.

I’ve seen infeasibilities like this occur because the presolve tolerance of the solver is different to the final tolerance. (So using an optimal solution in the next solve may be classified as infeasible.)

I suggest you try `@constraint(model, c * x ≥ optimum - 1e-4)` (or some other similar tolerance).

---

_[View the full topic](https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064)._
