How to implement slicing in docplex?

I'm transferring some code from OPL to docplex and I'm having troubles with the syntax for slicing. I'm attempting to create a set of constraints with a summation over all values with connection to another decision variable. I've tried both add_constraints and add_constraint (inside a for loop) but I'm getting an invalid syntax error. I used this format with Google OR so I'd expected this to work.Here's my OPL code:forall(<var1,var3> in Index2) sum(<var1,var2,var3> in Index1) dev_var[var1,var2,var3] == cec_var2[&l...Read more