I'm wondering how I can translate this math constraint to gurobi python.
$$\forall a \in A, b \in B, x_{ab} \in \{0, 1\}$$
So far I have written:
xab = m.addVar(lb=0, ub=1, vtype=GRB.BINARY, name="xab")
But I'm not sure what to add for the constraints section...
m.addConstr(?? for a in A for b in B, "c0")
Is it really as simple as replacing ?? with xab
?