# Silence mosek solver in JuMP

**URL:** https://discourse.julialang.org/t/silence-mosek-solver-in-jump/41708
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [June 19, 2020, 3:25am UTC](https://discourse.julialang.org/t/silence-mosek-solver-in-jump/41708 "2020-06-19T03:25:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stephentu](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@stephentu](https://discourse.julialang.org/u/stephentu)
#### Post date: [June 19, 2020, 3:25am UTC](https://discourse.julialang.org/t/silence-mosek-solver-in-jump/41708/1 "2020-06-19T03:25:31Z")

</div>

How do you disable the output from mosek when solving JuMP problems? I tried the following:

1. `model = Model(with_optimizer(Mosek.Optimizer, QUIET=false))`
2. `model = Model(optimizer_with_attributes(Mosek.Optimizer, MOI.Silent() => true))`
3. `set_silent(model)`

Unfortunately, none of these options worked for me. Thanks

---

<div class="post-metadata">

### Author: ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)
#### Post date: [June 19, 2020, 8:12am UTC](https://discourse.julialang.org/t/silence-mosek-solver-in-jump/41708/2 "2020-06-19T08:12:49Z")

</div>

These should all work and be equivalent. By the way, the first one should now be `model = Model(optimizer_with_attributes(Mosek.Optimizer, "QUIET" => false))`.  
Please provide a minimal example, the versions of JuMP, MathOptInterface, MosekTools and Mosek you used and the output you get.  
**EDIT** as mentioned in the comment below, the first one should set `true`, not `false`

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [June 19, 2020, 10:25am UTC](https://discourse.julialang.org/t/silence-mosek-solver-in-jump/41708/3 "2020-06-19T10:25:50Z")

</div>

> [@stephentu](#):
>
> QUIET=false

`QUIET=true`, right?
