title: In CPLEX, How can I use variables in forall loop syntax?
body: <p>I wanna use variables in cplex forall syntax like as below..</p>
  
  <pre><code>forall(j in {1,2,3,4,5,6,7})
  {
    x[1][j] + x[1][(j+3)%7] + x[1][(j+4)%7] + x[1][(j+5)%7] + 
    x[1][(j+6)%7] + x[2][j] + x[2][(j+3)%7] + x[2][(j+4)%7] + 
    x[2][(j+5)%7] + x[2][(j+6)%7] &gt;= 5;
  }
  </code></pre>
  
  <p>But after I ran this script, there was a syntax eror because of (j+3)...
  How should I make a script to use this algorithm?</p>