Question: How to assign a sequence number once

Hi, How can I  to assign a sequence number once. For example,

I want to ‘a0,a1,......an is assigned to variables x0 , x1,......, xn,’

I used command line as following :

seq(x[i], i = 1 .. 5) := [1, 2, 3, 4, 5],error as follows,‘Error, invalid left hand side in assignment’
Any  suggestion?

 

Please Wait...