# Gurobi compute IIS in Julia

**URL:** <https://discourse.julialang.org/t/gurobi-compute-iis-in-julia/129391>\
**Category:** Optimization (Mathematical)\
**Tags:** gurobi\
**Created:** [May 27, 2025, 7:21pm UTC](https://discourse.julialang.org/t/gurobi-compute-iis-in-julia/129391 "2025-05-27T19:21:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cby](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@cby](https://discourse.julialang.org/u/cby)\
**Post date:** [May 27, 2025, 7:21pm UTC](https://discourse.julialang.org/t/gurobi-compute-iis-in-julia/129391/1 "2025-05-27T19:21:44Z")

</div>

What is the equivalent of the following in Julia?

[https://support.gurobi.com/hc/en-us/articles/15656630439441-How-do-I-use-compute-IIS-to-find-a-subset-of-constraints-that-are-causing-model-infeasibility](https://support.gurobi.com/hc/en-us/articles/15656630439441-How-do-I-use-compute-IIS-to-find-a-subset-of-constraints-that-are-causing-model-infeasibility)

I understand I should be using direct\_model(), but I am having trouble finding documentation of what the equivalents are in Julia.

---

<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:** [May 27, 2025, 8:37pm UTC](https://discourse.julialang.org/t/gurobi-compute-iis-in-julia/129391/2 "2025-05-27T20:37:31Z")

</div>

See this part of the docs

> **[Solutions · JuMP](https://jump.dev/JuMP.jl/stable/manual/solutions/#Conflicts)**
>
> Documentation for JuMP.

See also

> **[Debugging · JuMP](https://jump.dev/JuMP.jl/stable/tutorials/getting_started/debugging/#Debugging-an-infeasible-model)**
>
> Documentation for JuMP.

Let me knoe if you still have questions after reading. Perhaps we need a proper tutorial about this.
