# Mosek doesnt add its generated cuts

**URL:** https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457
**Category:** Optimization (Mathematical)
**Tags:** jump, mosek
**Created:** [November 2, 2020, 12:39pm UTC](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457 "2020-11-02T12:39:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hassanis](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@hassanis](https://discourse.julialang.org/u/hassanis)
#### Post date: [November 2, 2020, 12:39pm UTC](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457/1 "2020-11-02T12:39:09Z")

</div>

Hello,  
I’m working on a problem using Mosektools & JUMP. It seems that after running it heuristics and cut generation at the root node, it fails to add them to the problem. As you can see in the output below, the relaxation objective isn’t modified based on the lower bound found at the root node:

```julia
BRANCHES RELAXS ACT_NDS DEPTH BEST_INT_OBJ BEST_RELAX_OBJ REL_GAP(%) TIME  
0 1 1 0 NA 5.8931608812e-07 NA 0.0   
0 1 1 0 1.2255160232e-06 5.8931608812e-07 51.91 0.1   
0 1 1 0 6.5593301415e-07 5.8931608812e-07 10.16 0.1   
Cut generation started.
0 1 1 0 6.5593301415e-07 5.9350413814e-07 9.52 0.2   
Cut generation terminated. Time = 0.00
10 14 11 3 6.5593301415e-07 5.3101616733e-07 19.04 0.4   
24 28 23 6 6.5593301415e-07 5.3101616733e-07 19.04 0.5

```

As you can see, at the root node the lower bound is improved to a relative gap of 9.52%, but the jumps back up to 19.04%. Any idea why this might be happening and how to fix it?

---

<div class="post-metadata">

### Author: ![miles.lubin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miles.lubin/32/279_2.png) [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)
#### Post date: [November 2, 2020, 1:29pm UTC](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457/2 "2020-11-02T13:29:50Z")

</div>

Please cross-link when posting duplicate questions: [https://github.com/jump-dev/MosekTools.jl/issues/60](https://github.com/jump-dev/MosekTools.jl/issues/60). Since this is a question about Mosek’s own algorithms, you’re more likely to get to the bottom of it by contacting Mosek support directly.
