# Model constraint error

**URL:** <https://discourse.julialang.org/t/model-constraint-error/42850>\
**Category:** Optimization (Mathematical)\
**Tags:** question\
**Created:** [July 10, 2020, 3:29pm UTC](https://discourse.julialang.org/t/model-constraint-error/42850 "2020-07-10T15:29:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 10, 2020, 4:45pm UTC](https://discourse.julialang.org/t/model-constraint-error/42850/3 "2020-07-10T16:45:46Z")

</div>

Please note that this is the same error as your previous post: [How to build a constraint with summation? - #12 by RaquelSantos](https://discourse.julialang.org/t/how-to-build-a-constraint-with-summation/41618/12).

You should re-read the answers to that post. In particular, you should read Julia’s documentation on arrays as [explained here](https://discourse.julialang.org/t/how-to-build-a-constraint-with-summation/41618/14).

---

_[View the full topic](https://discourse.julialang.org/t/model-constraint-error/42850)._
