Closed ozgurakgun closed 7 years ago
Original comment by Özgür Akgün (Bitbucket: ozgurakgun, GitHub: ozgurakgun):
toSet, with a matrix comprehension inside is not "officially" supported.
the fact that it works in one case is what is surprising!
why not use the following:
such that dependent = toSet([n | n : num_nodes])
or even get rid of dependent, since it is not a decision variable at all? as in, it's value is statically known?
I will have a look to see if there is another bug hiding in there though, so leaving the issue open for now.
Originally reported by: Bilal Hussain (Bitbucket: Bilalh, GitHub: Bilalh)
This spec causes an error using conjure solve at SR
whereas this does not
This is also interesting because when I tried to reduce it, it said there were no error in it since it had already inline the lettings.