If the set is an empty set, or if the set is 0, the constraint still runs
If D1 and ip are an empty set or {0}, does the following constraint still apply?
Or how to set D1 and IP, the following constraints do not work, ignore
![]()
If the set is an empty set, or if the set is 0, the constraint still runs
If D1 and ip are an empty set or {0}, does the following constraint still apply?
Or how to set D1 and IP, the following constraints do not work, ignore
![]()
If {i in D1, j in IP} is an empty set, then no constraints are generated. Thus if D1 is an empty set, then no constraints are generated; or if IP is an empty set, then no constraints are generated.
{0} is a set that contains the number 0, so it is not an empty set. If D1 is {0} and also IP is {0}, then the one constraint ((xr[0,0]+100)^2 + (yr[0,0]+100)^2) / 8014.224 >= 1 is generated.