Skip to main content

I created procedure with argument(2 input arguments & one output argument) say x.  i called procedure x by passing local arguments(2 inputs & 1 output) from other procedure with arguments. 

 

i am getting below error on output argument of x: The local set local set "LS_available_sections" is passed implicitly and therefore it cannot be modified.

I think that if you want to add new elements to a set that corresponds to one of the indices of an argument parameter, you will also have to provide the correspoding set as an explicit In/Out argument such that you can add new elements to that set


 

LS_available_sections is not argument parameter but it is argument set.

After changing property of argument set from output to INout also, I am facing same error


Based on just the text you provided for me it is quite difficult to see what is going on.

 

Can you select all of the identifiers that are related to the above (i.e. the procedure, the sets) in the model tree, then right-click on it and click on “Text Representation” for the selected parts and post that here.

 

Unless somebody of AIMMS has a direct idea what this could be?


I solved this problem. Thanks for your time.


Reply


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

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