Hi,
I’m using the @variables macro of the ModelingToolkit module:
(edit) n = 2
vars = @variables x y z[1:n]
which produces (x, y, Operation[z₁, z₂]).
I’m now using this tuple as parameter in the constructor of Contractor (IntervalConstraintProgramming.jl) that expects a tuple of Operations.
How can I flatten (x, y, Operation[z₁, z₂]) to (x, y, z₁, z₂)?
I’ve tried vcat, reduce(vcat), collect(flatten), without success.
Thanks,
Charlie