Skip to main content
Solved

Declaring identifiers

  • January 13, 2021
  • 2 replies
  • 71 views

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 Anonymous

‘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.

2 replies

  • 0 replies
  • Answer
  • January 13, 2021

‘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.


  • Author
  • Newcomer
  • 1 reply
  • January 13, 2021

Thank you so much for your help.



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

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