The message should just be a NOTE and not an ERROR. It means that you have declared index_1 as a parameter and then later used it as a dummy index. The following code yields the same behavior:
proc optmodel;
num i; put ({i in 1..3});
quit;
To avoid the note, either omit the declaration or use a different dummy index.
... View more