# User MIP start did not produce a new incumbent solution

**URL:** <https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269>\
**Category:** Optimization (Mathematical)\
**Tags:** question\
**Created:** [November 30, 2021, 4:17am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269 "2021-11-30T04:17:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZHEN\_LIN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhen_lin/32/27672_2.png) [@ZHEN\_LIN](https://discourse.julialang.org/u/ZHEN_LIN)\
**Post date:** [November 30, 2021, 4:17am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/1 "2021-11-30T04:17:35Z")

</div>

I have a mixed integer optimization to be solved with Gurobi in JuMP. I am trying to give a warm start to Gurobi, but it gives me the following message

```julia
User MIP start did not produce a new incumbent solution
Processed MIP start in 1.13 seconds

```

My first question is, does this mean my solution is not accepted? And what would be the possible reasons in general?

It does not say any of my constraints are violated. Actually, I use JuMP with `LazyConstraintCallback`, but I believe my warm start is feasible, and its objective value is better than the feasible solutions found by Gurobi within a certain time limit.

Then my second question is, what could be the reason that the warm start is not used by Gurobi in this case?

Thanks for the help.

---

<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:** [November 30, 2021, 4:22am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/2 "2021-11-30T04:22:53Z")

</div>

It means your solution is not better than the incumbent found by Gurobi. There can be multiple reasons for this. It’s hard to say more without a reproducible example.

---

<div class="post-metadata">

**Author:** ![ZHEN\_LIN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhen_lin/32/27672_2.png) [@ZHEN\_LIN](https://discourse.julialang.org/u/ZHEN_LIN)\
**Post date:** [December 1, 2021, 2:02am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/3 "2021-12-01T02:02:37Z")

</div>

> [@odow](#):
>
> There can be multiple reasons for this.

Thanks! I will see if I could find out the reason.

---

<div class="post-metadata">

**Author:** ![cvanaret](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cvanaret/32/11594_2.png) [@cvanaret](https://discourse.julialang.org/u/cvanaret)\
**Post date:** [December 1, 2021, 11:32am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/4 "2021-12-01T11:32:08Z")

</div>

Try to find out if your point is feasible or not. If it’s infeasible, Gurobi is going to throw it away.

---

<div class="post-metadata">

**Author:** ![JoachimF](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@JoachimF](https://discourse.julialang.org/u/JoachimF)\
**Post date:** [December 12, 2021, 12:17am UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/5 "2021-12-12T00:17:54Z")

</div>

Hey Zhen\_Lin  
I am currently experiencing the same problem and for me the problem is that only the discrete values are given as a starting point - Gurobi then finds the continuous values itself and afterwards checks with the lazy-constraint callback. As the callback returns a cut (due to the continuous variables) the intitial solution is found to be infeasible and is discarded.  
The problem is also discussed here:

> **[User MIP start did not produce a new incumbent solution/ Another try with MIP...](https://support.gurobi.com/hc/en-us/community/posts/360073235912-User-MIP-start-did-not-produce-a-new-incumbent-solution-Another-try-with-MIP-start)**
>
> Hello all. I'm currently working on a warm start using MIP start. One problem I am having now is that I often get the following message: "User MIP start did not produce a new incumbent solution", "...

A possible work around is to set the specific violated cut as a regular constraint (if it is possible to specify this beforehand) - this works in my case.

---

<div class="post-metadata">

**Author:** ![ZHEN\_LIN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhen_lin/32/27672_2.png) [@ZHEN\_LIN](https://discourse.julialang.org/u/ZHEN_LIN)\
**Post date:** [December 14, 2021, 1:57pm UTC](https://discourse.julialang.org/t/user-mip-start-did-not-produce-a-new-incumbent-solution/72269/6 "2021-12-14T13:57:09Z")

</div>

> [@JoachimF](#):
>
> A possible work around is to set the specific violated cut as a regular constraint (if it is possible to specify this beforehand) - this works in my case.

Thank you so much! I will look into it and see if it works for me!
