I would like to index by number for the code provided below, but I get the warning that numeric values can not be used for indexing. Is it possible in AIMMS to do this?

I would like to index by number for the code provided below, but I get the warning that numeric values can not be used for indexing. Is it possible in AIMMS to do this?
Best answer by gdiepen
If you make the set that the index belongs to a subset of Integers, you will not have to use the single quotes around it.
If you don’t do that, you will have to refer to the element by enclosing it in single quotes
Already have an account? Login
Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.