# Solving a quadratic program inside a JuMP model solve

**URL:** <https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [May 3, 2018, 8:31pm UTC](https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690 "2018-05-03T20:31:32Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [June 13, 2018, 1:12am UTC](https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690/14 "2018-06-13T01:12:48Z")

</div>

> the results are very similar

Does Gurobi prove infeasibility or does it crash with numeric error?

Provided that there is a feasible solution, you are likely hitting numerical error. This comment is relevant:

> [@Ipopt infeasibility on travis-ci](https://discourse.julialang.org/t/ipopt-infeasibility-on-travis-ci/11612/2):
>
> This could be for any number of reasons. I don’t have any good way of troubleshooting this. You may want to try providing a starting solution using the start keyword in @variable. (See the docs [Nonlinear Modeling — JuMP -- Julia for Mathematical Optimization 0.18 documentation](http://www.juliaopt.org/JuMP.jl/0.18/nlp.html)) I would also try changing the tolerances in Ipopt. If you have any random inputs make sure you set the same seed. Your problem might also be poorly scaled. It looks like your objective value is on the order of…

---

_[View the full topic](https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690)._
