# Number of constraints

**URL:** https://discourse.julialang.org/t/number-of-constraints/36798
**Category:** Optimization (Mathematical)
**Created:** [March 31, 2020, 2:43pm UTC](https://discourse.julialang.org/t/number-of-constraints/36798 "2020-03-31T14:43:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)
#### Post date: [March 31, 2020, 2:43pm UTC](https://discourse.julialang.org/t/number-of-constraints/36798/1 "2020-03-31T14:43:56Z")

</div>

Dear all,  
The command num\_constraints() can determine the number of equality constraints in a given model?  
How can I find this?

---

<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: [March 31, 2020, 7:59pm UTC](https://discourse.julialang.org/t/number-of-constraints/36798/2 "2020-03-31T19:59:57Z")

</div>

See [Constraints · JuMP](https://www.juliaopt.org/JuMP.jl/stable/constraints/#Accessing-constraints-from-a-model-1)
