I am trying to do some dataframe operation through AIMMS.
I am giving some sample example. Say, only one row is there in a dataframe. The values are TC130 and SF520. Say the parameter name is ```pMap(tdc1, tdc2)```. I would like to run a for loop on the second column value, i.e. on tdc2. Here it is SF520, I'll extract the corresponding value of SF520, which is TC130. Now I'll check in another dataframe, where quantity has been given for TC130. The parameter is ```p(tdc1)```. If TC130 belongs to that dataframe, i.e. if p(tdc1) > 0 then I'll create a parameter on tdc2, say p(tdc2) and assign value 1 to that else 0.
How to write this types of procudure in AIMMS.
In a nutshell. I have two parameters p(tdc1, tdc2):= {(tdc1, tdc2) : 1} and p(tdc1):= {tdc1: quantity}. This is simple case.