Declaring identifiers

  • 13 January 2021
  • 2 replies

I am getiing an error :

The undeclared "1" is not an index.


I am on the declaring identifiers portion of the course building my 1st AIMMS app.


Best answer by Gertjan 13 January 2021, 16:59

View original

2 replies

Thank you so much for your help.

Userlevel 6
Badge +6

‘1’ is a numerical value, and can not be an index. An index is typically a letter. For example a set called Customers has an index ‘c’ after which you can create a parameter Demand over the index ‘c’: Demand(c).


Hope this helps.


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator