I need the Syntax to create a sum in a Gurobi-constraint in c++:
EXAMPLE: I have the variables: x[i][j]
and the constraint: sum over all i's from x[i][j] <= 1 for all j's
in Gurobi Python it is: for i in [list of i's]: model.addConstr(x[i,j] <= 0 for j in [list of j's])
How is the Syntax for this in c++?
Thanks in advance! Best regards, David Franck