% Each robot is in a team with the skills to run it
constraint forall(z in ZONE, R(r) in x[z,..])
(exists(P(p) in x[z,..])(r in skills[p]));
enum base = {a,b,c};
enum ext = X(base) ++ Y(base);
constraint exists(X(i) in ext, Y(j) in ext)(i=j);
and results in the error “Illegal expression in generator call”. Rewriting toconstraint exists(i,j in base, x in ext where x = X(i), y in ext where y = Y(j))(i=j);all is well. Is the form described in the paper supported in the current MiniZinc implementation?Thanks,Paul
--
You received this message because you are subscribed to the Google Groups "MiniZinc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minizinc+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minizinc/2c67248a-739f-475c-b9cf-49ef159f7ce8n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minizinc/b74a1f8c-d354-4863-89c6-626e94dd6a37n%40googlegroups.com.