title: Syntax error for my constraints using CVXPY
body: <p>I am trying to formulate my constraints, but I keep getting a syntax error. I want all the values in the first row of QH_it to equal all except the first value in the first row of IH_it.</p>
  <pre><code>N = 8
  T = 40
   
  QH_it = Variable((N,T))
  IH_it = Variable((N,T))
   
  C1 = [QH_it[0,1:] == IH_it[0,1:]]
  </code></pre>
  <p>Traceback error:</p>
  <pre><code>    C1 = [QH_it[0,1:] == IH_it[0,1:]]
  ^
  SyntaxError: invalid syntax
  </code></pre>