Description
I have been working with a a model using both a ContinuousSet and Arcs, and have discovered that the order in which the transformations are applied is critical in whether the model is constructed properly.
If I apply the DAE transformation first, and then expand the Arcs, I get the behaviour I would expect, where the Arc transformation writes equality constraints at all point in the ContinuousSet. However, if I apply the Arc expansion first, the equality constraints are only written at the points in the ContunuousSet that already exist, and no additional Constraints are written during the DAE expansion. This then results in unexpected degrees of freedom.
It seems clear that the DAE transformation is not interacting fully with the expanded Arcs for some reason, and I think this either needs to be fixed, or something done to make it clear that this will not work (an Exception or warning message?). Ultimately, I don't see a reason why these two should be order dependent, so I would express a preference for getting the trasnformations to work together properly.