title: Constraints in DocCplex on Python don't work
body: <p>I'm trying to solve an optimization problem, but when I insert this constraint it doesn't work:
  '''</p>
  <pre><code>mdl.add_constraints(isinstance(w[i]/5, int) == True for i in range(0,5))
  </code></pre>
  <p>'''
  where w is defined as follow :
  '''</p>
  <pre><code>w = mdl.integer_var_list(5,5,30, 'W')
  </code></pre>
  <p>'''
  Python generates this error :</p>
  <blockquote>
  <p>Expecting sequence of constraints, got: False at position 0</p>
  </blockquote>
  <p>I tried also to insert the constraint differently :</p>
  <pre><code>mdl.add_constraints(w[i]%5 == 0 for i in range(0,5))
  </code></pre>
  <p>But I get this error :</p>
  <blockquote>
  <p>unsupported operand type(s) for %: 'Var' and 'int'</p>
  </blockquote>
  <p>Thanks for help :)</p>