# JuMP Termination\_status category

**URL:** <https://discourse.julialang.org/t/jump-termination-status-category/81524>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [May 23, 2022, 5:08pm UTC](https://discourse.julialang.org/t/jump-termination-status-category/81524 "2022-05-23T17:08:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [May 23, 2022, 5:08pm UTC](https://discourse.julialang.org/t/jump-termination-status-category/81524/1 "2022-05-23T17:08:23Z")

</div>

[JuMP’s docs break termination status into 3 groups](https://jump.dev/JuMP.jl/stable/moi/reference/models/#MathOptInterface.TerminationStatusCode)  
Solved, Solved to relaxed tolerances, limits, and problemantic.  
Is there a way to take a termination status and get which one of these groups it is in?

I could write a function myself that did so but if there is already one, it might be clearer

---

<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 23, 2022, 5:29pm UTC](https://discourse.julialang.org/t/jump-termination-status-category/81524/2 "2022-05-23T17:29:00Z")

</div>

Nope. It’s just an enum, so you’ll need to explicitly handle the different cases.
