Skip to main content

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?

 

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


I figured out that the numeric values should be within quotations marks, but I do now have a similar problem. How do I index on the value of Job j that depends on value specified by the parameter ProductSKU(j).

 


Thank you for your reply @gdiepen, it is now working properly 🙂.

 

 


Reply


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

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