# Debugging in JuMP

**URL:** https://discourse.julialang.org/t/debugging-in-jump/88457
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [October 8, 2022, 5:57pm UTC](https://discourse.julialang.org/t/debugging-in-jump/88457 "2022-10-08T17:57:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![samerb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samerb/32/9242_2.png) [@samerb](https://discourse.julialang.org/u/samerb)
#### Post date: [October 8, 2022, 5:57pm UTC](https://discourse.julialang.org/t/debugging-in-jump/88457/1 "2022-10-08T17:57:07Z")

</div>

(Soft Question):

If I try to solve a problem in JuMP, and I get an error or a solution that doesn’t make sense, it usually means I incorrectly coded or misspecified the problem I was trying to solve. I can try to proofread my code or check my math, but sometimes this is hard. I would like to be able to get some feedback from JuMP about what is going wrong.

In general, is there a way I can see (in various levels of detail) the steps of the algorithm its doing on my problem, with actual numbers? That may give me a sense of what the problem is.

The regular output (see below) does show me some info for each iteration such as objective value, but I would like to see a bit more detail such as decision variables at each iteration.

 ![Screen Shot 2022-10-08 at 12.55.22 PM](https://global.discourse-cdn.com/julialang/original/3X/d/b/dbceee6d22f2c8023702949e8ccae119b20dbfb9.png)

---

<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: [October 8, 2022, 10:39pm UTC](https://discourse.julialang.org/t/debugging-in-jump/88457/2 "2022-10-08T22:39:44Z")

</div>

I recently wrote a tutorial on this sort of thing;

- [Debugging · JuMP](https://jump.dev/JuMP.jl/dev/tutorials/getting_started/debugging)

> In general, is there a way I can see (in various levels of detail) the steps of the algorithm its doing on my problem, with actual numbers?

No, because most solvers do not have this capability.

If you want specific advice, please post a reproducible example. Your screenshot just shows up as a grey screen for me. (Take a read of [Debugging · JuMP](https://jump.dev/JuMP.jl/dev/tutorials/getting_started/debugging/#Getting-help) as well.)
