Skip to main content
Question

Getting identifier values for identifier inside case using element in AllCases

  • April 1, 2026
  • 1 reply
  • 20 views

gdiepen
AIMMS Champ
Forum|alt.badge.img+7

I know that you can refer to the value of any identifier inside of a case if you have an index/element parameter for that case.

An example of this is used in the FlowShop problem for comparing cases:

 

I know this feature has existed for quite some time already. However, I am trying to access the value of an identifier inside of a case, but the identifier is part of a module (so it has a prefix). In the above example, suppose that I have the p_GCJobStart inside of a module with the prefix custom_prefix, in theory this should then be:

 

However, this does not work.

 

Is there any way that I can use this construct to get the value of the identifier inside the case without explicitly copying it?

1 reply

Marcel Hunting
AIMMSian
Forum|alt.badge.img+4

Hi ​@gdiepen. What do you mean by “this does not work”? It seems to work for me. I have attached a modified version of the example. The parameter that uses the prefix is p_case_GCJobStartMod. I am using AIMMS 26.1.1. Are you doing something different? If so, can you please share your project?


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

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