### Table as index

Posted:

**Tue Jan 09, 2018 8:45 pm**Hello,

I have the following formulation:

In the second summation, tj,i is a table containing for example the following values

(j=1,2, and i=1,2,3)

alias(i,k)

Table t(j,i)

1 2 3

1 1.000 3.000 2.000

2 1.000 1.000 1.000

I face the two following problems:

1. How to introduce a table and treat it as a set in the summation?

2. In the summation, for certain values, i index goes out of bounds.

More specifically I have the following:

since the first elemnt of the table is t(j=1,i=1)=1.

Could you please help me?

I have the following formulation:

In the second summation, tj,i is a table containing for example the following values

(j=1,2, and i=1,2,3)

alias(i,k)

Table t(j,i)

1 2 3

1 1.000 3.000 2.000

2 1.000 1.000 1.000

I face the two following problems:

1. How to introduce a table and treat it as a set in the summation?

2. In the summation, for certain values, i index goes out of bounds.

More specifically I have the following:

since the first elemnt of the table is t(j=1,i=1)=1.

Could you please help me?