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