# Julia JuMP | Continue even when an infeasible solution is found

**URL:** <https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424>\
**Category:** Optimization (Mathematical)\
**Tags:** question, jump\
**Created:** [July 18, 2022, 8:20pm UTC](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424 "2022-07-18T20:20:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hexjulia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexjulia/32/37204_2.png) [@hexjulia](https://discourse.julialang.org/u/hexjulia)\
**Post date:** [July 18, 2022, 8:20pm UTC](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424/1 "2022-07-18T20:20:36Z")

</div>

Hello!

I’m wondering if there’s any way for JuMP (specifically Clp) to continue even when an infeasible solution is found during an SDDP system optimization.

Frequently running into problems where a primal solution is infeasible (yes this is an inherent issue with the model, and will be fixed eventually) however would like the solver to continue to run even when such an infeasibility is found, as is possible with AMPL.

Any direction would be greatly appreciated!

---

<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:** [July 18, 2022, 10:21pm UTC](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424/2 "2022-07-18T22:21:52Z")

</div>

> to continue even when an infeasible solution is found during an SDDP system optimization.

No. A fundamental assumption is that your system has relatively complete recourse and that it can never end up in an infeasible state.

> Frequently running into problems where a primal solution is infeasible

This might be due to your model, but I find that Clp is unreliable and also reports feasible problems as infeasible after a number of iterations. Use Gurobi instead.

Read: [https://odow.github.io/SDDP.jl/stable/tutorial/basic/06\_warnings/](https://odow.github.io/SDDP.jl/stable/tutorial/basic/06_warnings/)

---

<div class="post-metadata">

**Author:** ![hexjulia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexjulia/32/37204_2.png) [@hexjulia](https://discourse.julialang.org/u/hexjulia)\
**Post date:** [July 18, 2022, 10:32pm UTC](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424/3 "2022-07-18T22:32:31Z")

</div>

Thank you odow. Will look into Gurobi. We know our model’s feasibility space is convex so it’s likely an implementation / Clp issue.
