title: How to have conditions for constraints?
body: <p>How can I code a constraint like this in JUMP?</p>
  <p>Suppose <code>i,j,k,m</code> are indices and capital letters associated with them are set, like <code>J</code>.</p>
  <pre><code>x_{i,j,k,m'} + sum((j in J, k in K), y_{j,k,m})&lt;= z_{i,m} for all i in I and for all m and m' in M  ; m !=m'
  </code></pre>
  <p>just like the photo</p>
  <p><a href="https://i.stack.imgur.com/WMz9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WMz9S.png" alt="enter image description here" /></a></p>