Dear all
I have two variables: X and Y with index domain t.
I want to write in definition of X such as
X[0] = 0.3
X[1] = X[0] + Y[1]
X[2] = X[1] + Y[2]
….
How do I write in definition part of variable X ? Please help me
Thank you so much
Best answer by mateusarakawa
I would try:
0.3 $ (Ord(t) = 1)
+
x(t-1) + y(t) $ (Ord(t) > 1)