Using same identifier twice in variable.
Posted: Fri Jul 13, 2018 6:49 am
Hi. I'd like to implement model look like this.
Set
i
Variables
a(i)
b(i)
mult(i,i)
and mult(i1,i2) = a(i1) * a(i2) where i1, i2 are different or same elements of i.
How can i express this equation in GAMS?
Set
i
Variables
a(i)
b(i)
mult(i,i)
and mult(i1,i2) = a(i1) * a(i2) where i1, i2 are different or same elements of i.
How can i express this equation in GAMS?