Defining a matrix as a decision variable in ODME

Hi,

I want to define rows of a matrix in the ADM table in DOC3.8. For example, I want to create a table:

Tag, col1, col2,col3,…,coln 

T1, d11, d12, …, d1n

T2, d21, d22, …,d2n
.

.

Tm, dm1, dm2, …, dmn

where, d11 through dmn are decision variables and both ‘m’ and ‘n’ are dynamic (they change based on the problem). How can I create an ADM table for this type of data? I can solve this by just running the OPL script, but I want to create an ODME app. 

 

Thanks,

Anand  

Source: Defining a matrix as a decision variable in ODME